Resctrict client (by its IP@) to send from specific "sender" only

2020-04-30 Thread Jix
Hi all, Hope you're all doing well in this unusual context. I'm working on a postfix that routes outgoing mail only. It's been a while I try to configure postfix to restrict a specific client (by its IP@) to send from a specific sender only. I browsed forums, but never found exactly what I'm

Re: Replace null sender addresses?

2020-04-30 Thread Wietse Venema
Jason Bailey: > I've got notification emails from a legacy system passing through a > Postfix install I'm using to relay messages to the proper outbound > server. Things are working great except occasionally messages are sent > from the legacy system with a null sender address (e.g. "MAIL > FROM:

Replace null sender addresses?

2020-04-30 Thread Jason Bailey
I've got notification emails from a legacy system passing through a Postfix install I'm using to relay messages to the proper outbound server. Things are working great except occasionally messages are sent from the legacy system with a null sender address (e.g. "MAIL FROM: <>"). Is there a way

Re: AUTH Messages in log

2020-04-30 Thread Wietse Venema
Keith: > I'm coming back into Postfix after not really needing to dig into it much > the last few years and trying to > catch up to some of the changes. Last version I really used heavily was 2.x > something. > > Using version 3.2.2 under FreeBSD 11. > > I see a lot of these in the logs: > >

Re: AUTH Messages in log

2020-04-30 Thread @lbutlr
On 30 Apr 2020, at 10:52, Keith wrote: > Using version 3.2.2 under FreeBSD 11. The current version of 3.2 is 3.2.12, so update at least to that. > There are a lot of this in the log as bots etc try to AUTH on port 25. Is > there a way to turn this off or at least not have it scattered in the

Re: AUTH Messages in log

2020-04-30 Thread Nick
On 2020-04-30 17:52 BST, Keith wrote: > I'm coming back into Postfix after not really needing to dig into it > much the last few years and trying to catch up to some of the > changes. Last version I really used heavily was 2.x something. Postscreen arrived since then so you should probably use

AUTH Messages in log

2020-04-30 Thread Keith
I'm coming back into Postfix after not really needing to dig into it much the last few years and trying to catch up to some of the changes. Last version I really used heavily was 2.x something. Using version 3.2.2 under FreeBSD 11. I see a lot of these in the logs: Apr 30 01:51:42 mail1

Re: warning: Illegal address syntax on submission

2020-04-30 Thread Wietse Venema
Kurt Roeckx: > Hi, > > The log file shows: > postfix/submission/smtpd[28578]: warning: Illegal address syntax from > unknown[192.168.1.144] in RCPT command: Indeed, unquoted whitespace is not valid in this context. > Since it's a user of my domain, I would expect to get an error. Is > there a

Re: Is there a library for validating gmail's Variants

2020-04-30 Thread Jaroslaw Rafa
Dnia 30.04.2020 o godz. 11:59:18 Ralph Seichter pisze: > > Are you certain that "he...@gmail.com" and "h.e...@gmail.com" are the > same user as far as Google is concerned? In any case, this is not a > Postfix issue. Not sure what do you mean by "the same user", but at least it's certain that

Re: Is there a library for validating gmail's Variants

2020-04-30 Thread Ralph Seichter
* Walter Peng: > Many users use gmail's variants to sign up the site, as we know, > foo...@gmail.com is equivalent to below similar: > > foo...@googlemail.com > foob...@googlemail.com > [...] Are you certain that "he...@gmail.com" and "h.e...@gmail.com" are the same user as far as Google is

warning: Illegal address syntax on submission

2020-04-30 Thread Kurt Roeckx
Hi, The log file shows: postfix/submission/smtpd[28578]: warning: Illegal address syntax from unknown[192.168.1.144] in RCPT command: Where domain is in mydestination. There where other people in To/Cc, but that user didn't get the email, nor did the sender get any indication that that user

Re: Is there a library for validating gmail's Variants

2020-04-30 Thread Sam Tuke
I see the value of the ability to recognise such Gmail address variants, and would use it myself to prevent people trivially working around Gmail addresses being on a blacklist email receipt or for service signup. Sam. On 30/04/2020 09:27, Walter Peng wrote: > Hello community, > > We are

Re: Is there a library for validating gmail's Variants

2020-04-30 Thread Walter Peng
Thanks Viktor for these suggestions. I will reconsider my implementation. Regards. Viktor Dukhovni wrote: On Apr 30, 2020, at 3:27 AM, Walter Peng wrote: Is there a library existing to validate all those variants to make sure they are exactly the same account? Why do you feel you need to

Re: Is there a library for validating gmail's Variants

2020-04-30 Thread Viktor Dukhovni
> On Apr 30, 2020, at 3:27 AM, Walter Peng wrote: > > Is there a library existing to validate all those variants to make sure > they are exactly the same account? Why do you feel you need to do this? What if a user opens multiple Gmail accounts? Or uses multiple accounts at more than one of

Re: Is there a library for validating gmail's Variants

2020-04-30 Thread Sven Schwedas
Not sure why you need a library for this. Strip out all dots, split at + and use the first value for comparison. That's trivial in every language. signature.asc Description: OpenPGP digital signature

Is there a library for validating gmail's Variants

2020-04-30 Thread Walter Peng
Hello community, We are running a small website which allow users registration with their email. Many users use gmail's variants to sign up the site, as we know, foo...@gmail.com is equivalent to below similar: foo...@googlemail.com foob...@googlemail.com foo@gmail.com foobar+...@gmail.com