--On 24. Februar 2016 um 18:15:26 +0100 Andrea Venturoli <ml@xxxxxxxxxxx> wrote:
On 02/24/16 15:24, Sebastian Hagedorn wrote:Use virtusertable instead of aliases, e.g. postmaster@xxxxxxxxxxxxxxxxxx rootThanks, 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.:.
Attachment:
pgpKxf5Tv0ZKB.pgp
Description: PGP signature
---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus