Computing.Net > Forums > Linux > how to make my linux as sendmail se

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how to make my linux as sendmail se

Reply to Message Icon

Name: beboldpls
Date: April 12, 2004 at 00:11:33 Pacific
OS: redhat linux8.0
CPU/Ram: 256mb
Comment:

hi friends,
i have a small network with 50 clients having win98, win2000 prof, linux operating systems.
all are managing with my linux server. now i wan tto configure my server as sendmail server within lan.

im not yet have any idea how to do it.. i read docs but still ididnt get clear idea on the setup..

i have only one system for this.is it enough.
what the things i have to do for this.


pls give me some suggestions..

thnx in advance

regards,
kishore



Sponsored Link
Ads by Google

Response Number 1
Name: Wolfbone
Date: April 12, 2004 at 06:02:26 Pacific
Reply:

It all depends how you want your network configured but if you are having trouble with the sendmail docs already, it will only get worse! Sendmail is not ideal for novice administrators. You'll most likely only need one MTA and maybe a pop3/imap server and I'd suggest looking at the alternative MTAs such as qmail,exim and postfix.

Have a look at some of these:

http://www.tldp.org/HOWTO/HOWTO-INDEX/apps.html#SERVERMAIL


0

Response Number 2
Name: beboldpls
Date: April 13, 2004 at 05:43:35 Pacific
Reply:

hi friends,

tnx for ur reply,
can u explain basic steps n which files have to configure to make my linux server to work as a mail server in my lan...

pls help me

regards,

kishore


0

Response Number 3
Name: Wolfbone
Date: April 13, 2004 at 09:22:38 Pacific
Reply:

If you've install the servers; inetd (or xinetd), imap and sendmail, presumably on a machine called something like generic.kishore.com on 192.168.0.1, and perhaps an internet facing interface, you will likely find that no configuration other than creating user accounts is necessary to get things going.

IIRC, by default sendmail will be listening on port 25 on all interfaces and will handle mail transfers locally for anybody@kishore.com provided they have a user account, and inetd/xinetd will automatically start up the imap/pop server for any client connecting to port 143/110 who wants to collect his/her mail. You can easily test the setup with a dummy account and it can't hurt to try it out.

However, it is a much better idea to read up on the more modern, more secure and more convenient (in the long run) alternatives.


0

Response Number 4
Name: Wolfbone
Date: April 13, 2004 at 09:45:46 Pacific
Reply:

Ooops! I meant anybody@generic.kishore.com - it may attempt to transfer anything coming in for someuser@someothernode.kishore.com which is not a good idea but it won't matter initially, provided your internal clients are set up properly and you can change sendmail's behaviour to stop it from doing that later - it's probably best to run webmin and the sendmail webmin module to configure sendmail properly, I really can't remember what sendmail's default configuration is.


0

Response Number 5
Name: beboldpls
Date: April 14, 2004 at 08:27:21 Pacific
Reply:

hi freinds,

thnk u very much for ur kind replies.
im using 2 network cards, one with live n one with local ip. now i changed the option in sendmail.cf
daemonportoption=port=smtp addr = 192.168.0.2(my local ip);

when i check with the command
netstat -nl

its lisitening on port 137 ie udp
i thnk it should be 25 tcp

i gave my domain name in /etc/mail/local-hosts-names

again when i start sendmail service its giving msg like

arting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 95: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 571: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
[FAILED]
Starting sm-client: [ OK ]
eventhough if i removed domain name in /etc/mail/local-host-names giving the same msg..


so what shuld be wrong with my config

pls help me.

regards
kishore


0

Related Posts

See More



Response Number 6
Name: Wolfbone
Date: April 14, 2004 at 13:37:44 Pacific
Reply:

It can't have been listening on 137. Anyway, the file: /etc/mail/local-host-names should not have needed changing, it should just contain 'localhost' if anything - not 'mail.kishore.com' or whatever you put in it.

You should not have edited sendmail.cf by hand - did it not contain a warning? I don't know why you would need to change the DaemonPortOptions line anyway but I doubt you should have done it. The file sendmail.mc is for editing by hand.

When you have changed stuff in the directory /etc/mail you have to run 'make' in it. I suggest reversing the changes you've made, running make and trying again.

You should not have made any changes to the default installation unless you really needed to AND knew what you were doing. Did you try just running the default sendmail like I suggested?


0

Response Number 7
Name: beboldpls
Date: April 15, 2004 at 08:10:57 Pacific
Reply:

thnx for ur reply,

i just restored back all the changes, but still in getting the same problem.
so i installed a new copy of sendmail. i want to start the copy of this sendmail service . so how i can uninstall the previous one.
coz when ever i run /etc/init.d/sendmail restart
previous one is executing..

thank you,

regards
kishore


0

Response Number 8
Name: Wolfbone
Date: April 15, 2004 at 11:06:03 Pacific
Reply:

If you mean that the restart fails to shut down a sendmail program that's still running and you want to get rid of it, you can use 'killall -9 sendmail'.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: how to make my linux as sendmail se

how to make my system as router www.computing.net/answers/linux/how-to-make-my-system-as-router/25358.html

How to make a linux partition www.computing.net/answers/linux/how-to-make-a-linux-partition/3821.html

making linux as proxy www.computing.net/answers/linux/making-linux-as-proxy/25186.html