Hi,
I've a problem with sending mail from a php-based forum software. The mail is send via smtp, delivered to port 587 using a user/password login. The forum software sends the mails in formated address style: User-name <[email protected]>
Every Username that contains certain characters is rejected! So far I have identified "-" and "\" for being rejected. The characters occure in the user's name, not in his smtp address. The user in question is "a-bulas" so the formated mail should look like "a-bulas <[email protected]>".
The issue is noted with "psa-pc-remote[21388]: Incorrect recipient mailname : a-bulas" which then results in "5.7.1 Command rejected". Where is the root of my problem? And what can I do to resolve it?
Generally mails are send and delivered without any issues, only if some characters occure in the user's name this issue arises.
Below is part of the /var/mail/maillog:
And help or hint is appreciated!
Barungar
I've a problem with sending mail from a php-based forum software. The mail is send via smtp, delivered to port 587 using a user/password login. The forum software sends the mails in formated address style: User-name <[email protected]>
Every Username that contains certain characters is rejected! So far I have identified "-" and "\" for being rejected. The characters occure in the user's name, not in his smtp address. The user in question is "a-bulas" so the formated mail should look like "a-bulas <[email protected]>".
The issue is noted with "psa-pc-remote[21388]: Incorrect recipient mailname : a-bulas" which then results in "5.7.1 Command rejected". Where is the root of my problem? And what can I do to resolve it?
Generally mails are send and delivered without any issues, only if some characters occure in the user's name this issue arises.
Below is part of the /var/mail/maillog:
Code:
Jun 15 14:13:55 mimir postfix/smtpd[17372]: connect from mimir.example.de[2a01:xxx:yy:1000:b01c:143e:0:1]
Jun 15 14:13:55 mimir postfix/smtpd[17372]: B87BFC1CC4: client=mimir.example.de[2a01:xxx:yy:1000:b01c:143e:0:1], sasl_method=LOGIN, [email protected]
Jun 15 14:13:55 mimir /usr/lib64/plesk-9.0/psa-pc-remote[21388]: Unable to get sender domain by sender mailname
Jun 15 14:13:55 mimir /usr/lib64/plesk-9.0/psa-pc-remote[21388]: Unable to get sender domain by sender mailname
Jun 15 14:13:55 mimir /usr/lib64/plesk-9.0/psa-pc-remote[21388]: Unable to get sender domain by sender mailname
Jun 15 14:13:55 mimir postfix/cleanup[17375]: B87BFC1CC4: message-id=<[email protected]>
Jun 15 14:13:55 mimir check-quota[17380]: Starting the check-quota filter...
Jun 15 14:13:55 mimir /usr/lib64/plesk-9.0/psa-pc-remote[21388]: handlers_stderr: SKIP
Jun 15 14:13:55 mimir /usr/lib64/plesk-9.0/psa-pc-remote[21388]: SKIP during call 'check-quota' handler
Jun 15 14:13:55 mimir /usr/lib64/plesk-9.0/psa-pc-remote[21388]: Incorrect recipient mailname : a-bulas
Jun 15 14:13:55 mimir postfix/cleanup[17375]: B87BFC1CC4: milter-reject: END-OF-MESSAGE from mimir.example.de[2a01:xxx:yy:1000:b01c:143e:0:1]: 5.7.1 Command rejected; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<www.example.de>
Jun 15 14:13:55 mimir postfix/smtpd[17372]: disconnect from mimir.example.de[2a01:xxx:yy:1000:b01c:143e:0:1]
And help or hint is appreciated!
Barungar