one PREPEND action per rule: {prepend foo} {prepend bar}

2022-06-02 Thread lutz . niederer
Hi Wietse, about 7 years before you wrote: > As implemented, there is one PREPEND action per rule, so you would > need multiple rules. > ... > I have an unfinished implementation for multiple actions in access > maps or header/body_checks. Instead of "prepend foo" you would say > "{prepend foo} {

Re: Block MX from recipients

2022-06-02 Thread Viktor Dukhovni
On Fri, Jun 03, 2022 at 10:07:02AM +1000, raf wrote: > > smtpd_recipient_restrictions = > >     check_recipient_mx_access cidr:/etc/postfix/recipient_mx_access.cidr > > Not sure, but if there's no MX record, then there's no MX host to look up. > Perhaps you want to use check_recipient_a_access in

Re: Block MX from recipients

2022-06-02 Thread raf
On Thu, Jun 02, 2022 at 04:29:38PM -0300, Emanuel Gonzalez wrote: > The option is interesting, do you have an example? > > I tried to use it but it didn’t work for me. > > smtpd_recipient_restrictions = >     check_recipient_mx_access cidr:/etc/postfix/recipient_mx_access.cidr > > 52.164.206.

Re: SASL error after login password change

2022-06-02 Thread Nathan Dehnel
I restarted it and that did not fix it. Here is my opendkim config: # This is a simple config file for signing and verifying #LogWhy yes Syslog yes SyslogSuccess yes Canonicalizationrelaxed/relaxed Domainexample.com Selectordefa

Re: SASL error after login password change

2022-06-02 Thread Nathan Dehnel
I restarted it and that did not fix it. Here is my opendkim config: On Thu, Jun 2, 2022 at 4:36 AM Benny Pedersen wrote: > > On 2022-06-02 00:34, Nathan Dehnel wrote: > > I had a working email server until I changed the unix login password > > for a user, and now postfix errors when mail is sent

Re: Centralized Verify db, possible?

2022-06-02 Thread Wietse Venema
Pedro David Marco: > Thanks a lot Wietse... > i understood that 'address_verify_map? = memcache'? is used to make > persistant the verify database, but according to your words i was wrrong:? it > will make memcahe the database itself.. > Am i right? Postfix will create an empty address verify d

Re: IPv6 DNSRBLs

2022-06-02 Thread Allen Coates
On 30/05/2022 06:44, Peter wrote: We're now starting to see some IPv6 DNSRBLs (eg: bl.ipv6.spameatingmonkey.net). It occurs to me that postscreen and postfix should only be sending IPv4 requests to IPv4-specific DNSRBLs and IPv6 requests to IPv6-specific lists. I brooded about this some ye

Re: Block MX from recipients

2022-06-02 Thread Emanuel Gonzalez
The option is interesting, do you have an example? I tried to use it but it didn’t work for me. smtpd_recipient_restrictions =     check_recipient_mx_access cidr:/etc/postfix/recipient_mx_access.cidr 52.164.206.56 reject Regards, El 31/5/22 a las 16:00, Matus UHLAR - fantomas escribió: On 31

Re: Postfix+SASL chrooted - out of ideas (SASL_README tweak)

2022-06-02 Thread Viktor Dukhovni
On Thu, Jun 02, 2022 at 03:45:01PM +0200, Matus UHLAR - fantomas wrote: > On 02.06.22 08:38, raf wrote: > >No. Perhaps in the past, but no longer. I grepped for > >/etc/postfix/sasl in every file on a debian11 system > >and it didn't appear in libsasl2 or anywhere > >interesting. > > maybe it use

Re: Centralized Verify db, possible?

2022-06-02 Thread Pedro David Marco
Thanks a lot Wietse... i understood that 'address_verify_map  = memcache'  is used to make persistant the verify database, but according to your words i was wrrong:  it will make memcahe the database itself.. Am i right? Thanks! Pete. On Thursday, June 2, 2022, 12:05:30 AM GMT+2, Wietse Vene

Re: Postfix+SASL chrooted - out of ideas (SASL_README tweak)

2022-06-02 Thread Matus UHLAR - fantomas
On 30/05/22 2:48 pm, raf wrote: > > If set > > +empty (the default value) the search path is the one compiled into the > > +Cyrus SASL library. > > I don't think that's entirely correct. On Debian, for > example, the default value of cyrus_sasl_config_path is > empty, and /etc/postfix/sasl is th

Re: SASL error after login password change

2022-06-02 Thread Benny Pedersen
On 2022-06-02 00:34, Nathan Dehnel wrote: I had a working email server until I changed the unix login password for a user, and now postfix errors when mail is sent to that user, and the mail does not appear in the inbox. How can I fix this? Thanks postfix.service: Jun 01 17:15:50 gentooserver p