[milters] Archive

Lists Index Date Thread Search

Article: 1045
From: Anthony Howe
Date: 2010-09-01 02:35:50 -0400
Subject: SnertSoft milters & Postfix (was: Re: cannot compile under debian

On 31/08/2010 19:30, G√ľnter Grodotzki whispered from the shadows...:
> Are there any tutorials how to use your milters with postfix?

None that anyone I know has written.

There is only one required option to set in any SnertSoft milter in
order to handle a difference between Postfix's postmap and Sendmail's


From the common options found in most milter .cf files (note the
"experimental" should be ignored, as it is no longer such):

# Key lookups must include the terminating NUL byte. Intended for
# Postfix with postmap(1) generated .db files; experimental.

Most of what is generally required is covered by Postfix's milter
documentation http://www.postfix.org/MILTER_README.html

The set of supported Sendmail macros has been a little tricky in the
past, in particular for milter-ahead that relied on {rcpt_addr} and
{rcpt_host} values being defined. For Postfix with milter-ahead, you
need to use the call-ahead-db option, since the necessary macros aren't
defined (until version 2.6). The call-ahead-db option does support the
Sendmail mailertable and Postfix transport file formats.

Other than that, I'm not aware of any other common or specific milter
Postfix related configuration "gotchas".

There are at least two Postix milter users who do follow the mailing
list and may have additional feedback.

Anthony C Howe            Skype: SirWumpus                  SnertSoft
+33 6 11 89 73 78       Twitter: SirWumpus      BarricadeMX & Milters
http://snert.com/      http://nanozen.info/     http://snertsoft.com/

Lists Index Date Thread Search