Page 1 of 1

Mail not delivered from a specific host

Posted: Fri Aug 25, 2006 5:30 am
by divisionbyzero
Hello everyone,

I just set up Scalix 10 on a CentOS 4 server. I can already send and
receive mails to that user accounts.

However, there is one host under our control which we can't receive
mail from (no problem with sending to that host though).The mail logs from
both hosts show no errors whatsoever. But checking for emails via
Scalix Web Access shows no new messages.

Would anyone know what would be the probable causes for these? Any help
would be appreciated.

Thanks,
Matt

Posted: Fri Aug 25, 2006 5:40 am
by Valerion
Check that it's allowed to send to the Scalix server (/var/opt/scalix/sys/smtpd.cfg).

I would suggest you paste the relevant entries from the sending machine's /var/log/maillog. This may give us an indication of the issue.

Posted: Fri Aug 25, 2006 5:55 am
by divisionbyzero
Valerion wrote:Check that it's allowed to send to the Scalix server (/var/opt/scalix/sys/smtpd.cfg).

I would suggest you paste the relevant entries from the sending machine's /var/log/maillog. This may give us an indication of the issue.


This is the content of /var/opt/scalix/sys/smtpd.cfg:

Code: Select all

RELAY accept 127.0.0.1
RELAY accept .ourdomain.com
RELAY Log_Reject ALL

# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*


and the mail log of the sending host (we're using cPanel's Exim there, so its /var/log/exim_mainlog):

2006-08-25 19:47:26 1GGYHc-0002mw-0N Completed
2006-08-25 19:47:57 1GGYI9-0002ne-SO <= user@sendingdomain.com U=user P=local S=318
2006-08-25 19:47:57 1GGYI9-0002ne-SO => betterte <user@ourdomain.com> R=localuser T=local_delivery
2006-08-25 19:47:57 1GGYI9-0002ne-SO Completed


Thanks for the reply.

Posted: Fri Aug 25, 2006 6:27 am
by Valerion
divisionbyzero wrote:2006-08-25 19:47:57 1GGYI9-0002ne-SO => betterte <user@ourdomain.com> R=localuser T=local_delivery


I am by no means an exim person, I use sendmail, but the way I read this, the mail got locally delivered to the exim machine. Can you check if this is the case? Unless betterte is the scalix server's hostname, in which case you need to check that Scalix's SMTPD is handling the mail relaying.

Posted: Fri Aug 25, 2006 11:52 pm
by divisionbyzero
Valerion wrote:
divisionbyzero wrote:2006-08-25 19:47:57 1GGYI9-0002ne-SO => betterte <user@ourdomain.com> R=localuser T=local_delivery


I am by no means an exim person, I use sendmail, but the way I read this, the mail got locally delivered to the exim machine. Can you check if this is the case? Unless betterte is the scalix server's hostname, in which case you need to check that Scalix's SMTPD is handling the mail relaying.


Hello Valerion,

Thanks for the pointer. I finally fixed the problem. You're right the mail was still being delivered locally to the Exim machine. The domain was originally hosted on the sending host but was recently transferred to another one using Scalix. While we have managed to change the DNS configuration, we forgot to erase the domain from Exim's /etc/localdomains file.