Re: block 'new style' TLDs ?

2019-10-23 Thread @lbutlr
On 23 Oct 2019, at 15:20, lists wrote: > > /\.asia$/ 510 Denied: Unacceptable TLD .asia [Long list… removed] smtpd_helo_restrictions = reject_invalid_helo_hostname check_helo_access pcre:/etc/postfix/helo_checks.pcre permit /etc/postfix/helo_checks.pcre: /.*\.(com|net|org|edu|gov|ca|mx|de|

Re: Rewrite From header from old to new style

2019-10-23 Thread Maggie Q Roth
Hi Dominic How can I set gmail not top-posted? Its default reply is at the top. I have read the article, unfortunately I want to forward all messages not to create filters against special conditions. Someone told me can forward to a commercial pobox account then pobox has the ability to forward

Re: Problem with new installation

2019-10-23 Thread Viktor Dukhovni
On Wed, Oct 23, 2019 at 06:11:15PM -0400, Steve Matzura wrote: > OK, I'm a rank amateur at this. I'll take the CNAME record out. Note that despite RFC2181 a non-trivial fraction of domains do set the "exchange" portion of an MX RR to a name that is a CNAME alias. I am not aware of any MTAs that r

Re: Problem with new installation

2019-10-23 Thread Steve Matzura
OK, I'm a rank amature at this. I'll take the CNAME record out. My mx record looks OK with "10 mail.{my-FQDN}". I will create an A record called mail which will point to my machine's IP address. I have no NS records at this time. On 10/23/2019 3:41 PM, @lbutlr wrote: On 23 Oct 2019, at 12:33

Re: block 'new style' TLDs ?

2019-10-23 Thread lists
As an aside, I have stopped some real live human beings from getting these dumb TLDs. Apparently "design" is one that is becoming popular for obvious but wrong headed reasons. https://en.m.wikipedia.org/wiki/.design   Original Message   From: xxdpp...@yahoo.com Sent: October 23, 2019 1:

Re: block 'new style' TLDs ?

2019-10-23 Thread miim
I've had the same problem for some time. I put the following into access_helo and header_checks. It's pretty severe (and the list gets bigger every month) but the percentage of valid email coming from those domains is next to nil. I use a 510 rather than a 554 reject so hopefully they won't try

Re: Mailq timestamps in localtime rather than UTC

2019-10-23 Thread Wietse Venema
Pedro David Marco: > Thanks Wietse.. > The? output is this:?? > # date ; env - dateWed Oct 23 21:22:20 CEST 2019Wed Oct 23 21:22:20 CEST 2019# > It is actual valid localtime...? > Thanks again, > Pedro. Can you run this AS A NON-ROOT USER? On the same machine that runs Postfix? The Postfix mailq

Re: block 'new style' TLDs ?

2019-10-23 Thread Ralph Seichter
* li...@sbt.net.au: > what's the best way to block that, block entire '*.best' ? > how and where ? See http://www.postfix.org/ADDRESS_VERIFICATION_README.html . You can for example use /\.best$/ REJECT in a PCRE style sender access file to match envelope sender addresses. -Ralph

Re: Problem with new installation

2019-10-23 Thread Bill Cole
On 23 Oct 2019, at 14:33, Steve Matzura wrote: [...] On a whim, I change the DNS record for mail from A to CNAME. That's a weird and dangerous whim. Hostnames that are used as the value for MX records MUST have A records and hence MUST NOT have CNAME records. The CNAME *MIGHT* work if done co

Re: Problem with new installation

2019-10-23 Thread @lbutlr
On 23 Oct 2019, at 12:33, Steve Matzura wrote: > I change the DNS record for mail from A to CNAME Don’t do that. https://tools.ietf.org/html/rfc2181 The domain name used as the value of a NS resource record, or part of the value of a MX resource record must not be an alias. Not only is th

Re: Mailq timestamps in localtime rather than UTC

2019-10-23 Thread Pedro David Marco
Thanks Wietse.. The  output is this:   # date ; env - dateWed Oct 23 21:22:20 CEST 2019Wed Oct 23 21:22:20 CEST 2019# It is actual valid localtime...  Thanks again, Pedro. On Wednesday, October 23, 2019, 3:56:51 PM GMT+2, Wietse Venema wrote: Pedro David Marco: > Hi, > my Postfix 3.1.12

Re: Problem with new installation

2019-10-23 Thread Steve Matzura
Things are definitely getting better, but not enough to make eighteen users happy yet. The manual granting of privileges in MySQL stopped the virtual alias errors entirely. More syslog checking revealed I did not have policyd-spf installed. I took care of that, but neglected to comment out

Re: Rewrite From header from old to new style

2019-10-23 Thread Dominic Raferd
On Wed, 23 Oct 2019 at 16:54, Maggie Q Roth wrote: > Hi I am newbie on technology sorry. > Do you know how I setup gmail to forward to a group of other emails? From > their webmail I can setup the only one. Will postfix do this stuff? > Maggie > This is not really a postfix question, you've post

Re: Rewrite From header from old to new style

2019-10-23 Thread Maggie Q Roth
Hi I am newbie on technology sorry. Do you know how I setup gmail to forward to a group of other emails? From their webmail I can setup the only one. Will postfix do this stuff? Maggie > > On Tue, 22 Oct 2019 at 17:24, Dominic Raferd > wrote: > >> On Tue, 22 Oct 2019 at 17:05, Wietse Venema

Re: Rewrite From header from old to new style

2019-10-23 Thread Dominic Raferd
On Tue, 22 Oct 2019 at 17:24, Dominic Raferd wrote: > On Tue, 22 Oct 2019 at 17:05, Wietse Venema wrote: > > > > Noel Jones: > > > On 10/22/2019 10:27 AM, Dominic Raferd wrote: > > > > On Tue, 22 Oct 2019 at 16:18, Noel Jones > wrote: > > > >> ... > > > >>> I am using postfix 3.3. Apart from cr

running a content_filter upon reinjection of a message with sendmail command

2019-10-23 Thread Michael Taboada
Here's what I want to do: 1. Email is received for an address I have set to forward emails, let's call it forw...@example.com. 2. Postfix pipes the email through a command postforward, which in turn runs the email through postsrsd, to make spf and such validate (especially when forwarding to an

Re: Problem with new installation

2019-10-23 Thread Noel Jones
On 10/23/2019 8:27 AM, Steve Matzura wrote: I've narrowed my problems down to three. Two may be related. 1. Virtual alias table lookup failure: syslog is full of pairs of entries like these: Oct 23 13:03:06 theglobalvoice postfix/trivial-rewrite[23647]: warning: virtual_alias_domains: pro

Re: Replace semicolon in recipient list

2019-10-23 Thread Wietse Venema
luc...@dds.nl: > > So, you could rewrite the "To:" list into "," separated. > > That sounds like what I am looking for, thanks! > How do I do that? I did not get it to work with a REPLACE in the > header_checks... header_checks are based on first-match-wins, so you would need different regexps f

Re: Mailq timestamps in localtime rather than UTC

2019-10-23 Thread Wietse Venema
Pedro David Marco: > Hi, > my Postfix 3.1.12 mailq command is showing timestamps in UTC... is it > possible to have them in localtime? > > It is not chrooted and /etc/localtime is correct. What is the output from: date ; env - date I'm asking this, because the date conversion happens in the po

Re: Problem with new installation

2019-10-23 Thread Steve Matzura
I've narrowed my problems down to three. Two may be related. 1. Virtual alias table lookup failure: syslog is full of pairs of entries like these: Oct 23 13:03:06 theglobalvoice postfix/trivial-rewrite[23647]: warning: virtual_alias_domains: proxy:mysql:/etc/postfix/mysql_virtual_alias_map

Re: Replace semicolon in recipient list

2019-10-23 Thread Wietse Venema
luc...@dds.nl: > Hello Group, > > I have configured Postfix as a relay to forward all messages to the AWS > SES mail service. > > One sending application is sending mail with a From: header containing a > semicolon-separated list of addresses. This is not according to the > standard (https://tool

Re: Replace semicolon in recipient list

2019-10-23 Thread Wesley Peng
on 2019/10/23 16:48, luc...@dds.nl wrote: So, you could rewrite the "To:" list into "," separated. That sounds like what I am looking for, thanks! How do I do that? I did not get it to work with a REPLACE in the header_checks... I saw postfix has a address rewrite guide you may want to ch

Re: Replace semicolon in recipient list

2019-10-23 Thread lucas2
So, you could rewrite the "To:" list into "," separated. That sounds like what I am looking for, thanks! How do I do that? I did not get it to work with a REPLACE in the header_checks...

Re: Replace semicolon in recipient list

2019-10-23 Thread Wesley Peng
on 2019/10/23 16:40, luc...@dds.nl wrote: I was just curious, why the From addr is a list of addresses? Isn't from just a single address? My bad - I meant to say the "To:" header! So, you could rewrite the "To:" list into "," separated. regards.

Re: Replace semicolon in recipient list

2019-10-23 Thread lucas2
I was just curious, why the From addr is a list of addresses? Isn't from just a single address? My bad - I meant to say the "To:" header! Thanks

Re: Replace semicolon in recipient list

2019-10-23 Thread Wesley Peng
Hi on 2019/10/23 16:27, luc...@dds.nl wrote: One sending application is sending mail with a From: header containing a semicolon-separated list of addresses. This is not according to the standard (https://tools.ietf.org/html/rfc2822#section-3.6.3) and is rejected by SES: I was just curious, w

Replace semicolon in recipient list

2019-10-23 Thread lucas2
Hello Group, I have configured Postfix as a relay to forward all messages to the AWS SES mail service. One sending application is sending mail with a From: header containing a semicolon-separated list of addresses. This is not according to the standard (https://tools.ietf.org/html/rfc2822#section

Re: about MX hosts

2019-10-23 Thread Viktor Dukhovni
> On Oct 23, 2019, at 6:19 AM, Wesley Peng wrote: > > I saw my ESP has two MX records pointing to just the same host. > > rambler.ru. 21 IN MX 5 inmx.rambler.ru. > rambler.ru. 21 IN MX 10 inmx.rambler.ru. > > Does this have any value inprove