Re: [exim] Complex forwarding issue

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: kmb
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Complex forwarding issue
On Thu, 24 Feb 2005, kmb wrote:
>
> This works perfectly, But The client wants to be notified that a
> message did not get sent to the BlackBerry due to the size limt, so
> they can look for the skiped message on the Corporate server. Seems
> resonable to me. At first I thought that I could just add to my
> exsisting Routers to test if it was oversized, so I added a new Router:


Rather than using filters, it might be easier to use an autoreply
transport. For example:

# BlackBerry Router over sized message:
blackberry_notify:
driver = accept
condition = ${if >{$message_size}{1000000} {yes} {no} }
unseen
no_verify
transport = blackberry_notify

# BlackBerry Transport over sized message:
blackberry_notify:
driver = autoreply
from = postmaster@$qualify_domain
to = $local_part@$domain
subject = Oversized message
# etc.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}