Re: strange issue with postfix

2020-10-05 Thread Erik Thuning
I set the following in main.cf: smtpd_relay_restrictions = permit_mynetworks, reject Which, if I understand correctly, should mean that any email coming from addresses specified in mynetworks will be accepted, while all others get rejected. Mynetworks in my case only specifies loopback addre

Backwards-compatibility setting

2020-10-05 Thread Erik Thuning
Hi! I noticed my site is running compatibility_level=0, which I want to change. From what I can gather at http://www.postfix.org/COMPATIBILITY_README.html, it seems that the compatibility messages largely get triggered when postfix comes across a message where they are relevant, not on servic

Re: Documentation Correction

2020-10-05 Thread Wietse Venema
Peter: > I just noticed this in SASL_README > (http://www.postfix.org/SASL_README.html#client_sasl_enable): > >* The Postfix SMTP client does not support the obsolete "wrappermode" > protocol, which uses TCP port 465 on the SMTP server. See > TLS_README for a > solution that uses t

Re: Backwards-compatibility setting

2020-10-05 Thread Wietse Venema
Erik Thuning: > Hi! > > I noticed my site is running compatibility_level=0, which I want to > change. From what I can gather at > http://www.postfix.org/COMPATIBILITY_README.html, it seems that the > compatibility messages largely get triggered when postfix comes across a > message where they

Alter virtual domains MySQL table to insert relay host for some domains

2020-10-05 Thread Pau Peris
Hi all, I'm running a personal Postfix mail server together with Courier for a virtual domain setup. By now I have a domains table with a single transport field which is used by transport_maps directive in order to know if incoming emails must be delivered locally or need to be sent to the next ho

Re: Accessing the sending user from a canonical(5) table

2020-10-05 Thread Wietse Venema
Demi M. Obenour: > On 2020-10-04 19:55, Wietse Venema wrote: > > Demi M. Obenour: > > > > Checking application/pgp-signature: FAILURE > > -- Start of PGP signed section. > >> On 2020-09-30 16:35, Wietse Venema wrote: > >>> Demi M. Obenour: > - If a message arrives via the SMTPS or submission

Redirection using a 1:1 & domain wildcard alias

2020-10-05 Thread Antonio Leding
Hello Postfix Community, First off, I apologize if answers to my questions are well-known but before posting, I did spend a fair amount of time researching all of the Postfix READMEs, HOWTOs, etc. to try and understand this but apparently I am not finding the right information. Thanks in adv

Fwd: Redirection using a 1:1 & domain wildcard alias

2020-10-05 Thread Antonio Leding
I made an error in my statements below under **Observed behavior** - the last bullet point should read: * Last, to verify that the domain wildcard alias works, emails sent to [ ANY_USER_OR_ALIAS_NOT_CFG’D ]_at_example.com are delivered to user1_at_exmaple.com just as I expected (W00T!!!). :=)

Forward email based on Regexps

2020-10-05 Thread Frank DiGennaro
Hello; I'm pretty new to postfix but I'm really glad that I finally made the switch from sendmail. Postfix is just so much easier to use. This is my scenario. I need to route emails based on regexps and I know how to write them but I'm not exactly sure where in the configs to put them. For exa

Re: strange issue with postfix

2020-10-05 Thread Bob Proulx
Erik Thuning wrote: > Ranjan Maitra wrote: > > Thanks, I am not very knowledgeable with regard to postfix being a > > simple user, so do you mind letting me/us know what you had to fix? It > > is kind of forbidding to me. > > > > > Thank you! I had this exact issue and just couldn't wrap my head a

postscreen seqfaults with abusix rbl

