Re: [exim] if $message_size && user ==

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tony Finch
Date:  
À: Dan Jacobson
CC: exim-users, mark
Sujet: Re: [exim] if $message_size && user ==
On Thu, 20 Apr 2006, Dan Jacobson wrote:

> procmail:
> driver = localuser


Exim3 is no longer supported.

> transport = procmail_pipe
> require_files = ${home}/.procmailrc
> condition = ${if < {$message_size}{200K}{yes}{no}}


> How can one add "or the user is on the list of responsible users",
> or "or $user == responsible_ralph", to the condition?


Use a local_parts precondition.

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}}