Sendmail + Virtual Domains + aliases

Alexander Dalloz ad+lists at uni-x.org
Wed Feb 24 13:16:23 EST 2016


Am 24.02.2016 um 18:15 schrieb Andrea Venturoli via Info-cyrus:
> On 02/24/16 15:24, Sebastian Hagedorn wrote:
>> Use virtusertable instead of aliases, e.g.
>>
>> postmaster at oneofmydomains.com    root

Don't use unqualified LHS addresses.
And make sure to direct a catch-all to the error mailer in virtusertable.

> Thanks, but it doesn't seem to work either.
>
> I put that line in virtusertable and issued "make".
> I even restarted sendmail, even if IIRC it's not needed.
> I confirm I have the following in my .mc file:
>  > FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
>
> I still get "User unknown".

You complete sendmail.mc and log content would be useful.

> There's a comment in virtusertable.sample which says: "Remember to add
> the source hostname to /etc/mail/local-host-names".
> Maybe that's really needed for virtusertable to work?
>
> If I add that, then cyrusv2 from mailertable will not be used for
> oneofmydomains.com.

mailertable is not consulted for domains in class {w}

>   bye & Thanks
>      av.

Alexander



More information about the Info-cyrus mailing list