bug-mailfromd
Re: [Bug-mailfromd] Deleting and adding the same recipient
>> Running this on postfix-2.10 (rhel7) with mailfromd-8.7
>
> According to the logs, this qualifies as a bug in milter implementation
> of Postfix. To be sure, can you send me the exact script you used in
> the experiment and mailfromd configuration (if any). I'd try to
> reproduce it then. If you wish, you can send them out to my private
> email.
I created a stock rehl8 with mailfrom-8.7 and postfix-3.3.1-12
Tried to leave everything as is and just made the below additions/changes.
-- /etc/postfix/main.cf --
smtp_tls_security_level = may
relay_domains = $mydestination, hash:/etc/postfix/transport
smtpd_recipient_restrictions = reject_unauth_destination reject_unknown_recipient_domain permit_mynetworks
milter_mail_macros = i {auth_type} {auth_authen} {auth_author} {mail_addr} {client_addr}
milter_rcpt_macros = i {rcpt_addr} {rcpt_host} {rcpt_mailer} {mail_addr} {auth_authen}
smtpd_milters = inet:127.0.0.1:3331
non_smtpd_milters = inet:127.0.0.1:3331
unknown_address_reject_code = 554
unverified_recipient_reject_code = 550
enable_long_queue_ids = yes
mynetworks = hash:/etc/postfix/networks
-- /etc/postfix/transport --
domain.com smtp:[domain.com]
-- mailfromd.mf --
prog envrcpt
do
rcpt_delete($1)
rcpt_add("alias@xxxxxxxxxx")
rcpt_delete("<alias@xxxxxxxxxx>")
rcpt_add("alias@xxxxxxxxxx")
done
Below is what I have on maillog
Jun 28 16:15:00 server pusula/smtpd[264815]: connect from server.local[127.0.0.1]
Jun 28 16:15:14 server pusula/smtpd[264815]: 49vrhL14pvzBGTn: client=server.local[127.0.0.1]
Jun 28 16:15:21 server pusula/cleanup[264963]: 49vrhL14pvzBGTn: message-id=<49vrhL14pvzBGTn@server.local>
Jun 28 16:15:21 server pusula/qmgr[264819]: 49vrhL14pvzBGTn: from=<mehmet@xxxxxxxxxxxxx>, size=378, nrcpt=2 (queue active)
Jun 28 16:15:21 server pusula/qmgr[264819]: 49vrhL14pvzBGTn: removed
Jun 28 16:15:22 server pusula/smtpd[264815]: disconnect from server.local[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Best regards,
--
Mehmet