Re: local delivery fails ((unknown mail transport error) when combined with mailbox_transport_maps

2010-06-15 Thread jan
Hi, Do not list weitan.org in mydestination. It should be a relay destination. Therefore, use relay_domains and relay_recipient_maps as explained in ADDRESS_CLASS_README and STANDARD_CONFIGURATION_README. Use virtual_alias_maps (NOT VIRTUAL ALIAS DOMAINS) to deliver that one user locally.

Re: local delivery fails ((unknown mail transport error) when combined with mailbox_transport_maps

2010-06-15 Thread jan
Hi, http://www.postfix.org/STANDARD_CONFIGURATION_README.html Look for mail gateway. Works. Thanks. But now for my understanding how mail is processed: the qmgr first makes a lookup locally and if not successful he will proceed to the relay-entries? qmgr - try to deliver local if NOT

Re: local delivery fails ((unknown mail transport error) when combined with mailbox_transport_maps

2010-06-15 Thread Victor Duchovni
On Tue, Jun 15, 2010 at 03:58:43PM +0200, j...@weitan.org wrote: the qmgr first makes a lookup locally and if not successful he will proceed to the relay-entries? No. See http://www.postfix.org/ADDRESS_REWRITING_README.html http://www.postfix.org/OVERVIEW.html

Re: local delivery fails ((unknown mail transport error) when combined with mailbox_transport_maps

2010-06-15 Thread Wietse Venema
j...@weitan.org: But now for my understanding how mail is processed: the qmgr first makes a lookup locally and if not successful he will proceed to the relay-entries? No, I guess that is how EXIM works. With Postfix, the queue manager asks a different daemon (trivial-rewrite). This daemon

local delivery fails ((unknown mail transport error) when combined with mailbox_transport_maps

2010-06-13 Thread jan
Dear list, to cut it short: 1.) local delivery works well without mailbox_transport_maps configured postfix/local: to=j...@weitan.org, relay=local (..) status=sent (delivered to mailbox) Mail entered in /var/mail/jan 2.) adding the following config to main.cf gives unknown mail transport error

Re: local delivery fails ((unknown mail transport error) when combined with mailbox_transport_maps

2010-06-13 Thread Wietse Venema
j...@weitan.org: [ Charset ISO-8859-1 unsupported, converting... ] Dear list, to cut it short: 1.) local delivery works well without mailbox_transport_maps configured postfix/local: to=j...@weitan.org, relay=local (..) status=sent (delivered to mailbox) Mail entered in /var/mail/jan

Re: local delivery fails ((unknown mail transport error) when combined with mailbox_transport_maps

2010-06-13 Thread jan
Hi Wietse, main.cf: + mailbox_transport=smtp:[weitan.org] # forward everything ... + mailbox_transport_maps=hash:/etc/postfix/mailbox_transport_maps # ... except some mails With mailbox_transport_maps: + jan local You have set up an infinite loop, asking the local delivery agent to

Re: local delivery fails ((unknown mail transport error) when combined with mailbox_transport_maps

2010-06-13 Thread Jeroen Geilman
Hi Wietse, main.cf: + mailbox_transport=smtp:[weitan.org] # forward everything ... + mailbox_transport_maps=hash:/etc/postfix/mailbox_transport_maps # ... except some mails With mailbox_transport_maps: + jan local You have set up an infinite loop, asking the local delivery agent

Re: local delivery fails ((unknown mail transport error) when combined with mailbox_transport_maps

2010-06-13 Thread Wietse Venema
j...@weitan.org: My intention is: everyth...@weitan.org relay to weitan.org Do not list weitan.org in mydestination. It should be a relay destination. Therefore, use relay_domains and relay_recipient_maps as explained in ADDRESS_CLASS_README and STANDARD_CONFIGURATION_README. Now, how can