[pfx] Re: Postfix: running a script on authentication failure

2023-06-23 Thread Peter via Postfix-users
On 23/06/23 07:05, André Rodier via Postfix-users wrote: Is there any way, with postfix, to run a script on authentication failure, with information like the IP address and the username passed, for instance. You can write your script up as a policy daemon and have it listen on an inet or unix

[pfx] Re: Anyone using SMTP relay through dnsexit.com?

2023-06-23 Thread Jim Wright via Postfix-users
On 6/23/23 17:13, Christian Kivalo via Postfix-users wrote: Your lookup key is missing the [ ] you used for the relayhost setting. This results in no authentication to the dnsexit relay. This is described in the section "Enabling SASL authentication in the Postfix SMTP/LMTP client" of the SASL

[pfx] Re: Anyone using SMTP relay through dnsexit.com?

2023-06-23 Thread Christian Kivalo via Postfix-users
My settings main.cf: relayhost = [relay.dnsexit.com]:587 smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_auth_enable = yes smtp_sasl_security_options = And my sasl_passwd file (and yes, I did do a postmap after my changes) relay.dnsexit.com:587 myusername:mypassword Your lo

[pfx] Anyone using SMTP relay through dnsexit.com?

2023-06-23 Thread Jim Wright via Postfix-users
Hey all.  Recently my ISP (Spectrum) decided (after this was working for me for almost 20 years) to make it impossible for a self hosted domain to relay through their SMTP server unless it was actually a spectrum.com email address being used.  After going back and forth with them to try to find

[pfx] Re: Mail delivery to a higher priority MX record for a given domain.

2023-06-23 Thread Bob Proulx via Postfix-users
anant--- wrote: > For a domain, we are finding in logs that, for most of the mails, > mails are getting delivered to a server of remote domain having lower > priority MX record. For some mails, the mail is getting delivered to > higher priority MX record server even though lower prioirity MX recod

[pfx] Re: Postfix: running a script on authentication failure

2023-06-23 Thread Curtis Maurand via Postfix-users
On 6/23/23 04:26, Luciano Mannucci via Postfix-users wrote: On Thu, 22 Jun 2023 21:05:35 +0200 André Rodier via Postfix-users wrote: What are you using on your side ? I have a small script that scans the log for failed login attempts, banning the offending ip via firewall if it sees more tha

[pfx] Re: Mail delivery to a higher priority MX record for a given domain.

2023-06-23 Thread Wietse Venema via Postfix-users
anant--- via Postfix-users: Content-Description: Plaintext Message > Hello, > > For a domain, we are finding in logs that, for most of the mails, > mails are getting delivered to a server of remote domain having lower > priority MX record.? For some mails, the mail is getting delivered to >

[pfx] Re: Postfix: running a script on authentication failure

2023-06-23 Thread Luciano Mannucci via Postfix-users
On Thu, 22 Jun 2023 21:05:35 +0200 André Rodier via Postfix-users wrote: > What are you using on your side ? I have a small script that scans the log for failed login attempts, banning the offending ip via firewall if it sees more than a certain number of attempts (initially set to 24, now lowere

[pfx] Re: Mail delivery to a higher priority MX record for a given domain.

2023-06-23 Thread Matus UHLAR - fantomas via Postfix-users
On 23.06.23 09:34, anant--- via Postfix-users wrote: For a domain, we are finding in logs that, for most of the mails, mails are getting delivered to a server of remote domain having lower priority MX record. smtp connection caching may lead to this behaviour.   For some mails, the mail is get

[pfx] Re: spamlist checks

2023-06-23 Thread Matus UHLAR - fantomas via Postfix-users
On 23.06.23 05:14, Fourhundred Thecat via Postfix-users wrote: does anybody have experience with checking and removing email addresses from spam lists? I got this when sending email: SMTP error from remote server for RCPT TO command, host: mailrelay.nova.gr (80.245.166.6) reason: 550 Rule impos