OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Cant receive emails

From: Matt Hayes (dominianslackadelic.com)
Date: Sun Apr 01 2007 - 08:31:08 CDT


Alexandros Fragkiadakis wrote:
> Hi,
> I've installed postfix,mailscanner,clamav and spamassasin in my server. When i write "header_checks=regexp:/etc/postfix/header_checks" in main.cf and "/^Received:/ HOLD" in header_checks file, i cant receive any email. If i comment these, postfix works again.
> Do you know what the problem is?
>
> Thanks,
>
> Alexandros
>
>
>

Alexandros,

Assuming that you have /var/spool/MailScanner/{incoming|quarantine}, try
this:

chown postfix.postfix /var/spool/MailScanner/incoming
chown postfix.postfix /var/spool/MailScanner/quarantine

Make sure the user/group match what you used for your postfix installation.

-Matt