Re: Couple of questions re: IPBLs & DNSBLs

2021-03-18 Thread Viktor Dukhovni
On Fri, Mar 19, 2021 at 12:20:10AM -0400, Bill Cole wrote: > > * If so, does this apply to **(a)** the entire set of restrictions; > > **(b)** just the restriction list where cfg’d; **(c)** only the > > restriction that immediately follows **warn_if_reject**? > > As I read the postconf(5) man p

Re: Couple of questions re: IPBLs & DNSBLs

2021-03-18 Thread Bill Cole
On 18 Mar 2021, at 18:34, Antonio Leding wrote: Hello all, 1. Where to place IPBL\DNSBL rules * Because the result of a hit against an IPBL\DNSBL is to REJECT, does it make sense to place these kind of rules earlier in the SMTPD_RESTRICTIONS eval chain (i.e. CLIENT) rather than later (i

upgrade 2.10 - 3.3 config compatibility

2021-03-18 Thread Simon Wilson
I have a well established 2.10 Postfix instance on 2.10 (CentOS7) which is to be migrated to a new machine running Postfix 3.3 (on RHEL8). I've been reading http://www.postfix.org/COMPATIBILITY_README.html, and from what I can see the backward compatibility issues I may run into are (with e

Re: Transport maps

2021-03-18 Thread Viktor Dukhovni
On Thu, Mar 18, 2021 at 05:17:58PM -0700, David Koski wrote: > Postfix is only mapping email addresses and not FQDNs.  Mapping works > for u...@mydomain.com but not mydomain.com, .mydomain.com or @mydomain.com. > > # postmap -q localhost mysql:/etc/postfix/mysql_transport_maps.cf > > # postmap -

Transport maps

2021-03-18 Thread David Koski
Postfix is only mapping email addresses and not FQDNs.  Mapping works for u...@mydomain.com but not mydomain.com, .mydomain.com or @mydomain.com. # postmap -q localhost mysql:/etc/postfix/mysql_transport_maps.cf # postmap -q list2@localhost mysql:/etc/postfix/mysql_transport_maps.cf mailman: my

Re: What am I missing here?

2021-03-18 Thread Antonio Leding
FWIW, I had very similar issues and implemented fail2ban with very tight parameters to essentially block offensive probing hosts. I went from something around 75k probes per month down to less than 50. Also, out of respect for our counterparts on this PF dedicated mailer, feel free to ping me

Couple of questions re: IPBLs & DNSBLs

2021-03-18 Thread Antonio Leding
Hello all, 1. Where to place IPBL\DNSBL rules * Because the result of a hit against an IPBL\DNSBL is to REJECT, does it make sense to place these kind of rules earlier in the SMTPD_RESTRICTIONS eval chain (i.e. CLIENT) rather than later (i.e. RECIPIENT) as shown in the _Getting selective

Re: Allow Exception postfix Sender address rejected: Domain not found exception

2021-03-18 Thread Viktor Dukhovni
On Fri, Mar 19, 2021 at 12:44:52AM +0530, Durga Prasad Malyala wrote: > > It should work, given a correct PCRE table, however, as mentioned above, > > a better solution is not use PCRE at all: > > > > # Postfix 3.0 and later have an "inline" table type: > > # > > smtpd_sender_restricti

Re: Allow Exception postfix Sender address rejected: Domain not found exception

2021-03-18 Thread Durga Prasad Malyala
On Fri, 19 Mar 2021 at 00:27, Viktor Dukhovni wrote: > On Thu, Mar 18, 2021 at 11:30:56PM +0530, Durga Prasad Malyala wrote: > > > > If you want usable help, you'll need to be willing to post the actual > > > domain name, not an obfuscated version. > > > > the domain is ucc-bsnl.co.in > > Thanks,

Re: Allow Exception postfix Sender address rejected: Domain not found exception

2021-03-18 Thread Viktor Dukhovni
On Thu, Mar 18, 2021 at 11:30:56PM +0530, Durga Prasad Malyala wrote: > > If you want usable help, you'll need to be willing to post the actual > > domain name, not an obfuscated version. > > the domain is ucc-bsnl.co.in Thanks, yes the domain "ucc-bsnl.co.in" has neither MX records, nor any A o

Re: Allow Exception postfix Sender address rejected: Domain not found exception

2021-03-18 Thread Durga Prasad Malyala
On Thu, 18 Mar 2021 at 23:13, Viktor Dukhovni wrote: > On Thu, Mar 18, 2021 at 10:21:02PM +0530, Durga Prasad Malyala wrote: > > > I am getting the error "Sender address rejected: Domain not found > exception" > > in my mail server. > > Are you sure the word "exception" is there? Postfix does no

Re: Allow Exception postfix Sender address rejected: Domain not found exception

2021-03-18 Thread Viktor Dukhovni
On Thu, Mar 18, 2021 at 10:21:02PM +0530, Durga Prasad Malyala wrote: > I am getting the error "Sender address rejected: Domain not found exception" > in my mail server. Are you sure the word "exception" is there? Postfix does not generate messages, but it does generate "Domain not found" when a

Re: StartTLS offer

2021-03-18 Thread Noel Jones
On 3/18/2021 11:24 AM, Nerijus Kislauskas wrote: Hello community, I have postfix 3.4.13 on Ubuntu 20 LTS. Does "smtp_tls_note_starttls_offer" setting work? $ postconf smtp_tls_note_starttls_offer smtp_tls_loglevel smtp_tls_note_starttls_offer = yes smtp_tls_loglevel = 1 $ grep -c -i 'tls co

Re: Allow Exception postfix Sender address rejected: Domain not found exception

2021-03-18 Thread Matus UHLAR - fantomas
On 18.03.21 22:21, Durga Prasad Malyala wrote: A govt mail sender is relaying mails through one of the servers mail-vi1eur05on2047.outbound.protection.outlook.com or mail-eopbgr1380070.outbound.protection.outlook.com or some similar sounding server - but I am getting the error "Sender address re

Allow Exception postfix Sender address rejected: Domain not found exception

2021-03-18 Thread Durga Prasad Malyala
Hello friends, A govt mail sender is relaying mails through one of the servers mail-vi1eur05on2047.outbound.protection.outlook.com or mail-eopbgr1380070.outbound.protection.outlook.com or some similar sounding server - but I am getting the error "Sender address rejected: Domain not found exception

Re: StartTLS offer

2021-03-18 Thread Matus UHLAR - fantomas
On 18.03.21 18:24, Nerijus Kislauskas wrote: Hello community, I have postfix 3.4.13 on Ubuntu 20 LTS. Does "smtp_tls_note_starttls_offer" setting work? $ postconf smtp_tls_note_starttls_offer smtp_tls_loglevel smtp_tls_note_starttls_offer = yes smtp_tls_loglevel = 1 $ grep -c -i 'tls connecti

StartTLS offer

2021-03-18 Thread Nerijus Kislauskas
Hello community, I have postfix 3.4.13 on Ubuntu 20 LTS. Does "smtp_tls_note_starttls_offer" setting work? $ postconf smtp_tls_note_starttls_offer smtp_tls_loglevel smtp_tls_note_starttls_offer = yes smtp_tls_loglevel = 1 $ grep -c -i 'tls connection established to' /var/log/mail.log 195 $ gre

Re: Error 4.4.2 Error: timeout exceeded

2021-03-18 Thread Bill Cole
On 18 Mar 2021, at 6:36, Burn Zero wrote: Hi, I have a relay server named smtprelayservername which accepts emails from various clients. So one of the clients complain that they receive this error while sending email: Error 4.4.2 Error: timeout exceeded But I have checked in the relay serv

Re: Error 4.4.2 Error: timeout exceeded

2021-03-18 Thread Dominic Raferd
On 18/03/2021 10:36, Burn Zero wrote: I have a relay server named smtprelayservername which accepts emails from various clients. So one of the clients complain that they receive this error while sending email: Error 4.4.2 Error: timeout exceeded But I have checked in the relay server smtprel

Error 4.4.2 Error: timeout exceeded

2021-03-18 Thread Burn Zero
Hi, I have a relay server named smtprelayservername which accepts emails from various clients. So one of the clients complain that they receive this error while sending email: Error 4.4.2 Error: timeout exceeded But I have checked in the relay server smtprelayservername and no such timeout issu