4 messages in net.sourceforge.lists.courier-usersRe: [courier-users] AmaVisd-new question
FromSent OnAttachments
Bowie BaileyMar 19, 2004 9:12 am 
Bill TaroliMar 19, 2004 11:23 am 
Bowie BaileyMar 19, 2004 11:50 am 
Bill TaroliMar 19, 2004 1:20 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] AmaVisd-new questionActions...
From:Bill Taroli (bill@billsden.org)
Date:Mar 19, 2004 11:23:43 am
List:net.sourceforge.lists.courier-users

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