modern days aliases

Asuming we have on a mail server(that hosts domain1.com) some external aliases, like user1@domain1.com has an alias for user1@domain2.com, which is hosted on a different server, probably on a different mail provider. Typically when a mail is sent to user1@domain1.com, it’s sender’s mail server sends the mail to the MX which hosts domain1.com the mail […]

TIP: Make Postfix use less SQL connections

When you manage Postfix mail servers using SQL connections to find informations about usernames, mailbox/maildir locations on the disk you probably have in your main.cf something like : virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf relay_domains = mysql:/etc/postfix/mysql_relay_domains_maps.cf But, this way, each process(postfix process) uses one MySQL connection. Each mail that relays thru […]