Re: Allowing Special Characters in Email addresses

2021-03-24 Thread Wietse Venema
Viktor Dukhovni: > On Wed, Mar 24, 2021 at 09:47:26PM +, Paul Fowler wrote: > > > I just got around to testing these parameters this evening. > > They work as you suggested but I'm concerned about the potential > > security implications. So I'll do some more research in this area and > > see

Re: Allowing Special Characters in Email addresses

2021-03-24 Thread Viktor Dukhovni
On Wed, Mar 24, 2021 at 09:47:26PM +, Paul Fowler wrote: > I just got around to testing these parameters this evening. > They work as you suggested but I'm concerned about the potential > security implications. So I'll do some more research in this area and > see whether this is still worth p

Re: Allowing Special Characters in Email addresses

2021-03-24 Thread Paul Fowler
Hi Wietse, I just got around to testing these parameters this evening. They work as you suggested but I'm concerned about the potential security implications. So I'll do some more research in this area and see whether this is still worth pursuing further. Thanks for your help, Paul On Wed, Mar

Re: Postfix redundancy

2021-03-24 Thread Wietse Venema
Implementing redundancy at the mailbox level makes sense, because that is essentially data at rest. Implementing redundancy by sharing the email queue appears to make less sense: it looks like making routers redundant by sharing their packet queues. Both are essentially handling data in flight. T

Re: Postfix redundancy

