Re: Sendmail + Virtual Domains + aliases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> wrote:

On 02/24/16 15:24, Sebastian Hagedorn wrote:
Use virtusertable instead of aliases, e.g.

postmaster@xxxxxxxxxxxxxxxxxx    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.:.

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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux