
If your MTA server is the primary MX for a bunch of DOMAINS, you route them through virtusertable.
#SEND APPLE RECEIPTS TO ALIAS FULL#
The key portion (on the left) must be either a full address (user, host, and domain name), or an address without a host part (just a domain). The virtual user table maps incoming mail destined for to One can think of this as an advanced mail alias feature, one that operates using not just the destination user, but also the destination domain.
#SEND APPLE RECEIPTS TO ALIAS HOW TO#
The following example demonstrates how to create custom entries using These mailboxes can be local, remote, aliasesĭefined in /etc/mail/aliases, or files. This database file maps mail addresses for virtual domains and users More information about the format of this file. usr/local/bin/procmail, through a UNIX® pipe. Last entry demonstrates how to send mail to a program, Mail toįtp-bugs is expanded to the three local mailboxes joe, eric, and paul.Ī remote mailbox could be specified as The thirdĮntry shows how to write mail to a file, in this case /dev/null.

If no match is found, the message isĭelivered to localuser. The localuser mailbox, which is then looked up in the The first entry expands the root mailbox to The mailbox name on the left side of the colon is expanded to the

Here are a fewĮntries to illustrate the file format: root: localuser This database file contains a list of virtual mailboxes that areĮxpanded to users, files, programs, or other aliases. The sendmail virtusertable feature enables support for the virtual users, meaning it maps non-system users. Which means, the username must be available via getpwnam from the password database:Į.g., the local password file /etc/passwd, NIS, and LDAP. Aliasing is the process of converting one local recipient name on the system into another and Aliasing occurs only on local names.
