Page 1 of 1
SYSERR(root) config error: mail loops back to me (MX proble
Posted: Tue Jul 05, 2011 3:30 pm
by xalfeiran
Hi everyone
I have this scalix server (centos 5.2, scalix community 11.4). I found that in the maillog there are this errors for email accounts that doesn't exist (or with typos). The error says: mail loops back to me (MX problem?).
the centos server runs its own dns service.
Code: Select all
Jul 5 14:12:51 centos sendmail[15007]: p65JCoBx015007: from=<diputadospanyucatan@gmail.com>, size=10597, class=0, nrcpts=1, msgid=<CACB=szfDy6TJ5VnwYT6LHXVZjcpKbMLso51OFDGh2TkYMeO5XQ@mail.gmail.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jul 5 14:12:52 centos sendmail[15028]: p65JCoBx015007: SYSERR(root): mail.sipse.com.mx. config error: mail loops back to me (MX problem?)
Jul 5 14:12:52 centos sendmail[15028]: p65JCoBx015007: to=<emedina@sipse.com.mx>, delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=130597, relay=mail.sipse.com.mx. [148.223.132.188], dsn=5.3.5, stat=Local configuration error
Jul 5 14:12:52 centos sendmail[15028]: p65JCoBx015007: p65JCqBx015028: DSN: Local configuration error
hope you cant help me with this
thanks in advance
Re: SYSERR(root) config error: mail loops back to me (MX proble
Posted: Wed Jul 06, 2011 6:56 pm
by les
xalfeiran wrote:Hi everyone
I have this scalix server (centos 5.2, scalix community 11.4). I found that in the maillog there are this errors for email accounts that doesn't exist (or with typos). The error says: mail loops back to me (MX problem?).
the centos server runs its own dns service.
Code: Select all
Jul 5 14:12:51 centos sendmail[15007]: p65JCoBx015007: from=<diputadospanyucatan@gmail.com>, size=10597, class=0, nrcpts=1, msgid=<CACB=szfDy6TJ5VnwYT6LHXVZjcpKbMLso51OFDGh2TkYMeO5XQ@mail.gmail.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jul 5 14:12:52 centos sendmail[15028]: p65JCoBx015007: SYSERR(root): mail.sipse.com.mx. config error: mail loops back to me (MX problem?)
Jul 5 14:12:52 centos sendmail[15028]: p65JCoBx015007: to=<emedina@sipse.com.mx>, delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=130597, relay=mail.sipse.com.mx. [148.223.132.188], dsn=5.3.5, stat=Local configuration error
Jul 5 14:12:52 centos sendmail[15028]: p65JCoBx015007: p65JCqBx015028: DSN: Local configuration error
hope you cant help me with this
thanks in advance
Assume your local server is mail.sipse.com.mx?
what is in the following files....
/etc/mail/local-host-names
/etc/mail/access
/etc/mail/mailertable
/var/opt/scalix/??/s/sys/smtpd.cfg (specifically the relay sections)
Re: SYSERR(root) config error: mail loops back to me (MX proble
Posted: Fri Jul 08, 2011 1:04 pm
by xalfeiran
Hi!
the server full name is centos.sipse.com.mx and aliases are
mail.sipse.com.mx
mailserver2.sipse.com.mx
contents of the files:
file /etc/mail/local-host-names
# local-host-names - include all aliases for your machine here.
mail.sipse.com.mx
mailserver2.sipse.com.mx
file /etc/mail/access
# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
Connect:localhost.localdomain RELAY
Connect:localhost RELAY
Connect:127.0.0.1 RELAY
file /etc/mail/mailertable is empty
file /var/opt/scalix.../smtpd.cfg
# NB Authenticated RELAYs are always allowed
RELAY accept 127.0.0.1
RELAY accept .sipse.com.mx
RELAY Log_Reject ALL
# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*
thanks for your advice!
Re: SYSERR(root) config error: mail loops back to me (MX proble
Posted: Fri Jul 08, 2011 8:01 pm
by les
xalfeiran wrote:Hi!
the server full name is centos.sipse.com.mx and aliases are
mail.sipse.com.mx
mailserver2.sipse.com.mx
contents of the files:
file /etc/mail/local-host-names
# local-host-names - include all aliases for your machine here.
mail.sipse.com.mx
mailserver2.sipse.com.mx
thanks for your advice!
Change /etc/mail/local-host-names to be just....
sipse.com.mx
Then make -C /etc/mail;service sendmail restart
In a scalix setup the local-host-names file needs to contain your domain names only, not your local machine names or aliases.
Test after making that change.
Re: SYSERR(root) config error: mail loops back to me (MX proble
Posted: Thu Jul 14, 2011 5:40 pm
by xalfeiran
Success!!
Aparently the problem was in the local-host-names file
Thanks les!!
Re: SYSERR(root) config error: mail loops back to me (MX proble
Posted: Thu Jul 28, 2011 3:48 pm
by brian.schnautz
I also had this configuration problem
I changed my config file
and ran the command:
Code: Select all
make -C /etc/mail;service sendmail restart
it restarts the service, but doesn't seem to re-build anything.
I get the following when just trying to make:
Code: Select all
[root@mail:mail]# make -C /etc/mail/
make: Entering directory `/etc/mail'
make: Nothing to be done for `all'.
make: Leaving directory `/etc/mail'
What am I doing wrong?
Re: SYSERR(root) config error: mail loops back to me (MX proble
Posted: Thu Jul 28, 2011 7:36 pm
by les
brian.schnautz wrote:I also had this configuration problem
I changed my config file
and ran the command:
Code: Select all
make -C /etc/mail;service sendmail restart
it restarts the service, but doesn't seem to re-build anything.
I get the following when just trying to make:
Code: Select all
[root@mail:mail]# make -C /etc/mail/
make: Entering directory `/etc/mail'
make: Nothing to be done for `all'.
make: Leaving directory `/etc/mail'
What am I doing wrong?
nothing if all you changed was local-host-names. This file doesn't build a hashed version of itself (like the access file).
so restarting sendmail should be enough.