Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set up sendmail for my domain

Status
Not open for further replies.

coper

Technical User
Jan 4, 2002
36
US
Hello everyone,

I have managed to set up my dns, and apache and now I want want to be able to get mail at me@mydomain.com

I have sendmail installed and have a cgi-script that uses it to process an email form for me so I know it works.

Any links to a good tuturial on setting it up I already have the required info in my dns zone files.

Thanks
 
Sendmail is setup differently on various distros of linux. For example, redhat does not allow incoming mail by default. If you send yourself an e-mail from an outside address and it doesn't bounce back then your server is accepting it. Look in /var/spool/mail/ and see if there is a file with the system user's name. If there is, then all you need is a pop3 server. The pop server will get the mail from that directory and send it on to your e-mail client. Once you get it going, you can learn how to allow relaying, controling spam and other stuff from Some newbies find it a little hard to understand all the jargon and get frustrated. If you would find it helpful to use a GUI program to help you setup all types of servers and general administration, check out and download webmin. It will help you set up your system without having to know all the ins and outs. Let us know how things turn out.
 
Okay..
Smart tools aside, I think it's best to learn a little of whats going on before you start building things. That way
they don't fall down so easily;)

With sendmail, your configuration is located in the
sendmail.cf file installed with your distro.
Important details include name resolution(MX records),
masquerading(sending and receiving mail with your
domain name.)and your auxiliary files(usually in /etc/mail)
that correspond to the options compiled into your .cf
An decent book to get started is "Sendmail for Linux."

On the issue of a POP server:
It doesn't matter about pop if the sending MTA can't
find your mail host and you do not have an MTA capable
of processing the mail. Your email client contacts the
POP server and accesses mail via post office protocol.
You can use fetchmail and procmail to automate and
filter mail recovery and dissemination.


Also be aware that there have been any number of recent security problems with sendmail, including local root
holes, etc..
The latest distribution is probably what you want, and
not what shipped with your distro(unless it is brand spanking new.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top