Re: Blocking TLDs

2023-02-08 Thread mailmary
Here is how I do it: check_sender_access regexp:/etc/postfix/sender_domain_checks here are the (partial) contents of /etc/postfix/sender_domain_checks: /\.top$/ REJECT /\.xyz$/ REJECT /\.cam$/ REJECT /\.fun$/ REJECT /\.buzz$/ REJECT /\.club$/ REJECT /\.link$/ REJECT /\.hinet\.net$/ REJECT Sinc

Re: Blocking TLDs

2023-02-08 Thread natan
Hi Please send info like: postconf -m Probably you dont have pcre try postmap -q your_ask pcre:/etc/postfix/reject_domains W dniu 7.02.2023 o 22:49, James Pifer pisze: Hello all. I'm trying to block some TLDs and everything I try I'm getting:  451 4.3.5 : Sender address rejected: Server conf

Re: Blocking TLDs

2023-02-08 Thread Viktor Dukhovni
On Wed, Feb 08, 2023 at 10:00:14AM +0200, mailm...@ionos.gr wrote: > /\.top$/ REJECT > /\.xyz$/ REJECT > /\.cam$/ REJECT > /\.fun$/ REJECT > /\.buzz$/ REJECT > /\.club$/ REJECT > /\.link$/ REJECT > /\.hinet\.net$/ REJECT Why everyone feels they need regular expressions for this is a mystery.

Re: Blocking TLDs

2023-02-08 Thread Wietse Venema
mailm...@ionos.gr: > Here is how I do it: > > check_sender_access regexp:/etc/postfix/sender_domain_checks > > here are the (partial) contents of /etc/postfix/sender_domain_checks: > > /\.top$/ REJECT > /\.xyz$/ REJECT > /\.cam$/ REJECT > /\.fun$/ REJECT > /\.buzz$/ REJECT > /\.club$/ REJECT > /

Re: Blocking TLDs

2023-02-08 Thread James Pifer
On 2/8/2023 4:14 AM, Viktor Dukhovni wrote: On Wed, Feb 08, 2023 at 10:00:14AM +0200, mailm...@ionos.gr wrote: /\.top$/ REJECT /\.xyz$/ REJECT /\.cam$/ REJECT /\.fun$/ REJECT /\.buzz$/ REJECT /\.club$/ REJECT /\.link$/ REJECT /\.hinet\.net$/ REJECT Why everyone feels they need regular expressi

Re: Blocking TLDs

2023-02-08 Thread Wietse Venema
James Pifer: > The error was: > Feb? 8 07:38:11 mailserver postfix/smtpd[446839]: NOQUEUE: reject: RCPT > from mail-qt1-f179.google.com[209.85.160.179]: 451 4.3.5 Server > configuration error; from= > to= proto=ESMTP helo= The cause of the problem was logged IMMEDIATELY BEFORE THAT LINE.

Re: Blocking TLDs

2023-02-08 Thread natan
Hi Before add sender-acces works fine ? Can you send output postconf -m ? W dniu 8.02.2023 o 14:15, James Pifer pisze: On 2/8/2023 4:14 AM, Viktor Dukhovni wrote: On Wed, Feb 08, 2023 at 10:00:14AM +0200, mailm...@ionos.gr wrote: /\.top$/ REJECT /\.xyz$/ REJECT /\.cam$/ REJECT /\.fun$/ REJEC

Re: Blocking TLDs

2023-02-08 Thread James Pifer
On 2/8/2023 8:32 AM, Wietse Venema wrote: James Pifer: The error was: Feb? 8 07:38:11 mailserver postfix/smtpd[446839]: NOQUEUE: reject: RCPT from mail-qt1-f179.google.com[209.85.160.179]: 451 4.3.5 Server configuration error; from= to= proto=ESMTP helo= The cause of the problem was logged IMME

Re: SSL_accept error from unknown[10.5.2.1]: lost connection

2023-02-08 Thread Wolfgang Paul Rauchholz
Thank you for the insight. It helped solving the issue. Un cordial saludo, Wolfgang Rauchholz +34 627 994 977 https://www.linkedin.com/in/wolfgangrauchholz/ On Tue, Feb 7, 2023 at 6:51 PM Wietse Venema wrote: > Wolfgang Paul Rauchholz: > > Hello I run postfix (postfix-3.5.8-4.el8.x86_64) on

