postfix does not send emails
yuwang
yuwang at cs.fsu.edu
Mon Aug 26 01:55:25 UTC 2019
Rick,
Again it's ownership issue. Make sure postfix owns:
ls -l /var/spool/MailScanner
drwxr-xr-x. 2 root root 4096 Jan 27 2019 archive
drwxrwx--- 47 postfix mtagroup 980 Aug 25 21:50 incoming
drwxr-xr-x. 2 root root 4096 Jan 27 2019 milterin
drwxr-xr-x. 2 root root 4096 Jan 27 2019 milterout
drwxr-xr-x. 34 postfix mtagroup 4096 Aug 25 03:23 quarantine
drwxrwx---. 37 postfix mtagroup 4096 Aug 24 03:14 ramdisk_store
drwxr-xr-x. 2 postfix root 4096 Oct 15 2018 spamassassin
James
On 2019-08-25 21:04, Rick Gutierrez wrote:
> Hi list , I have a somewhat strange situation, when I activate in
> postfix to filter with MailScanner, the mails are not sent and they
> are queue ,
>
> look at the output of an email
>
> escm postfix/pickup[17442]: 43B739D782: uid=0 from=<root at localhost>
> Aug 25 18:55:52 escm postfix/cleanup[17472]: 43B739D782: hold: header
> Received: by escm.domain.com (Postfix, from userid 0)??id 43B739D782;
> Sun, 25 Aug 2019 18:55:52 -0600 (CST) from local;
> from=<root at localhost> to=<root at localhost>
> Aug 25 18:55:52 escm postfix/cleanup[17472]: 43B739D782:
> message-id=<20190826005552.43B739D782 at escm.domain.com>
>
> If I remove the option in main.cf that does not go through
> MailScanner the mails go out without problems
>
> #header_checks = regexp:/etc/postfix/header_checks
>
> some help or advice?
>
> Another message that throws me in the log, which I think is due to
> permissions.
>
> MailScanner[18076]: Cannot create temporary Work Dir
> /var/spool/MailScanner/incoming/18076. Are the permissions and
> ownership of /var/spool/MailScanner/incoming correct?
>
> ls -la /var/spool/MailScanner/
> total 32
> drwxr-xr-x 9 root root 4096 Aug 19 17:10 .
> drwxr-xr-x. 9 root root 4096 Aug 19 17:02 ..
> drwxr-xr-x 2 root root 4096 Jan 27 2019 archive
> drwxrwx--- 36 root mtagroup 760 Aug 21 18:34 incoming
> drwxr-xr-x 2 root root 4096 Jan 27 2019 milterin
> drwxr-xr-x 2 root root 4096 Jan 27 2019 milterout
> drwxr-xr-x 5 postfix nginx 4096 Aug 21 10:37 quarantine
> drwxrwx--- 36 root mtagroup 4096 Aug 21 18:34 ramdisk_store
> drwxr-xr-x 2 postfix postfix 4096 Aug 19 17:04 spamassassin
>
>
>
> --
> rickygm
>
> http://gnuforever.homelinux.com
More information about the MailScanner
mailing list