Page 1 of 1

Trouble configuring Amavisd-Milter

Posted: Wed Jan 31, 2007 10:04 am
by Netscape
Hi,
I´m trying to set up Amavisd Milter software by using the HowTo from the Scalix Wiki.

It works great until I came to point to configure sendmail.

I tried to rebuild the sendmail.cf like

"sudo sh -c "m4 sendmail.mc > sendmail.cf"

but I get the error:

NONE:0: m4: ERROR: EOF in String

What does it mean?

Posted: Wed Jan 31, 2007 10:11 am
by ScalixSupport
Hi!
In the lines of howto document:
define(`MILTER', 1)dnl
INPUT_MAIL_FILTER(`milter-amavis', `S=local:/var/amavis/amavisd-milter.sock, F=T, T=S:10m;R:10m;E:10m')dnl

The end quotes mentioned is ', rather it should have been `. So the line should read:
define(`MILTER`, 1)dnl
INPUT_MAIL_FILTER(`milter-amavis`, `S=local:/var/amavis/amavisd-milter.sock, F=T, T=S:10m;R:10m;E:10m`)dnl


One you do this, try to see if you are able to recreate sendmail.cf using:

Code: Select all

sudo sh -c "m4 sendmail.mc > sendmail.cf"

Thanks,
Subir

Posted: Wed Jan 31, 2007 11:34 am
by Netscape
I´ve made the changes you told but still the same error. Could it be something else?

Posted: Thu Feb 01, 2007 9:00 am
by ScalixSupport
Hi!

Can you please check the complete sendmail.mc file if there is no other line that requires
similar replacement of quotes (') with the character back quotes (`).

Please tell us the version of Sendmail and m4 you have, Scalix version, and OS you are
using?

Thanks,
Subir