Re: Blocking TLDs

2023-02-08 Thread postfix
Since I'm using AlmaLinux, a derivative of RHEL, it does not have PCRE because Redhat decided to remove it entirely from RHEL. Thus, I had to convert all my "pcre:" into "regexp:", like the above. I'm using a similar flavor of RHEL and dnf -y install postfix-pcre worked for me. Is that p

Repetitive message in /var/log/maillog

2023-02-08 Thread Wolfgang Paul Rauchholz
I get the following message almost every one minute. Is this for information only or do I need to be worried? Feb 8 17:33:03 home dovecot[484616]: imap-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=485528, TLS, session=<2vR70TL0Lr9/AAAB> Feb 8 17:33:03 home dovecot[48461

Re: Repetitive message in /var/log/maillog

2023-02-08 Thread Wietse Venema
Wolfgang Paul Rauchholz: > Feb 8 17:33:03 home dovecot[484616]: imap-login: Login: This is the Postfix mailing list. For questions about Dovecot, see their lists. Wietse

Re: Blocking TLDs

2023-02-08 Thread Rob McGee
On 2/8/2023 3:14 AM, Viktor Dukhovni wrote: On Wed, Feb 08, 2023 at 10:00:14AM +0200, mailm...@ionos.gr wrote: /\.top$/ REJECT /\.xyz$/ REJECT /\.cam$/ REJECT /\.fun$/ REJECT /\.buzz$/ REJECT /\.club$/ REJECT /\.link$/ REJECT /\.hinet\.net$/ REJECT Why everyone feels they need regular express

Re: Repetitive message in /var/log/maillog

2023-02-08 Thread Jaroslaw Rafa
Dnia 8.02.2023 o godz. 17:53:07 Wolfgang Paul Rauchholz pisze: > I get the following message almost every one minute. > Is this for information only or do I need to be worried? > > > Feb 8 17:33:03 home dovecot[484616]: imap-login: Login: > user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, > m

Re: Blocking TLDs

2023-02-08 Thread James Pifer
On 2/8/2023 12:37 PM, Rob McGee wrote: On 2/8/2023 3:14 AM, Viktor Dukhovni wrote: On Wed, Feb 08, 2023 at 10:00:14AM +0200, mailm...@ionos.gr wrote: /\.top$/ REJECT /\.xyz$/ REJECT /\.cam$/ REJECT /\.fun$/ REJECT /\.buzz$/ REJECT /\.club$/ REJECT /\.link$/ REJECT /\.hinet\.net$/ REJECT Why

Re: Blocking TLDs

2023-02-08 Thread Jaroslaw Rafa
Dnia 8.02.2023 o godz. 12:55:58 James Pifer pisze: > I would prefer to quarantine rather than reject, if I can figure out > how to do that. I would at least be able to look through them > periodically and see if something is legit. > > I suddenly started getting these (.store,.shop, etc) a could

Re: Blocking TLDs

2023-02-08 Thread James Pifer
On 2/8/2023 1:02 PM, Jaroslaw Rafa wrote: Dnia 8.02.2023 o godz. 12:55:58 James Pifer pisze: I would prefer to quarantine rather than reject, if I can figure out how to do that. I would at least be able to look through them periodically and see if something is legit. I suddenly started getting

Re: Blocking TLDs

2023-02-08 Thread mailmary
It was added later, but by then I had already converted to regex. On Wed, 08 Feb 2023 11:34:49 -0500 post...@ptld.com wrote: > > Since I'm using AlmaLinux, a derivative of RHEL, it does not have PCRE > > because Redhat decided to remove it entirely from RHEL. > > Thus, I had to convert all m

Re: Blocking TLDs

2023-02-08 Thread postfix
dnf -y install postfix-pcre It was added later, but by then I had already converted to regex. FYI: I was given the impression that pcre has better performance than regex in postfix, if that is something relevant to you.

Integrating mailman with postfix

2023-02-08 Thread Doug Hardie
I am trying to setup a static maillist. My first approach was to just include the addresses in a list in the virtual_alias file. That works properly if the original message is being sent from someone authorized to send through my mail server. However, the users of this list are all outside my