From Fedora Project Wiki

Revision as of 02:24, 27 October 2010 by Wfmakowski (talk | contribs) (Just putting some ideas together on the overall structure, lot more work to do.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



At home I have a small network with a web server that I use for development and testing. One of the things I wanted to get working was to send an email using a form on the website. To accomplish this I needed to setup a Simple Mail Transport Protocol (SMTP) server that would communicate with my ISP. Many Internet Service Providers block the regular SMTP port 25 for outbound email messages in an effort to battle spam and prevent usage by unauthorized people.

Difference between Authentication and Authorization
It is important to note.

Setup stunnel for SSL

Configure sendmail

< define(`SMART_HOST', `[localhost.localdomain]')dnl
< define(`RELAY_MAILER_ARGS', `TCP $h 10025')dnl
< define(`ESMTP_MAILER_ARGS', `TCP $h 10025')dnl
< FEATURE(`authinfo', `hash /etc/mail/authinfo.db')dnl
> dnl define(`SMART_HOST', `smtp.your.provider')dnl
< dnl DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')dnl
> DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')dnl

Email Address Verification

This is only necessary if your service provider requires