Tag Archives: smtp

Postfix problems

Today I noticed I hadn’t received any mail from one of my servers for several weeks. Upon investigation I found that postfix seemed to have some trouble finding the target machine, due to what appeared to be some kind of name lookup problem. I think the problem might have been introduced through a system upgrade some weeks ago…

What’s strange is that this server could lookup the target machine just fine through DNS, in both forward and reverse.

This is what I got in the log /var/log/mail.info:

Jul 15 08:37:44 warhammer postfix/smtp[14984]: 6B6AF483D9: to=<eek@narcissus>, orig_to=<root@warhammer.monkey7.se>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=narcissus type=A: Host not found)

I googled this error message and found a suggestion to add a line in /etc/postfix/main.cf:

Posted in Linux | Tagged , , , , , , , , , | Leave a comment

Configuring moblock & blockcontrol

Suddenly at some point, I wasn’t able to send any e-mails. Messages got stuck in the outbox, refusing to leave my computer.

At first I thought it was a temporary problem with Google’s mail servers, as I hadn’t installed or changed anything for a week or two on my own computer.

Upon further investigation I found this link which suggested using telnet to test the connection to Google:s SMTP server.

So I ran the following command:

telnet smtp.gmail.com 465

No greeting or anything. The telnet session just hang there.

Posted in Linux | Tagged , , , , , , , , , , | 2 Comments