On 30.09.26 05:30, Luca Cavana via Postfix-users wrote:
1- Some authorized SASL login names can send mail from other addresses
2- Who receives mail with an alias can also send as that alias
3- Everyone can send mail with an address matching their SASL login name
$ cat /etc/postfix/login_maps_address
# E-Mail Address # SASL Username
/^(.*)$/ $1
On 30.09.26 10:02, Matus UHLAR - fantomas via Postfix-users wrote:
You may want to add possibility of using plussed addresses
(login+extension@domain)
/^([^+]*)(\+.*)?@(.*)$/ $1@$2
Sorry!
This has to be
/^([^+]*)(\+.*)?@(.*)$/ $1@$3
Perl supports syntax
/^([^+]*)(?:\+.*)?@(.*)$
where the (?:) modifier means the content is not remembered
- dunno if this works in pcre/postfix
--
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"To Boot or not to Boot, that's the question." [WD1270 Caviar]
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]