Page 1 of 1

Mail stay on queue list.

Posted: Tue Mar 27, 2007 7:21 am
by tpatricio
Hi,

I have the scalix 11.0 and I have a several mail stuck on queue list on send mail.
I have the indication of connection refused by destination mail server.

My question is if some one had this situation and can tell me some tip to resolve it.

Thanks

Tito

Posted: Tue Mar 27, 2007 8:06 am
by ScalixSupport
Hi Tito!

Check if sendmail is running and make sure that it's listening by running the command

Code: Select all

lsof -i :25

Thanks,
Subir

Posted: Tue Mar 27, 2007 11:28 am
by tpatricio
I get this result

COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sendmail 2979 root 4u IPv4 6696 TCP localhost:smtp (LISTEN)
omsmtpd 3110 root 4u IPv4 7495 TCP mail.tiner.pt:smtp (LISTEN)

my situation is some stay on sendmail queue and others not.

The mail that stay on queue display the reason of "Connection rejected by..."


Some one can tell me how can I pass this?

Thanks

Posted: Tue Mar 27, 2007 12:04 pm
by KevinAnderson
Sendmail will try to resend messages in it's queue every half hour or so. That connection reject message should have some details on why the message isn't arriving. I'd be interested in seeing the full text of the message. Common issues are the receiving mail server is down. DNS problems. spam filters (but not for a while...).

Kev.

Posted: Tue Mar 27, 2007 12:43 pm
by tpatricio
The error mail contains:

**********************************************
** THIS IS A WARNING MESSAGE ONLY **
** YOU DO NOT NEED TO RESEND YOUR MESSAGE **
**********************************************

The original message was received at Tue, 27 Mar 2007 09:40:50 +0100
from localhost [127.0.0.1]

----- Transcript of session follows -----
<destination mail>... Deferred: Connection refused by destination.mail.server.
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old[/code]

Posted: Tue Mar 27, 2007 1:17 pm
by KevinAnderson
So this is a legitimate message. You're trying to send mail to destination.mail.server, and right now it is not accepting mail. The reason for that could be that they have a problem on their mail server, or the DNS resolution you use to reach that server could be wrong, or something similar.

You can force the queue to be processed with the command "sendmail -q" and you can watch the logs with "tail -f /var/log/maillog" or "tail -f /var/log/mail.info", depending on your distro.

Kev.

Posted: Thu Mar 29, 2007 5:28 am
by tpatricio
New information on this case.

I try to torn off the firewall and the mail are sent with no problem.

Some one can tell me the port that I have to open in the firewall?

Note: the firewall is out of the mail server.

Thanks