2020-10-05 Thread Benny Pedersen
Oct 5 17:01:09 localhost kernel: postscreen[387]: segfault at 0 ip 7f78d9773cea sp 7ffeb1cb0960 error 4 in libpostfix-util.so[7f78d9759000+29000] Oct 5 17:09:51 localhost kernel: postscreen[1310]: segfault at 0 ip 7f372355dcea sp 7fff7569b520 error 4 in libpostfix-util.so[7f37

Re: Redirection using a 1:1 & domain wildcard alias

2020-10-05 Thread Jaroslaw Rafa
Dnia 5.10.2020 o godz. 17:28:04 Antonio Leding pisze: > * When both a 1:1 alias & a user are configured for a given email > address, why are emails sent to the alias\user only delivered to the > alias target? Because that's exactly what aliases are meant for - to deliver mail to the alias target

Re: postscreen seqfaults with abusix rbl

2020-10-05 Thread Wietse Venema
Benny Pedersen: > Oct 5 17:01:09 localhost kernel: postscreen[387]: segfault at 0 ip > 7f78d9773cea sp 7ffeb1cb0960 error 4 in > libpostfix-util.so[7f78d9759000+29000] > Oct 5 17:09:51 localhost kernel: postscreen[1310]: segfault at 0 ip > 7f372355dcea sp 7fff7569b520 error 4 i

Re: Redirection using a 1:1 & domain wildcard alias

2020-10-05 Thread Antonio Leding
Thanks Jaroslaw, Is any of this documented anywhere? I’ve read virtual(5), virtual(8), cleanup(8), etc. ad nowhere in the observed behavior documented. There’s discussion as to order to table searching and address matching but nothing that I’ve seen discusses what happens when there is both

Fwd: Redirection using a 1:1 & domain wildcard alias

2020-10-05 Thread Antonio Leding
I found my answer - RFC-2821 - - - Forwarded message: From: Antonio Leding To: Jaroslaw Rafa Cc: postfix-users@postfix.org Subject: Re: Redirection using a 1:1 & domain wildcard alias Date: Mon, 5 Oct 2020 20:38:00 + Thanks Jaroslaw, Is any of this documented anywhere? I’ve read virtu

Accessing the sending user from a canonical(5) table

2020-10-05 Thread Demi M. Obenour
On 10/5/20 10:51 AM, Wietse Venema wrote: Demi M. Obenour: On 2020-10-04 19:55, Wietse Venema wrote: Demi M. Obenour: Checking application/pgp-signature: FAILURE -- Start of PGP signed section. On 2020-09-30 16:35, Wietse Venema wrote: Demi M. Obenour: - If a message arrives via the SMTPS o

Re: postscreen seqfaults with abusix rbl

2020-10-05 Thread John Fawcett
On 05/10/2020 22:19, Wietse Venema wrote: > Benny Pedersen: >> Oct 5 17:01:09 localhost kernel: postscreen[387]: segfault at 0 ip >> 7f78d9773cea sp 7ffeb1cb0960 error 4 in >> libpostfix-util.so[7f78d9759000+29000] >> Oct 5 17:09:51 localhost kernel: postscreen[1310]: segfault at 0 ip

Re: postscreen seqfaults with abusix rbl

2020-10-05 Thread Wietse Venema
John Fawcett: > >> Oct 5 17:30:02 localhost kernel: postscreen[22771]: segfault at 0 ip > >> 7f388bc98cea sp 7ffc372ca850 error 4 in > >> libpostfix-util.so[7f388bc7e000+29000] > >> > >> both with postfix 3.5.6 and 3.5.7 on gentoo > >> > >> removed: > >> > >> postscreen_dnsbl_reply_map =

Re: postscreen seqfaults with abusix rbl

2020-10-05 Thread John Fawcett
On 05/10/2020 23:18, John Fawcett wrote: > On 05/10/2020 22:19, Wietse Venema wrote: >> Benny Pedersen: >>> Oct 5 17:01:09 localhost kernel: postscreen[387]: segfault at 0 ip >>> 7f78d9773cea sp 7ffeb1cb0960 error 4 in >>> libpostfix-util.so[7f78d9759000+29000] >>> Oct 5 17:09:51 localh

Re: postscreen seqfaults with abusix rbl

2020-10-05 Thread Wietse Venema
John Fawcett: > Actually to be more precise: is it guaranteed to return not null and > with all the function pointers in the returned dict struct also not > null. I'm adding this because I think it does always return something > not null, but I'm not sure that the function pointers are always not >

Re: Accessing the sending user from a canonical(5) table

2020-10-05 Thread Wietse Venema
Demi M. Obenour: > There was a recent vulnerability in OpenBSD due to libc malfunctioning > in a set-uid-root program under very low resource limits. I would > prefer to minimize the amount of third-party libraries that are used > by postdrop. That said, another option would be to error out if th

Re: Accessing the sending user from a canonical(5) table

2020-10-05 Thread Demi M. Obenour
On 10/5/20 6:15 PM, Wietse Venema wrote: Demi M. Obenour: There was a recent vulnerability in OpenBSD due to libc malfunctioning in a set-uid-root program under very low resource limits. I would prefer to minimize the amount of third-party libraries that are used by postdrop. That said, anothe

Re: strange issue with postfix

2020-10-05 Thread @lbutlr
On 05 Oct 2020, at 13:17, Bob Proulx wrote: > Here is an old resource but one that I think is still very good is > "Jim Seymour's suggestions/examples for Postfix anti-UCE configuration." > >http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt It's good, but it does need some updating as some

Re: Redirection using a 1:1 & domain wildcard alias

2020-10-05 Thread @lbutlr
On 05 Oct 2020, at 13:34, Jaroslaw Rafa wrote: > Dnia 5.10.2020 o godz. 17:28:04 Antonio Leding pisze: >> * When both a 1:1 alias & a user are configured for a given email >> address, why are emails sent to the alias\user only delivered to the >> alias target? > > Because that's exactly what ali