SYSERR(root) config error: mail loops back to me (MX proble

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

xalfeiran
Posts: 10
Joined: Fri Mar 25, 2011 3:27 pm

SYSERR(root) config error: mail loops back to me (MX proble

Postby xalfeiran » Tue Jul 05, 2011 3:30 pm

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

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Re: SYSERR(root) config error: mail loops back to me (MX proble

Postby les » Wed Jul 06, 2011 6:56 pm

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)
Regards,

Les Stott

xalfeiran
Posts: 10
Joined: Fri Mar 25, 2011 3:27 pm

Re: SYSERR(root) config error: mail loops back to me (MX proble

Postby xalfeiran » Fri Jul 08, 2011 1:04 pm

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!

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Re: SYSERR(root) config error: mail loops back to me (MX proble

Postby les » Fri Jul 08, 2011 8:01 pm

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.
Regards,

Les Stott

xalfeiran
Posts: 10
Joined: Fri Mar 25, 2011 3:27 pm

Re: SYSERR(root) config error: mail loops back to me (MX proble

Postby xalfeiran » Thu Jul 14, 2011 5:40 pm

Success!!

Aparently the problem was in the local-host-names file

Thanks les!!

brian.schnautz
Posts: 15
Joined: Wed Oct 01, 2008 11:14 am

Re: SYSERR(root) config error: mail loops back to me (MX proble

Postby brian.schnautz » Thu Jul 28, 2011 3:48 pm

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?

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Re: SYSERR(root) config error: mail loops back to me (MX proble

Postby les » Thu Jul 28, 2011 7:36 pm

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.
Regards,

Les Stott


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest