[pfx] Re: useful error messages! Thank you!

2024-02-02 Thread Benny Pedersen via Postfix-users

Carl Brewer via Postfix-users skrev den 2024-02-03 03:09:
In a world where error messages are increasingly being obfuscated, it's 
great to see :


Feb  3 00:00:28 rollcage13 postfix/postscreen[22418]: warning: 
postscreen_access_list: non-null host address bits in 
"2403:5814:f681:ab0c::0/48", perhaps you should use 
"2403:5814:f681::/48" instead


2403:5814:f681:ab0c::0/48 is just /64

oh well spotted :=)
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] useful error messages! Thank you!

2024-02-02 Thread Carl Brewer via Postfix-users



In a world where error messages are increasingly being obfuscated, it's 
great to see :


Feb  3 00:00:28 rollcage13 postfix/postscreen[22418]: warning: 
postscreen_access_list: non-null host address bits in 
"2403:5814:f681:ab0c::0/48", perhaps you should use 
"2403:5814:f681::/48" instead


Feb  3 00:00:28 rollcage13 postfix/postscreen[22418]: warning: 
postscreen_access_list: permit_mynetworks: mynetworks lookup error -- 
ignoring the remain der of this access list


Thank you Wietse, that was the most useful error message of all time!
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: Adjusting smtpd_recipient_restrictions

2024-02-02 Thread Viktor Dukhovni via Postfix-users
On Fri, Feb 02, 2024 at 08:26:20AM +0300, Mark via Postfix-users wrote:

> I'm trying to adjust my smtpd_recipient_restrictions so that any emails
> coming to a non-existent account on my server would be rejected BEFORE the
> attempt reaches RBLs/RBL queries.

If you're using Postfix 3.6 or later, you probably have a "yes" setting
for:

smtpd_relay_before_recipient_restrictions = ${{$compatibility_level}  Thus, before I activate my settings, I wanted to ask for your opinions, so
> here how it goes;
> 
> smtpd_recipient_restrictions =
>   reject_non_fqdn_sender,
>   reject_non_fqdn_recipient,
>   reject_non_fqdn_helo_hostname,
>   reject_invalid_helo_hostname,
>   reject_unlisted_recipient,
>   permit_mynetworks,
>   permit_sasl_authenticated,
>   reject_unauth_destination,
>   reject_rbl_client zen.spamhaus.org=127.0.0.[2..11],
...

This looks fine.

-- 
Viktor.
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] migrating server to new host

2024-02-02 Thread lists--- via Postfix-users
I have postfix/dovecot/mysql with virtual domains on centos;
I would like to migrate working server setup to new host on rocky 8
installed new rocky with postfix as is available for rocky

what's the best way to do such ?

do I install ghettoforge repo on rocky, get version pf 3.8.5 then copy
main/master .cf , start it and check for errors ?


existing centos server:
# postconf mail_version
mail_version = 3.8.5


# postconf -m
btree cidr environ fail hash inline internal ldap memcache mysql nis pcre
pipemap proxy randmap regexp socketmap static tcp texthash unionmap unix

rocky:
# postconf mail_version
mail_version = 3.5.8

# postconf -m
btree cidr environ fail hash inline internal ldap memcache mysql nis pcre
pipemap proxy randmap regexp socketmap static tcp texthash unionmap unix

___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org