Re: holding mail for recipient

2009-02-12 Thread Noel Jones

Christoph Erdle wrote:
I want to hold mails for a specific recipient which is an alias to 
multiple addresses so admin interaction is required to send to this 
alias. Problem is that the mail is now held twice (following is the 
output of mailq and releasing the message):


Feb 12 12:40:08 [postfix/smtpd] NOQUEUE: hold: RCPT from localhost[127.0.0.1]: t...@team-erdle.de: Recipient address testing hold with alias; from=i...@team-erdle.de to=t...@team-erdle.de proto=ESMTP helo=localhost 


Your reinjection postfix listenter (defined in master.cf) is 
using the same access map.  See the README.postfix included 
with amavisd-new for suggested master.cf entries, or at a 
minimum add the following to your master.cf listener entry.


# master.cf
...
127.0.0.1:10025 inet  n  -   n  -   -  smtpd
(you should already have something similar to the above)
(add these entries just underneath)
   -o mynetworks=127.0.0.0/8
   -o smtpd_client_restrictions=
   -o smtpd_helo_restrictions=
   -o smtpd_sender_restrictions=
   -o smtpd_data_restrictions=
   -o smtpd_end_of_data_restrictions=
   -o smtpd_recipient_restrictions=permit_mynetworks,reject

note there is no space in permit_mynetworks,reject.
You will probably want to add -o receive_override_options=... 
if you haven't already, and there are some other parameters 
that may be useful to you.  See the README.postfix included 
with amavisd-new for details.

http://www.ijs.si/software/amavisd/README.postfix.html

  -- Noel Jones


Re: holding mail for recipient

2009-02-12 Thread Christoph Erdle

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Am 12.02.2009 um 18:02 schrieb Noel Jones:


Christoph Erdle wrote:
I want to hold mails for a specific recipient which is an alias to  
multiple addresses so admin interaction is required to send to this  
alias. Problem is that the mail is now held twice (following is the  
output of mailq and releasing the message):


Feb 12 12:40:08 [postfix/smtpd] NOQUEUE: hold: RCPT from  
localhost[127.0.0.1]: t...@team-erdle.de: Recipient address  
testing hold with alias; from=i...@team-erdle.de to=t...@team-erdle.de 
 proto=ESMTP helo=localhost


Your reinjection postfix listenter (defined in master.cf) is using  
the same access map.  See the README.postfix included with amavisd- 
new for suggested master.cf entries, or at a minimum add the  
following to your master.cf listener entry.


Thanks for your hint, I adapted master.cf to have the reinjection  
smtpd meet my needs, working like a charm.


Chris


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAkmVGucACgkQqqYbNmv9eYm8bQCfYTr+1bmkVFIAoUxgfBnLRpRk
Zu0An1NwpyiOui/eF4sZhVfxGo8MORHs
=0zSm
-END PGP SIGNATURE-