I'm a web developer, recently I switched my main system from Windows to Debian.
However, I faced only one problem. Emails.
While installing Debian, Exim was installed automatically.
My machine is not accessible from Internet, I'm using local address 127.0.0.1 and virtualhost for multiple websites. My ISP provides dynamic IPs - changed dynamically every connection or every 24 hours.
Now's my question to ServerFaulters. Is it possible to configure Exim to send emails? Right now, I'm developing a website that requires email activation, that sends some notifications and I'd like to test them.
Update Here comes line from mail.log:
Sep 5 15:50:13 dev sm-mta[19400]: o85CpQTt017758: to=<account>@gmail.com, delay=00:58:05, xdelay=00:31:31, mailer=esmtp, pri=210021, relay=alt4.gmail-smtp-in.l.google.com. [74.125.91.27], dsn=4.0.0, stat=Deferred: Connection timed out with alt4.gmail-smtp-in.l.google.com.
Where is my email account name.
Any suggestions?
Regards, Tom
mail()
function. Rather install PEAR and use their mailer, it is far more flexible and it can send straight to your gmail account, if you provide the correct details (IP address, credentials, etc.). You can also this from within a cron job (just run a PHP script from the cron). – wolfgangsz Sep 05 '10 at 14:00