--- In milter-greylist@yahoogroups.com, "Adri Koppes" <adrik@...> wrote:
>
> > --- In milter-greylist@yahoogroups.com, "Adri Koppes"
> > <adrik@> wrote:
> > >
> > > >
> > > > Adri Koppes <adrik@> wrote:
> > > >
> > > > > I initially had problems with milter-sender crashing, using the
> > > > > proposed macros for milter-greylist.
> > > >
> > > > You took them from the README, right?
> > >
> > > Yes, initially I used the macros from the milter-greylist README.
> > > These caused problems with milter-sender.
> > > After changing them both milter-greylist and milter-sender
> > worked fine.
> > >
> >
> > That's good news, but who suggested the changes? It does not
> > look like the README's macros or like what is suggested by
> > Howe
> > (http://www.snert.com/Software/ecartis/index.php?go=/milters/2
> > 006-06/959).
> >
>
> Ugo,
>
> I started using some macros proposed by Anthony Howe in an earlier post
> on www.snert.com, but these didn't solve the problem completely.
> I combined Anthony's setting with some other setting I was using before
> and arrived at these as a working solution for me.
> Have you tried Anthony's proposed settings? The article you refer to is
> quite recent.
> If they work then use them, otherwise you're welcome to try my settings.
>
> Adri.
>
I ended up working it out with Anthony Howe finally, here is what I have:
dnl # Instructions for milter-greylist and milter-sender
define(`_FFR_MILTER', `1')dnl
dnl Milter-sender needs this:
define(`confPRIVACY_FLAGS',
confPRIVACY_FLAGS`,goaway,authwarnings,novrfy,noexpn,restrictqrun')
dnl Milter-ahead INPUT_MAIL
INPUT_MAIL_FILTER(
`milter-ahead',
`S=unix:/var/run/milter/milter-ahead.socket,
T=C:1m;S:1m;R:6m;E:2m'
)dnl
dnl Milter-sender INPUT_MAIL_FILTER
INPUT_MAIL_FILTER(
`milter-sender',
`S=unix:/var/run/milter/milter-sender.socket, T=C:1m;S:30s;R:6m'
)
dnl Milter-greylist INPUT_MAIL_FILTER
INPUT_MAIL_FILTER(`greylist',
`S=local:/var/milter-greylist/milter-greylist.sock')
dnl Defaults plus {client_resolve} for milter-sender.
define(`confMILTER_MACROS_CONNECT', `j, _, {daemon_name}, {if_name},
{if_addr}, {client_resolve}')
dnl Defaults plus {verify} for milter-sender, milter-greylist.
define(`confMILTER_MACROS_HELO', `{tls_version}, {cipher},
{cipher_bits}, {cert_subject}, {cert_issuer}, {verify}')
dnl Defaults
define(`confMILTER_MACROS_ENVFROM', `i, {auth_type}, {auth_authen},
{auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}')
dnl Defaults plus {greylist} for milter-greylist.
define(`confMILTER_MACROS_ENVRCPT', `{rcpt_mailer}, {rcpt_host},
{rcpt_addr}, {greylist}')
dnl Defaults
define(`confMILTER_MACROS_EOM', `{msg_id}')
dnl # End of instructions for milter-greylist et milter-sender
This seems to work.