<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I have followed the advice given by Chris and made sure that all the settings were correct in the GUI. I then removed the user and created a new user. I still get the following error:<div><br></div><div><font class="Apple-style-span" face="Tahoma">[127.0.0.1] #<[127.0.0.1] #5.0.0 SMTP; 554 5.0.0 rewrite: excessive recursion (max 50), ruleset canonify> #SMTP#</font></div><div><font class="Apple-style-span" face="Tahoma"><br></font></div><div><font class="Apple-style-span" face="Tahoma">If I remove the www. from the virtusertable it will fix this problem. What can I do to stop this happening in the first place?</font></div><div><font class="Apple-style-span" face="Tahoma"><br></font></div><div><font class="Apple-style-span" face="Tahoma">Alan</font></div><div><font class="Apple-style-span" color="#808080" face="Tahoma, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" color="#808080" face="Tahoma, sans-serif" size="2"><br></font><div><div>On 13 Jan 2012, at 13:39, Chris Gebhardt - VIRTBIZ Internet wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Alan Seath wrote:<br><blockquote type="cite">Hi<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I have a BlueOnyx server and every time I create a new user to a virtual site through the GUI it adds an entry similar to the following in the virtusertable:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="mailto:user@www.domainname.com">user@www.domainname.com</a><br></blockquote><br>Nothing wrong there.<br><br><blockquote type="cite">I then have to edit the virtusertable to remove the www. , save the file and restart sendmail. <br></blockquote><br>Whoops.  That's a mistake.<br><br><blockquote type="cite">Is there a reason why this is happening?<br></blockquote><br>Yes.  It's doing exactly what it should be doing.  Why are you going in <br>and manually changing it?<br><br>If you've configured the site properly, you have the domain in the email <br>server aliases box and therefore a line in the virtusertable like:<br>@domain.com       %1@www.domain.com<br><br>In other words, leave virtusertable alone.  It was working precisely as <br>intended.<br><br>-- <br>Chris Gebhardt<br>VIRTBIZ Internet Services<br>Access, Web Hosting, Colocation, Dedicated<br><a href="http://www.virtbiz.com">www.virtbiz.com</a> | toll-free (866) 4 VIRTBIZ<br>_______________________________________________<br>Blueonyx mailing list<br><a href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a><br>http://mail.blueonyx.it/mailman/listinfo/blueonyx<br><br>-- <br>This message has been scanned for viruses and<br>dangerous content by MailScanner, and is<br>believed to be clean.<br><br></div></blockquote></div><br></div></body></html>