2021-03-24 Thread Bill Cole
On 24 Mar 2021, at 7:03, Sven Schwedas wrote: If that's not acceptable, you need some form of file system/block layer replication (DRBD, Ceph, Gluster, …) to get the spool data to a spare. Have you actually used such a storage system for the Postfix queue? I've used SAN storage (RAID 10 on t

Re: Postfix redundancy

2021-03-24 Thread Bill Cole
On 24 Mar 2021, at 6:28, Eero Volotinen wrote: > How about using ceph / glusterfs? Have you actually used either of those for the Postfix queue? -- Bill Cole b...@scconsult.com or billc...@apache.org (AKA @grumpybozo and many *@billmail.scconsult.com addresses) Not Currently Available For Hire

Re: Postfix redundancy

2021-03-24 Thread Bill Cole
On 24 Mar 2021, at 6:16, Patrick Chemla wrote: Hi, Apparently, searching Google, I still can't find a good solution to build a fault tolerant emails platform. That is because such systems are typically 'bespoke,' designed to fit specific circumstances and it isn't in the interest of people

Re: Allowing Special Characters in Email addresses

2021-03-24 Thread Wietse Venema
Paul Fowler: > Thanks Wietse, > I've been reading up and I'll start testing with the parameter > allow_untrusted_routing and I'll let you know how I get on. You will need both of these: allow_untrusted_routing = no swap_bangpath = no Wietse > On Wed, Mar 24, 2021 at 12:44 PM Wietse Vene

Re: Allowing Special Characters in Email addresses

2021-03-24 Thread Matus UHLAR - fantomas
On 24.03.21 12:27, Paul Fowler wrote: No we don't need to support UUCP addresses. We just need to allow the usage of special characters in the local part of the email address. With regard to UUCP i've also looked at the parameter swap_bangpath and tested with this enabled. However we don't need t

Re: Allowing Special Characters in Email addresses

2021-03-24 Thread Paul Fowler
Hi David, I got the same "relay denied" result when the local part of the email address was in quotes. Thanks, Paul On Wed, Mar 24, 2021 at 12:51 PM David Bürgin wrote: > Paul Fowler: > > Is it possible allow the use of special characters safely in the local > part of a email address. > > We

Re: Allowing Special Characters in Email addresses

2021-03-24 Thread Paul Fowler
Thanks Wietse, I've been reading up and I'll start testing with the parameter allow_untrusted_routing and I'll let you know how I get on. On Wed, Mar 24, 2021 at 12:44 PM Wietse Venema wrote: > Paul Fowler: > > Hi Jaroslaw, > > > > Yes I think your correct. > > > > Just some further into, if I

Re: Allowing Special Characters in Email addresses

2021-03-24 Thread David Bürgin
Paul Fowler: Is it possible allow the use of special characters safely in the local part of a email address. We have a need to be able to accept emails that include special characters like ! e.g. joe!b...@example.com Have you tried what happens when you quote the loc

Re: Allowing Special Characters in Email addresses

2021-03-24 Thread Wietse Venema
Paul Fowler: > Hi Jaroslaw, > > Yes I think your correct. > > Just some further into, if I add the sender's IP to mynetworks then it will > accept the email with a special character "!" in the local part. > So it seems postfix can accept special characters, I'm just not sure how to > allow this f

Re: Allowing Special Characters in Email addresses

2021-03-24 Thread Paul Fowler
Hi Matus, No we don't need to support UUCP addresses. We just need to allow the usage of special characters in the local part of the email address. With regard to UUCP i've also looked at the parameter swap_bangpath and tested with this enabled. However we don't need to rewrite the bang "!" to "@"

Re: Allowing Special Characters in Email addresses

2021-03-24 Thread Matus UHLAR - fantomas
On 24.03.21 11:46, Paul Fowler wrote: Just some further into, if I add the sender's IP to mynetworks then it will accept the email with a special character "!" in the local part. yes, because by adding IP to mynetworks, you usually allow the sending IP to relay mail. the ! has still special me

Re: Allowing Special Characters in Email addresses

2021-03-24 Thread Dan Mahoney
This has come up before: http://postfix.1071664.n5.nabble.com/special-characters-in-mail-address-td47792.html Short version: lots of outbound mail servers will refuse to *send* to email addresses with special characters. But at least when these posts were written, there was an option that turn

Re: Allowing Special Characters in Email addresses

2021-03-24 Thread Paul Fowler
*Correction:* "So it seems postfix can accept special characters, I'm just not sure how to allow this for every *recipient*" It allows special characters in senders local part of a email address It allows special characters in the recipients local part of a email address when the senders ip is in

Re: Allowing Special Characters in Email addresses

2021-03-24 Thread Paul Fowler
Hi Jaroslaw, Yes I think your correct. Just some further into, if I add the sender's IP to mynetworks then it will accept the email with a special character "!" in the local part. So it seems postfix can accept special characters, I'm just not sure how to allow this for every sender. Regards, Pa

Re: Postfix redundancy

2021-03-24 Thread Sven Schwedas
It really depends on what guarantees you need. Usually on the MTA layer it's fine to just spin up separate instances, and if one email gets lost in the 5 seconds between its receipt being acknowledged and it being forwarded to an MDA, c'est la vie. If that's not acceptable, you need some form

Re: Allowing Special Characters in Email addresses

2021-03-24 Thread Jaroslaw Rafa
Dnia 24.03.2021 o godz. 10:15:14 Paul Fowler pisze: > > Is it possible allow the use of special characters safely in the local part > of a email address. > We have a need to be able to accept emails that include special characters > like ! e.g. joe!b...@example.com > > When trying to send a test

Re: Postfix redundancy

2021-03-24 Thread Eero Volotinen
How about using ceph / glusterfs? and then you need some ldap or similar userdatabase or mysql cluster.. Eero On Wed 24. Mar 2021 at 12.16, Patrick Chemla wrote: > Hi, > > > Apparently, searching Google, I still can't find a good solution to build > a fault tolerant emails platform. > > > Is th

Postfix redundancy

2021-03-24 Thread Patrick Chemla
Hi, Apparently, searching Google, I still can't find a good solution to build a fault tolerant emails platform. Is there any good solution to synchronize 2 emails servers, including incoming mails, having users connected to any of the server?

Allowing Special Characters in Email addresses

2021-03-24 Thread Paul Fowler
Hi, Is it possible allow the use of special characters safely in the local part of a email address. We have a need to be able to accept emails that include special characters like ! e.g. joe!b...@example.com When trying to send a test mail on a test server I get 'Relay Access denied' ``` postfix