Friday, July 31, 2009

How can I configure a Linux mail server?

How can I configure a Linux server as an email server? Also I need to set up an emailing programme on my own premises but route it through a dedicated root server in a server warehouse. The mail should go out from port 26.

How can I configure a Linux mail server?
by default if linux is fully installed then sendmail comes by default configured on it . just make it start





and also change


Transfer


smtp 25/tcp mail # Simple Mail Transfer


smtp 25/udp mail # Simple Mail Transfer





smtp 26/tcp mail # Simple Mail Transfer


smtp 26/udp mail # Simple Mail





in /etc/services file.





then service sendmail restart


on command prompt as root login and





then execute your perl code . i am sure u wilget through.





if not then buzz me at kshounish@yahoo.com








kshounish
Reply:A full complete answer to this is several pages long and would require a knowledge of your setup that I just don't have.





Postfix is a fast, easy to configure, linux mail server that's available for most distributions. Redhat wrote a pretty good howto (in sources below).





The important directive for directing all non-local mail out of your internal server to your dedicated server is relayhost. The line would look like


relayhost = drs:26


(just replace drs with name or ip of your dedicated root server).
Reply:Sorry I can't help you myself but register with www.justlinux.com and ask on the appropriate forum, someone is bound to be able to help.

flower delivery

No comments:

Post a Comment