1

Topic: SMTP error: 501 5.1.7 Bad sender address syntax

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====


My server of mail is  giving me this error when you configure the Fetchmail to pick up my ISP's mails of MailServer with the following exit
Jul 23 10:35:34 correo postfix/smtpd[5039]: warning: Illegal address syntax from localhost[::1] in MAIL command: <MAILER-DAEMON@192.168.100.2>
Jul 23 10:35:34 correo fetchmail[4211]: reading message rubia@alinet.cu@192.168.100.2:1 of 8 (3904 octets) (log message incomplete)
Jul 23 10:35:34 correo fetchmail[4211]: SMTP error: 501 5.1.7 Bad sender address syntax
Jul 23 10:35:34 correo fetchmail[4211]: not flushed
Jul 23 10:35:35 correo postfix/smtpd[5039]: warning: Illegal address syntax from localhost[::1] in MAIL command: <MAILER-DAEMON@192.168.100.2>
Jul 23 10:35:35 correo fetchmail[4211]: reading message rubia@alinet.cu@192.168.100.2:2 of 8 (3898 octets) (log message incomplete)
Jul 23 10:35:35 correo fetchmail[4211]: SMTP error: 501 5.1.7 Bad sender address syntax

The way out of my filing cabinet fetchmail.log tells me the following error

etchmail: 3 messages for rubia@alinet.cu at 192.168.100.2 (11671 octets).
fetchmail: reading message rubia@alinet.cu@192.168.100.2:1 of 3 (3904 octets) (log message incomplete)
fetchmail: SMTP error: 501 5.1.7 Bad sender address syntax
fetchmail:  not flushed
fetchmail: reading message rubia@alinet.cu@192.168.100.2:2 of 3 (3898 octets) (log message incomplete)
fetchmail: SMTP error: 501 5.1.7 Bad sender address syntax
fetchmail:  not flushed
fetchmail: reading message rubia@alinet.cu@192.168.100.2:3 of 3 (3869 octets) (log message incomplete)
fetchmail: SMTP error: 501 5.1.7 Bad sender address syntax
fetchmail:  not flushed
fetchmail: Server certificate verification error: self signed certificate

The fact that you are  provoking these my errors and I eat may solve it, I use Iredmail at present 0,9,8

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: SMTP error: 501 5.1.7 Bad sender address syntax

ybritozamora wrote:

fetchmail: SMTP error: 501 5.1.7 Bad sender address syntax

What's the real sender address your fetchmail sends?

ybritozamora wrote:

fetchmail: Server certificate verification error: self signed certificate

Seems your fetchmail doesn't like self-signed ssl cert, you have to either disable ssl cert verification in fetchmail, or make sure server uses a valid cert.