milter-sender (cache) is a SendMail milter (cache) that provides realtime sender address verification. It does an instant callback to the primary MX of the mail sender's domain and tries to find out if the sender address is valid.
milter-sender is linked against LibSnert, so look there first. Appropriate BerkeleyDB Version should also be available.
I'm currently using milter-sender 0.50
this configures milter-sender to run in same group as the SendMail MSP (usually smmsp), which is preferable as the program wants to read sendmail.cf and the access db file. Doesn't need to run as a user that has write access to sendmail config files, though, as I had in the earlier setup :)
The directory definitions may seem a bit redundant, but as I'm on OpenBSD, I don't have any sysv style init scripts, and in a previous version, milter-sender suddenly used a different directory than /var/lib/milter-sender for it's data files, which I didn't like.
If you don't have GNU xargs, patch the XARGSI and ARCHIVE variables in the makefile in the same way as for LibSnert.
> gmake
> gmake install
The current milter-sender uses a config-file instead of command line options.
Refer to the milter-sender (cache) homepage for a documentation of the switches.
To run milter-sender, I used to use the following command line with previous versions (up to 0.49):
/usr/local/sbin/milter-sender -d 127.0.0.1 -s /etc/mail/sendmail.cf \
-C 60 -R -u 3 unix:/var/lib/milter-sender/socket
milter-sender is linked against LibSnert, so look there first. Appropriate BerkeleyDB Version should also be available.
I'm currently using milter-sender 0.50
> cd com/snert/src/milter-sender
> ./configure --with-db=/usr/local/BerkeleyDB.4.1 --enable-run-user=antispam \
--enable-run-group=smmsp --enable-startup-dir=/usr/local/etc \
--disable-debug --localstatedir=/var/libthis configures milter-sender to run in same group as the SendMail MSP (usually smmsp), which is preferable as the program wants to read sendmail.cf and the access db file. Doesn't need to run as a user that has write access to sendmail config files, though, as I had in the earlier setup :)
The directory definitions may seem a bit redundant, but as I'm on OpenBSD, I don't have any sysv style init scripts, and in a previous version, milter-sender suddenly used a different directory than /var/lib/milter-sender for it's data files, which I didn't like.
If you don't have GNU xargs, patch the XARGSI and ARCHIVE variables in the makefile in the same way as for LibSnert.
> gmake
> gmake install
The current milter-sender uses a config-file instead of command line options.
Refer to the milter-sender (cache) homepage for a documentation of the switches.
To run milter-sender, I used to use the following command line with previous versions (up to 0.49):
/usr/local/sbin/milter-sender -d 127.0.0.1 -s /etc/mail/sendmail.cf \
-C 60 -R -u 3 unix:/var/lib/milter-sender/socket