Am 2009-05-02 15:52:14, schrieb Sam Varshavchik:
> couriermlm reads environment variables set by Courier in order to process 
> the message appropriate. If couriermlm is invoked by procmail, it must  
> inherit the unmodified environment, identical as to what procmail 
> inherited from Courier.
>
> For one thing, Courier sets DEFAULT to the local extension address. Your  
> procmail recipe sets a variable named DEFAULT. I do not recall if 
> procmail exports its own environment to child processes, or restores the 
> original environment.
>
> In any case, it's cleaner to leave "couriermlm msg" and "couriermlm 
> ctlmsg" in the .courier file, as they were, but prepend a directive to 
> invoke procmail beforehand. If procmail terminates with an error code, 
> Courier will drop or bounce the message, then stops processing. If 
> procmail exits with a zero exit code, Courier continues processing 
> .courier, and then invokes couriermlm next.

Ah, you mean this thing:

----[ '~/.courier-foo1' ]-----------------------------------------------
||/usr/bin/preline /usr/bin/procmail
|/usr/bin/couriermlm msg /home/devel.debian/.couriermlm_foo1
------------------------------------------------------------------------

----[ '~/.courier-foo1-default' ]---------------------------------------
||/usr/bin/preline /usr/bin/procmail
|/usr/bin/couriermlm ctlmsg /home/devel.debian/.couriermlm_foo1
------------------------------------------------------------------------

right?  So I have no chance to reduce the .courier-* files?

With over 400 lists I will then have over 2000 files laying arround.

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>                 Michelle Konzack
<http://www.can4linux.org/>                   Apt. 917
<http://www.flexray4linux.org/>               50, rue de Soultz
Jabber [email protected]           67100 Strasbourg/France
IRC #Debian (irc.icq.com)                     Tel. DE: +49 177 9351947
ICQ #328449886                                Tel. FR: +33  6  61925193

Attachment: signature.pgp
Description: Digital signature

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to