On 2/3/2020 8:11 AM, Gilles Chehade wrote:
On Mon, Feb 03, 2020 at 06:37:38AM -0800, Scott Vanderbilt wrote:
I'm starting to get several log entries for several errors of type:

553ORCPT address syntax error

The error is intermittent since the server is able to process other incoming
mails without error. For instance, I just sent myself an email from GMail,
and it came through successfully.

Typical log entry will look like:

Feb?? 3 06:02:26 callistus smtpd[21460]: cb9690ea8af2a8ec smtp connected
address=198.2.185.67 host=mail67.suw111.mcdlv.net
Feb?? 3 06:02:26 callistus smtpd[21460]: cb9690ea8af2a8ec smtp tls
ciphers=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256
Feb?? 3 06:02:27 callistus smtpd[21460]: cb9690ea8af2a8ec smtp
failed-command command="RCPT TO:<li...@datagenic.com>
ORCPT=rfc822;li...@datagenic.com" result="553 ORCPT address syntax error"
Feb?? 3 06:02:27 callistus smtpd[21460]: cb9690ea8af2a8ec smtp disconnected
reason=quit

Mail logs prior to latest update to 6.6-current are free of these errors, so
presumably the regression has been introduced in the latest snapshot
(OpenBSD 6.6-current (GENERIC.MP) #628: Sat Feb?? 1 23:32:22 MST 2020). In
fact, it looks as though it is related to this recent commit: 
https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/smtpd/smtp_session.c.diff?r1=1.422&r2=1.423

In which case, it may be suggested that the change is being perhaps a little
too strict.


indeed addresses in ORCPT are prefixed with a character that's not allowed in
the mailaddr character set. the fix has been committed, thanks

Thank you for your prompt response.

Now I am getting different errors after patching smtpd:

Feb 3 09:02:31 callistus smtpd[89610]: d5b5d676a4b8123d smtp connected address=207.244.88.153 host=hermes.apache.org Feb 3 09:02:32 callistus smtpd[89610]: d5b5d676a4b8123d smtp message msgid=d9c025c9 size=6821 nrcpt=1 proto=SMTP Feb 3 09:02:32 callistus smtpd[89610]: d5b5d676a4b8123d smtp envelope evpid=d9c025c9d5c66d45 from=<solr-user-return-151795-lists=datagenic....@lucene.apache.org> to=<li...@datagenic.com>
Feb  3 09:02:32 callistus mail.local: may only be run by the superuser
Feb 3 09:02:32 callistus smtpd[89610]: d5b5d67c430c9962 mda delivery evpid=d9c025c9d5c66d45 from=<solr-user-return-151795-lists=datagenic....@lucene.apache.org> to=<li...@datagenic.com> rcp t=<li...@datagenic.com> user=lists delay=1s result=PermFail stat=Error ("mail.local: may only be run by the superuser") Feb 3 09:02:32 callistus smtpd[89610]: d5b5d676a4b8123d smtp disconnected reason=quit

No doubt I've done something wrong.



Reply via email to