Sendmail + Virtual Domains + aliases

Sebastian Hagedorn Hagedorn at uni-koeln.de
Thu Feb 25 04:42:09 EST 2016


I was a bit brief yesterday. I have to say that I configured our sendmail 
more than 10 years ago and have only made minor changes since than. I don't 
remember the settings as well as I did back then ...

--On 24. Februar 2016 um 18:15:26 +0100 Andrea Venturoli <ml at netfence.it> 
wrote:

> On 02/24/16 15:24, Sebastian Hagedorn wrote:
>> Use virtusertable instead of aliases, e.g.
>>
>> postmaster at oneofmydomains.com    root
>
>
> 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".
>
> 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?

I suppose that's one way. We have this line in our .mc file:

VIRTUSER_DOMAIN_FILE(`/etc/smtp-in/virtualdomains')dnl

So in our case we would add oneofmydomains.com to that file.

> If I add that, then cyrusv2 from mailertable will not be used for
> oneofmydomains.com.

Why use mailertable? We use this:

define(`confLOCAL_MAILER', `cyrusv2')

That way all local mail is delivered to Cyrus. Or isn't that what you want?
-- 
    .:.Sebastian Hagedorn - Weyertal 121 (Gebäude 133), Zimmer 2.02.:.
                 .:.Regionales Rechenzentrum (RRZK).:.
   .:.Universität zu Köln / Cologne University - ✆ +49-221-470-89578.:.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20160225/7d1a7b76/attachment.sig>


More information about the Info-cyrus mailing list