SYSERR(root): rewrite: excessive recursion (max 50), ruleset canonify

Rick Cooper rcooper at dwford.com
Tue Nov 11 20:32:25 GMT 2014


I have mx records for all of my domains (of which there is many) and would
never set an email address to the mx record. Generally you set the email to
the domain or sub domain (I bet you don't have a record for
www.mail.domain.com) and then set the mx record to the mx host name (which
doesn't have to have anything to do with domain.com)
 
So let's look at domain.com
    domain.com a record = 10.10.10.1
    domain.com mx pref 5 = mail1.domain.com
        mail1.domain.com a record = 10.10.10.2
    domain.com mx pref 10 = mail2.domain.com
        mail2.domain.com a record = 10.10.1.1
Could be perfectly valid even if the actual outbound were 10.10.10.1 or
10.1.10.10
so long as mail delivered to one of the two inbound mail servers is fed into
the server that stores the mail for retrieval. 
Look at this
https://groups.google.com/forum/#!msg/comp.mail.sendmail/GKJFZe7Eqqs/eoUqo80
2VbIJ
I quickly perused it and perhaps the $ answer would resolve your issue as
well.
 
Rick Cooper


  _____  

From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of TSSB Sdn
Bhd
Sent: Tuesday, November 11, 2014 4:48 AM
To: MailScanner discussion
Subject: Re: SYSERR(root): rewrite: excessive recursion (max 50),ruleset
canonify


Hi,


Because that is my company MX record mail.mycompany.com


Example: mail.mycompany.com and my other company mail.myothercompany.com


Let me show you the original copy of the virtusertable that has the problem
before I removed the hostname mail


admin at localhost.localdomain     admin
root-admin at localhost.localdomain        admin
apache at mail.mycompany.com    apache
sys at mail.mycompany.com       sys
MAILER-DAEMON at mail.mycompany.com     MAILER-DAEMON
root at mail.mycompany.com      root
nobody at mail.mycompany.com    nobody
majordomo at mail.mycompany.com site2-majordomo
majordomo-owner at mail.mycompany.com   site2-majordomo-owner
owner-majordomo at mail.mycompany.com   site2-owner-majordomo
@mycompany.com       %1 at mail.mycompany.com
@mail.mycompany.com  error:nouser No such user here
user at mail.mycompany.com user
user at mail.mycompany.com     user
user at mail.mycompany.com user
user at mail.mycompany.com      user
user at mail.mycompany.com     user
user at mail.mycompany.com user
user at mail.mycompany.com     user
61-depthead-list at mail.mycompany.com  61-depthead-list
depthead-approval at mail.mycompany.com 61-depthead-approval
depthead-request at mail.mycompany.com  61-depthead-request
owner-depthead at mail.mycompany.com    owner-61-depthead
depthead-owner at mail.mycompany.com    61-depthead-owner
depthead at mail.mycompany.com  61-depthead
user at mail.mycompany.com       user
user at mail.mycompany.com        user
user at mail.mycompany.com      user
apache at www.mycompany.com     apache
sys at www.mycompany.com        sys
MAILER-DAEMON at www.mycompany.com      MAILER-DAEMON
root at www.mycompany.com       root
nobody at www.mycompany.com     nobody
majordomo at www.mycompany.com  site1-majordomo
majordomo-owner at www.mycompany.com    site1-majordomo-owner
owner-majordomo at www.mycompany.com    site1-owner-majordomo
@www.mycompany.com   error:nouser No such user here
user at www.mycompany.com     user
apache at ftp.mycompany.com     apache
MAILER-DAEMON at ftp.mycompany.com      MAILER-DAEMON
root at ftp.mycompany.com       root
nobody at ftp.mycompany.com     nobody
majordomo at ftp.mycompany.com  site3-majordomo
majordomo-owner at ftp.mycompany.com    site3-majordomo-owner
owner-majordomo at ftp.mycompany.com    site3-owner-majordomo
@ftp.mycompany.com   error:nouser No such user here
userftp at ftp.mycompany.com     userftp
user at ftp.mycompany.com        user
user at ftp.mycompany.com  user
user at ftp.mycompany.com   user
user at mail.mycompany.com   user
user at mail.mycompany.com      user
user at mail.mycompany.com        user
user at mail.mycompany.com    user
user at mail.mycompany.com        user
user at mail.mycompany.com    user
user at mail.mycompany.com    user
user at ftp.mycompany.com       user
user at mail.mycompany.com     user
user at mail.mycompany.com    user
user at mail.mycompany.com    user
user at mail.mycompany.com      user
user at mail.mycompany.com    user
ladya at mail.mycompany.com    user
user at mail.mycompany.com    user
user at mail.mycompany.com user
softwareupdate at ftp.mycompany.com     softwareupdate
software.update at ftp.mycompany.com    softwareupdate
user at ftp.mycompany.com     user
user at ftp.mycompany.com     user
user at mail.mycompany.com user
user at mail.mycompany.com     user
user at mail.mycompany.com     user
user at mail.mycompany.com    user
user at mail.mycompany.com  user
user at mail.mycompany.com user
user at mail.mycompany.com      user
user at mail.mycompany.com     user




Thanks & Regards,

TSSB Sdn Bhd
35-1, Jalan Tanjung SD 13/2, 
Bandar Sri Damansara, 
52200 Kuala Lumpur. 

MAIN LINE: 603 6276 7910 

FAX: 603 6276 0912
EMAIL: hdesk at tssb.com.my

  <http://i41.tinypic.com/15coj0i.png> 

  <http://bit.ly/TsuagN> 


On Tue, Nov 11, 2014 at 12:59 PM, Mogens Melander <mogens at fumlersoft.dk>
wrote:


Hi,

Just wondering.

Why would you have a hostname in an email address, unless
you have myname at host1.example.com and myname at host2.example.com ?

On Tue, November 11, 2014 05:19, TSSB Sdn Bhd wrote:
> Hi,
>
> I solved the problem by removing the *mail *on myname@*mail*.
> mycompanyname.com so it become myname at mycompanyname.com at /etc/mail/
> *virtusertable*
>
> Wondering what causes it to show the error below and return an error
> message to sender as for my other server using the same thing and has the
> *mail
> *still able to receive email. Why would this one I need to remove the
> *mail*
>
> The error return with:-
> *554 5.0.0 rewrite: excessive recursion (max 50), ruleset canonify*
>
> Just for precaution, I want to know does removing mail from the
> *virtusertable
> *on each user might lead to another problem? So far at the moment no
> complaint but just in case it could lead to another problem*. *Other than
> removing the *mail *how else can I solve this problem
>
>
>
>
> Thanks & Regards,
>
> TSSB Sdn Bhd
> 35-1, Jalan Tanjung SD 13/2,
> Bandar Sri Damansara,
> 52200 Kuala Lumpur.
>
> MAIN LINE: 603 6276 7910 <tel:603%206276%207910> 
> FAX: 603 6276 0912 <tel:603%206276%200912> 
> EMAIL: hdesk at tssb.com.my
>
>
>
>
>

> On Tue, Nov 11, 2014 at 1:19 AM, Glenn Steen <glenn.steen at gmail.com>
> wrote:
>
>> ... Dns issue or bad transport config?!
>>
>> Cheers
>> --
>> -- Glenn
>> Den 10 nov 2014 14:57 skrev "Alex Neuman" <alex at vidadigital.com.pa>:
>>
>> Sounds like a DNS problem.
>>> On Nov 10, 2014 2:20 AM, "TSSB Sdn Bhd" <christian at tssb.com.my> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am having a problem with my sendmail right now. I'm using CentOS5
>>>> running on BlueQuartz 5100R Series
>>>>
>>>> I am not able to send to my domain and keep receiving the error
>>>>
>>>> Technical details of permanent failure:
>>>> Google tried to deliver your message, but it was rejected by the
>>>> server
>>>> for the recipient domain domain.name.com from domain.name.com [IP
>>>> address]
>>>>
>>>> The error that the other server returned was:
>>>> 554 5.0.0 rewrite: excessive recursion (max 50), ruleset canonify
>>>>
>>>>
>>>> Thanks & Regards,
>>>>
>>>> TSSB Sdn Bhd
>>>> 35-1, Jalan Tanjung SD 13/2,
>>>> Bandar Sri Damansara,
>>>> 52200 Kuala Lumpur.
>>>>
>>>> MAIN LINE: 603 6276 7910
>>>> FAX: 603 6276 0912
>>>> EMAIL: hdesk at tssb.com.my
>>>>



--
Mogens Melander
+66 8701  <tel:%2B66%208701%2033224> 33224


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20141111/a856cb72/attachment.html 


More information about the MailScanner mailing list