I've been trying to setup postfix and dovecot for the last 2 days but I can't. I'd appreciate if anyone could help me before I start to cry.
I've followed this tutorial to set up the network. The problems I've been experiencing are;
- Can't receive e-mail via e-mail programs such as Thunderbird.
- Can send e-mails via e-mail programs such as Thunderbird but not with Java, Python or PHP programs.
- Can't send/receive e-mails via telnet for testing purposes.
I've searched the log errors on Google and ServerFault but couldn't find a solution. Here are log files;
/var/log/mail.log: (testing via telnet localhost smtp)
Feb 21 08:07:56 myserver postfix/smtpd[1097]: connect from localhost.localdomain[127.0.0.1]
Feb 21 08:08:31 myserver postfix/smtpd[1097]: 4D8E3A32E: client=localhost.localdomain[127.0.0.1]
Feb 21 08:08:48 myserver postfix/cleanup[1101]: 4D8E3A32E: message-id=<20110211210831.4D8E3A32E@example.com>
Feb 21 08:08:48 myserver postfix/qmgr[1093]: 4D8E3A32E: from=<noreply@example.com>, size=363, nrcpt=1 (queue active)
Feb 21 08:08:48 myserver postfix/pipe[1102]: 4D8E3A32E: to=<me@example.com>, relay=dovecot, delay=28, delays=28/0.01/0/0.01, dsn=4.3.0, status=deferred (temporary failure)
Feb 21 08:08:51 myserver postfix/smtpd[1097]: disconnect from localhost.localdomain[127.0.0.1]
Feb 21 13:53:03 myserver postfix/smtpd[1613]: connect from mail-iw0-f178.google.com[209.85.214.178]
Feb 21 13:53:04 myserver postfix/smtpd[1613]: 50DB6A330: client=mail-iw0-f178.google.com[209.85.214.178]
Feb 21 13:53:04 myserver postfix/cleanup[1618]: 50DB6A330: message-id=<ADNLkTinHxj022-1c8uWrfZE_iUGfWteUGS+iN9936ECW@mail.gmail.com>
Feb 21 13:53:04 myserver postfix/qmgr[1192]: 50DB6A330: from=<email_address@gmail.com>, size=1596, nrcpt=1 (queue active)
Feb 21 13:53:04 myserver postfix/pipe[1619]: 50DB6A330: to=<me@example.com>, relay=dovecot, delay=0.18, delays=0.16/0.01/0/0.01, dsn=4.3.0, status=deferred (temporary failure)
Feb 21 13:53:32 myserver postfix/smtpd[1623]: warning: my_ip_address: hostname my-ip-address.static.ispname.com verification failed: Name or service not known
Feb 21 13:53:32 myserver postfix/smtpd[1623]: connect from unknown[my_ip_address]
I can only send e-mails via e-mail programs but I certainly can't send/receive with other methods(by saying methods I mean telnet, Java, Python, PHP programs I've written for sending e-mails.)