FreeBSD install from pkg; is it running?
2004-08-30 by William F. Dudley Jr.
Hi,
I installed milter-greylist 1.5.6 from the FreeBSD package.
System is: FreeBSD 4.10-STABLE.
Added to /etc/rc.conf:
miltergreylist_enable="YES"
miltergreylist_flags="${miltergreylist_flags} -v"
Customized /usr/local/etc/mail/greylist.conf appropriately.
Added this to sendmail.mc:
INPUT_MAIL_FILTER(`greylist', `S=local:/var/milter-greylist/milter-greylist.sock')
define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')
define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')
define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')
rebuilt sendmail.cf and restarted sendmail ("make restart").
started greylist-milter by running:
"/usr/local/etc/rc.d/milter-greylist.sh start"
Both milter daemons are running as shown by "ps ax":
218 ?? Ss 3:24.97 /usr/local/sbin/clamav-milter --postmaster-only --local --outgoing --max-children=50 /var/run/clamav/clmilter.sock
43202 ?? Ss 0:07.33 /usr/local/bin/milter-greylist -P /var/run/milter-greylist.pid -f /usr/local/etc/mail/greylist.conf -p /var/milter-greylist/milter-greylist.sock -u smmsp -v
Tailing /var/log/maillog show no messages indicating greylist is functioning.
I have clamav milter running, so I know I can get milters
to run successfully. I've got various black-holes configured and working
in my sendmail.mc file as well, but I'm not the kind of guy that hacks
sendmail.cf directly. That way lies madness, I'm told.
(clamav-milter enters messages in maillog when it does it's thing,
plus puts a couple of lines in the message header.)
Mail is still being sent and received normally. Spam is being rejected by
black holes or else is delivered if not listed.
Questions:
1. Did I miss something?
2. Where next to debug?
Thanks in advance,
Bill Dudley
below: greylist.conf changes from the "stock" sample, with comments:
this is my own address block:
31c31
< addr 209.191.27.16/28
---
> #addr 192.0.2.0/16
This is machines I wish to whitelist
36,38d35
< addr 209.191.58.1 # mail.monmouth.com
< addr 24.73.236.123 # linux-wlan-user mailing list
< addr 206.168.1.1 # sohc4 mailing list
addresses I wish to whitelist (yes, I know, redundancy here)
44,49d40
< from Loopframe_Guzzi@...
< from linux-wlan-user-request@...-wlan.com
< from sohc4@...
< from jddudley@...
< from tzaneo@...
< from gjdud@...
fixed a spelling error
55c46
< # recipient envelope address to achieve that.
---
> # recipient enveloppe address to achieve that.
don't greylist this user:
60,66d50
< rcpt kate@...
< rcpt kate1@...
< rcpt kate2@...
< rcpt kate3@...
< rcpt kate4@...
< rcpt kate5@...
< rcpt kate6@...
set autowhite to 10 days
91c75
< autowhite 10d
---
> #autowhite 3d