1

Topic: Postifx recipient_delimiter : SMTP authenticate username

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.1
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Debian 12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  LDAP
- 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.
====

I add _ for recipient delimiter , in postfix main.cf  (because a lot of website disallow + in email)

/etc/postfix/main.cf:recipient_delimiter = +_

It work to get the email
But when i try to send an email with user_test@example.org : i get Recipient address rejected: Sender is not same as SMTP authenticate username

2024-12-12T09:26:39.000532+01:00 nedra postfix/submission/smtpd[363030]: NOQUEUE: reject: RCPT from ****.net[**.**.**.**]: 554 5.7.1 <test@example.com>: Recipient address rejected: Sender is not same as SMTP authenticate username; from=<user_test@example.org> to=<denis@sondages.pro> proto=ESMTP helo=<[192.168.1.161]>

I try to add it in dovecot.conf too

/etc/dovecot/dovecot.conf:    recipient_delimiter = +_

Seems to don't broke something, but still can not send email with such user.

Where can i adapt configuration ?

Thank you,
Denis

----

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

2

Re: Postifx recipient_delimiter : SMTP authenticate username

https://forum.iredmail.org/topic19229-s … miter.html

3

Re: Postifx recipient_delimiter : SMTP authenticate username

I suggest just using only one delimiter (+), and use sieve rule to filter / move emails sent from different websites.

4 (edited by Shnoulle 2024-12-12 17:47:23)

Re: Postifx recipient_delimiter : SMTP authenticate username

ZhangHuangbin wrote:

I suggest just using only one delimiter (+), and use sieve rule to filter / move emails sent from different websites.

No, i need both
Because I already have some user+website and user_website
But more because a lot of website disallow + inside email username.

@chris.23lo, question is more about sending email, but right, seems need to update
this request https://github.com/iredmail/iRedAPD/blo … ch.py#L287

Do you do it yourself ?

But unsure if you talk for https://docs.iredmail.org/user.alias.ad … -addresses : this part work good, shadowAddress can be used for all sender.

I think i disable this plugin, not really needed for me.

5

Re: Postifx recipient_delimiter : SMTP authenticate username

Well, my personal suggestion is, just use one delimiter. sad

6

Re: Postifx recipient_delimiter : SMTP authenticate username

ZhangHuangbin wrote:

Well, my personal suggestion is, just use one delimiter. sad

This don't fix https://github.com/iredmail/iRedAPD/blo … ch.py#L287

I disable the plugin for 2 domains.