Hi Viktor,

Thanks for your reply.

I've provided all information you asked.

This is a lab server.
It has about 8 IPs and multiple postfix configurations (from older tests).

Although this server has multiple IPs, I'm not running multiple
instances at this time.

The pourpose of this test is to build a postfix server running on
multiple ips, with multiple transports and one self-made anti-spam
system.

So there's a lot of things yet to be accomplished.

In time, would this make any sense:

1. spamfilter    unix    -       n       n       -       -       pipe
2.        user=vmail argv=/home/postfix/app/tools/contentFilter.php
${nexthop} ${size} ${sender} ${recipient}
3.        /usr/sbin/sendmail -oi -f ${sender} ${recipient}

I'm calling sendmail at line 3 in an attempt to make postfix re-inject
message back into queue.

No success at all.

Any help ..

Thanks!

Em sex, 4 de jan de 2019 às 21:33, Viktor Dukhovni
<postfix-us...@dukhovni.org> escreveu:
>
>
>
> > On Jan 4, 2019, at 6:18 PM, Rafael Azevedo <raf...@gmail.com> wrote:
> >
> > # postmulti -l
> > -               -               y         /etc/postfix
> >
> > # postfix status
> > postfix: Postfix is running with backwards-compatible default settings
> > postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
> > postfix: To disable backwards compatibility use "postconf
> > compatibility_level=2" and "postfix reload"
> > postfix/postfix-script: the Postfix mail system is running: PID: 5158
> >
> >
> > # pgrep -x qmgr | while read pid; do ps -o pid,ppid,args -p "$pid";
> > xargs -0n1 &lt; /proc/$pid/environ; done
> >    PID    PPID COMMAND
> > 1201099    5158 qmgr -l -t fifo -u -o syslog_name=xx.net
> > MAIL_CONFIG=/etc/mailservers/xx.net/host.xx.net/
> > MAIL_LOGTAG=postfix
>
> So your only "registered" Postfix instance is in /etc/postfix, but
> the queue manager is running with:
>
>         MAIL_CONFIG=/etc/mailservers/xx.net/host.xx.net/
>
> How is that supposed to work???  And why is "postdrop" logging
> problems using "/etc/postfix/" and not "/etc/mailservers/xx.net/host.xx.net/"?
>
> I am afraid you're not providing sufficiently detailed information
> about your configuration...  Not much help is possible under these
> circumstances.
>
> --
>         Viktor.
>

Reply via email to