9 msgqueue behavior
3 msgX-Original-To inconsistency
5 msgSMTP Transaction logs?
2 msgbackup mail server problems
4 msgChange error messages
3 msgtransport_maps is ignored
8 msgmails from servers with no PTR
4 msgCustomize postfix's answers
6 msgsend mail to multiple users
2 msgtranspot decision based on cyrus mailbox existence

force a bounce on a message in the queue
\ Joey (20 Jul 2007)
. \ Victor Duchovni (20 Jul 2007)

5 msgWhat causes: 421 Error: timeout exceeded (in re...
3 msgPrevent specific user to authenticate in SASL/L...
2 msgPrevent specific user to authenticate in SASL/LDAP
12 msgLooking for a fail-over strategy for a mail server
7 msgpostfix/smtpd can works in tls wrapper mode,cou...
2 msgConnection timed out - Issue
4 msgpostfix and field 'Date' in message headers
4 msgbounce notification of relayhost
5 msgPostfix + SASL Problem
Subject:Re: force a bounce on a message in the queue
Group:Postfix-users
From:Victor Duchovni
Date:20 Jul 2007


 
On Thu, Jul 19, 2007 at 10:31:37PM -0400, Joey wrote:

> Hi All,
>
>
>
> Is there a way to force a bounce immediately for a message sitting in the
> queue that will inevitably bounce?
>
>
>
> Example:
>
> dlless
>
>
>
> We know that is a typo and simply want to bounce it now, and not have it
> hanging around in the queue.

# cd /etc/postfix
# echo "earthlinl.net error:5.1.2 Invalid destination domain" >> transport
# postmap transport
# postconf -e \
'transport_maps = ${default_database_type}:${config_directory}/transport'
postfix reload
postfix flush

--
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.


© 2004-2008 readlist.com