Topic: Illegal address syntax / Bad Recipient Address Syntax
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): v2020082501
- Deployed with iRedMail Easy or the downloadable installer?: iRedMail Easy
- Linux/BSD distribution name and version: CentOS Linux release 8.2.2004
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?: No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Sep 21 15:20:11 mail1 postfix/submission/smtpd[2679075]: 4Bw7RH1v9xzGFDJ9: client=c-73-14-134-214.hsd1.co.comcast.net[73.14.134.214], sasl_method=PLAIN, sasl_username=mark@changedscreening.com
Sep 21 15:20:11 mail1 postfix/submission/smtpd[2679075]: warning: Illegal address syntax from c-73-14-134-214.hsd1.co.comcast.net[73.14.134.214] in RCPT command: <mark@changedscreening.com; tomc@changedchus.com>
=====
Hello Everyone
I am requesting some suggestions on the above error. My client is using QuickBooks and the mails are rejecting with the error "Bad Recipient Address Syntax". Upon checking the log, I can see the error "Illegal address syntax" on mail log.
Here is the content of the file /etc/postfix/command_filter.pcre
# cat /etc/postfix/command_filter.pcre
#
# This file is managed by iRedMail Team "support@iredmail.org" with Ansible,
# please do __NOT__ modify it manually.
#
# Work around clients that send `RCPT TO:<'user@domain'>` (Outlook 2003/2007).
# WARNING: do not lose the parameters that follow the address.
/^(RCPT\s+TO:\s*<)'([^[:space:]]+)'(>.*)/ $1$2$3
[root@mail1 log]#
Any idea what changes needs to be done to above Regex?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.