Greetings,

As a Postfix user I could use some advice (official or unofficial) regarding a mail accounting schema - a problem which increasingly annoys me.

I am running two different instances of Postfix and also some instances of Sendmail. All Sendmail instances are running inside of FreeBSD jails. The Postfix configuration is rather simple using virtual mail accounts. The following is handled through a database:

virtual_alias_maps = proxy:mysql:/usr/local/etc/postfix/mysql-virtual_forwardings.cf, mysql:/usr/local/etc/postfix/mysql-virtual_email2email.cf virtual_mailbox_domains = proxy:mysql:/usr/local/etc/postfix/mysql-virtual_domains.cf virtual_mailbox_maps = proxy:mysql:/usr/local/etc/postfix/mysql-virtual_mailboxes.cf transport_maps = proxy:mysql:/usr/local/etc/postfix/mysql-virtual_transports.cf

I have studied the alias function in Postfix and also the alias maps provided by Sendmail. So far I haven't been able to figure out a reasonable account schema, e.g. which aliases to put to the file-based list and which to put to the database. My problem lies mainly with mails from local daemons fx. cron scheduled periodic daily mails and such. Most frequent problems are:
4.4.6: Transient failure: Network & routing status: Routing loop detected
5.1.1: Permanent failure: Addressing status: Bad destination mailbox address

I need an uniform way to configure the Sendmail alias maps in jails and also a uniform way to set up alias maps for domains, e.g. abuse accounts and such.

Even though my problem is not purely related to Postfix it would still be greatly appreciated if anyone is familiar with some guide-lines for such a schema.

Best regards
Carsten Larsen

Reply via email to