Sebastian Hagedorn via Info-cyrus <info-cyrus@xxxxxxxxxxxxxxxxxxxx> wrote: > --On 24. Februar 2016 um 15:07:52 +0100 Andrea Venturoli via > Info-cyrus <info-cyrus@xxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxx >> postmaster@xxxxxxxxxxxxxxxxxx: root >> >> However, writing to postmaster@xxxxxxxxxxxxxxxxxx fails since that >> mailbox doesn't really exist. >> >> >> I don't have oneofmydomains.com in local-host-names, since I use >> mailertable for delivery with: >> oneofmydomains.com 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@xxxxxxxxxxxxxxxxxx root sendmail.cf 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 ---- 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