Since a couple of days I have an issue in which sendmail is no longer able to send e-mails to external adresses when they needed to be forwarded (.forward) or aliassed.
What happens in detail is the following:
E-mails that need to be delivered to local mailboxes are delivered as it should. The moment that they need to be sent to an external box (.forward or alias) they get stuck with the connection timeout error to localhost.localdomain.com and they are moved to the /home/virtual/***/var/spool/mqueue.site folder.
I am running on parallels control panel pro (formaly known as ensim) so I have virtual sites.
I can try to resending it by running
#chroot /home/virtual/domain.name sendmail -q -v -OQueueDirectory=/var/spool/mqueue.site
But I then get the same problem:
Running /var/spool/mqueue.site/n52KQxmX026507 (sequence 1 of 159)
... Connecting to localhost.localdomain.com. via relay...
... Deferred: Connection timed out with localhost.localdomain.com.
I am able to connect to the localhost smpt service:
# telnet localhost.localdomain.com 25
Connected to localhost.localdomain.com (127.0.0.1).
Escape character is '^]'.
220 rm-302-02.serve.com ESMTP Sendmail 8.13.8/8.13.8; Wed, 3 Jun 2009 00:53:48 +0200
250 rm-302-02.serve.com Hello localhost.localdomain.com [127.0.0.1], pleased to meet you
Also localhost.localdomain.com is in my hosts file, and I am able to ping it as it should.
Now I am really out of ideas and suggestions so I was hoping one of you have any ideas.