On Fri, 8 Feb 2019 at 16:18, Robert Moskowitz <r...@htt-consult.com> wrote:
>
> I have dug some more and not found anything to help.  I went through 
> http://www.postfix.org/docs.html where 2 of the amavis howtos are no longer 
> available.  I have replicated the main.cf and master.cf as shown in 
> http://www.shisaa.jp/postset/mailserver-1.html and still no apparent running 
> of amavis on the test messages.
>
> I have tried to get debugging working on postfix.  After reading 
> http://www.postfix.org/DEBUG_README.html, I have tried appending -v to the 
> smtpd lines in master.cf and not seen any more detail.  All I am seeing is:
>
> Feb  8 11:11:45 klovia postfix/pickup[14472]: 3DD4059DA: uid=0 from=<root>
> Feb  8 11:11:45 klovia postfix/cleanup[14478]: 3DD4059DA: 
> message-id=<20190208161145.3dd405...@klovia.htt-consult.com>
> Feb  8 11:11:45 klovia postfix/qmgr[14473]: 3DD4059DA: 
> from=<r...@klovia.htt-consult.com>, size=430, nrcpt=1 (queue active)
> Feb  8 11:11:45 klovia dovecot: lda(r...@test.htt-consult.com): sieve: 
> msgid=<20190208161145.3dd405...@klovia.htt-consult.com>: stored mail into 
> mailbox 'INBOX'
> Feb  8 11:11:45 klovia postfix/pipe[14484]: 3DD4059DA: 
> to=<r...@test.htt-consult.com>, relay=dovecot, delay=1.1, 
> delays=0.8/0.05/0/0.22, dsn=2.0.0, status=sent (delivered via dovecot service)
> Feb  8 11:11:45 klovia postfix/qmgr[14473]: 3DD4059DA: removed
>
> Something is wrong, but I have yet to find it.
>
> Any and all help greatly appreciated.

Try sending to amavis via smtp, not lmtp, this is the way I have it
set up in master.cf (extract only):

...
amavis unix - - y - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
...

and check for the setting of inet_socket_port in amavis, which needs
to be 10024 (set as default in debian, but not in original
amavisd-new):
grep -r \$inet_socket_port /etc/amavis

You will need to restart amavis after any configuration changes, and
maybe reload postfix too (it's easy enough).

Reply via email to