Don't put the domains in $w, use mailertable and _VIRTUSER_NO_RECURSE_ or whatever the option name is.
On Mon, Dec 16, 2002 at 09:32:20AM +0100, Christian Schulte wrote: > Hi, > > after changing the local mailer in my sendmail.mc from cyrus to cyrusv2 > I cannot get sendmail to correctly deliver the domain-part of > local-adresses to cyrusv2-lmtpd! Before, I had the cyrusv2-mailer set in > /etc/mail/mailertable but that way , I was not able to route my email as > I need to and as I do in /etc/mail/virtusertable. Ecspacially > catchall-accounts for domains which have more than one email-account in > cyrus are not possible with the mailertable approach. > > I have all my local domains in /etc/mail/local-host-names and do (want > to do) all email routing in /etc/mail/virtusertable like before. > > If I specify a final recipient (cyrus-account) in virtusertable as: > > @virtualdomain.it [EMAIL PROTECTED] > > where an account like [EMAIL PROTECTED] exists, sendmail > recognizes virtualdomain.it in /etc/mail/local-host-names as a local > domain and will strip the original virtualdomain.it from the recipient > replacing it with the localhost hostname. All domains defined in > /etc/mail/local-host-names will be recognized in virtusertable but the > local delivery will only go to the user@localhostname! > > Where can I change sendmail to not do that ? How do I tell sendmail to > never change the local-domain to the local hostname on succesfully > recognized /etc/mail/local-host-names domains ? > > --Christian-- -- Joe Rhett Chief Geek [EMAIL PROTECTED] ISite Services, Inc.