Sendmail + Virtual Domains + aliases

Andrzej A. Filip andrzej.filip at
Thu Feb 25 05:57:52 EST 2016

Sebastian Hagedorn via Info-cyrus <info-cyrus at> wrote:
> --On 24. Februar 2016 um 15:07:52 +0100 Andrea Venturoli via
> Info-cyrus <info-cyrus at> wrote:
>> I've setup a server running Cyrus IMAP 2.5.7 with virtual domains and
>> sendmail as MTA.
>> I'm having trouble with aliases.
>> E.g. I put the following in /etc/aliases:
>> root:				me at
>> postmaster at	root
>> However, writing to postmaster at fails since that
>> mailbox doesn't really exist.
>> I don't have in local-host-names, since I use
>> mailertable for delivery with:
>>			cyrusv2:/var/imap/socket/lmtp
>> What is the reccomended way to accomplish what I'm trying to do?
> Use virtusertable instead of aliases, e.g.
> postmaster at	root by default handles only "domain less" aliases for emails in
local email domains.  It is possible to change it *BUT* it is officially
"untested" territory. So if you do not need one to many mapping and one
to one is sufficient then use virtusertable.

A. Filip

More information about the Info-cyrus mailing list