UNDER CONSTRUCTION
Overview
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.
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 119c116 < dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl --- > DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
Email Address Verification
This is only necessary if your service provider requires