Assuming you're using the p7 or p8 versions, you'll need to apply a courier-specific patch (which I recall comes bundled in the dist) before those instructions will make sense. When I last downloaded it, the patch file was named amavisd-new-courier.patch, and applies changes to both amavisd and amavisd.conf. For reference, here's a diff from the installation's amavisd.conf.orig and amavisd.conf (before I modified for my own installation).

$ diff amavisd.conf.orig amavisd.conf
62a63
> # For courier, the group must be the same as the group which courier runs as
116a118,121
> # COURIER (using courierfilter)
> #$forward_method = undef; # no explicit forwarding, courier does it itself
> #$notify_method = 'pipe:flags=q argv=/usr/sbin/sendmail -f ${sender} -- ${recipient}';
>
203c208
< # AMAVIS-CLIENT PROTOCOL INPUT SETTINGS (e.g. with sendmail milter)
---
> # AMAVIS-CLIENT AND COURIER PROTOCOL INPUT SETTINGS (e.g. with sendmail milter)
206a212
> #$unix_socketname = "/var/lib/courier/filters/amavisd"; # courier socket
209a216,217
> $unix_socket_protocol = 'amavis'; # either 'amavis' for milter or the amavis
> # client or 'courier' for courier
375c383
< # Best suited for sendmail milter, especially for spam.
---
> # Best suited for sendmail milter and courier, especially for spam.
382,383c390,391
< $final_virus_destiny = D_BOUNCE; # (defaults to D_BOUNCE)
< $final_banned_destiny = D_BOUNCE; # (defaults to D_BOUNCE)
---
> $final_virus_destiny = D_REJECT; # (defaults to D_BOUNCE)
> $final_banned_destiny = D_REJECT; # (defaults to D_BOUNCE)
394c402
< # - use D_REJECT instead of D_BOUNCE if using milter and under heavy
---
> # - use D_REJECT instead of D_BOUNCE if using milter or courier and under heavy



Bowie Bailey wrote:


I am attempting to configure amavisd-new as a courierfilter and I have run
into a problem following the instructions in the readme.

README.courier:
    In amavisd.conf:
    - uncomment the lines setting $forward_method and $notify_method for
courier

However, there are no settings in the amavisd.conf file for Courier.  What
should I use for these variables?

Is there a better howto somewhere for this setup?

Thanks,
Bowie


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to