Re: Recipient address rejected for recipient address in virtual

2019-12-02 Thread Bill Cole
On 2 Dec 2019, at 21:31, @lbutlr wrote: On 02 Dec 2019, at 09:47, Bill Cole wrote: Have you considered doing as recommended at http://www.postfix.org/DEBUG_README.html#mail to make it easier for us to understand your issue? Logs, postconf output, postmap -q output, what am I missing? I

Re: Recipient address rejected for recipient address in virtual

2019-12-02 Thread @lbutlr
On 02 Dec 2019, at 09:47, Bill Cole wrote: > Have you considered doing as recommended at > http://www.postfix.org/DEBUG_README.html#mail to make it easier for us to > understand your issue? Logs, postconf output, postmap -q output, what am I missing? -- This above all, to thine own self

Re: Recipient address rejected for recipient address in virtual

2019-12-02 Thread @lbutlr
On 02 Dec 2019, at 09:53, Bill Cole wrote: > On 2 Dec 2019, at 8:43, @lbutlr wrote: >> One difference is that the one that is failing changes the targeted local >> domain amazon@localdomain to kreme+ama...@kreme.com, if that matters. > > Virtual mailbox domains and virtual alias domains are

Unverified Recipients

2019-12-02 Thread Software Info
Hi All I am trying to set up Unverified Recipients on Postfix postfix-3.4.8,1 on FreeBSD. I configured a cache file for the unverified addresses. I reloaded postfix but I am not seeing any file in the location I specified in the address_verify_map parameter. I cannot seem to figure out why. Please

Re: recipient_bcc_maps: BCC for entire domain except one address

2019-12-02 Thread Markus Schönhaber
Wietse Venema, 02.12.19, 19:28 CET: > Make it a PCRE map. > > # DO NOT INDENT THE TEXT BETWEEN IF AND ENDIF > if !/^foo([-+]\S+)?@example\.com$/ > /@example\.com$/ b...@example.com > endif > > See 'man pcre_table' for details. Thanks Wietse! I'll do it that way. -- Regards mks

Re: recipient_bcc_maps: BCC for entire domain except one address

2019-12-02 Thread Wietse Venema
Markus Sch?nhaber: > Hi, > > having recipient_bcc_maps set to a map containing > > @example.com b...@example.com Make it a PCRE map. # DO NOT INDENT THE TEXT BETWEEN IF AND ENDIF if !/^foo([-+]\S+)?@example\.com$/ /@example\.com$/ b...@example.com endif See 'man pcre_table' for details.

Re: Cannot sign with DKIM on same-server web and mail

2019-12-02 Thread Wietse Venema
Linkcheck: [ Charset windows-1252 converted... ] > > Drop the quotes! > > I just have whilst following advice from David Burgin - in fact I > commented out the macro entirely but still the same - dkim ok but > UNPARSEABLE_RELAY still present. Of course. You are now back to the milter macros

Re: recipient_bcc_maps: BCC for entire domain except one address

2019-12-02 Thread Markus Schönhaber
Hi Jaroslaw! Jaroslaw Rafa, 02.12.19, 18:42 CET: > Dnia 2.12.2019 o godz. 18:11:27 Markus Schönhaber pisze: >> >> having recipient_bcc_maps set to a map containing >> >> @example.com b...@example.com >> >> should create a BCC for every mail sent to example.com regardless of the >> local part.

Re: recipient_bcc_maps: BCC for entire domain except one address

2019-12-02 Thread Jaroslaw Rafa
Dnia 2.12.2019 o godz. 18:11:27 Markus Schönhaber pisze: > > having recipient_bcc_maps set to a map containing > > @example.com b...@example.com > > should create a BCC for every mail sent to example.com regardless of the > local part. > Is there an easy way to define an exception, i. e. BCCs

recipient_bcc_maps: BCC for entire domain except one address

2019-12-02 Thread Markus Schönhaber
Hi, having recipient_bcc_maps set to a map containing @example.com b...@example.com should create a BCC for every mail sent to example.com regardless of the local part. Is there an easy way to define an exception, i. e. BCCs should be created for every mail sent to @example.com except for

Re: Recipient address rejected for recipient address in virtual

2019-12-02 Thread Bill Cole
On 2 Dec 2019, at 8:43, @lbutlr wrote: One difference is that the one that is failing changes the targeted local domain amazon@localdomain to kreme+ama...@kreme.com, if that matters. Virtual mailbox domains and virtual alias domains are distinct from each other. Local domains are another

Re: Recipient address rejected for recipient address in virtual

2019-12-02 Thread Bill Cole
On 2 Dec 2019, at 7:21, @lbutlr wrote: I have an email address listed in virtual in the form ama...@kreme.com. kreme+ama...@kreme.com But when an email comes in to that address, I get Recipient address rejected: unverified address: Address lookup failed; # postmap -q ama...@kreme.com

Re: Cannot sign with DKIM on same-server web and mail

2019-12-02 Thread Linkcheck
> Drop the quotes! I just have whilst following advice from David Burgin - in fact I commented out the macro entirely but still the same - dkim ok but UNPARSEABLE_RELAY still present. > Where does Postfix documentation say that you need to use quoted strings? It doesn't, I agree. And forgot

Re: Cannot sign with DKIM on same-server web and mail

2019-12-02 Thread Linkcheck
Thanks for your help. I checked as you suggested and got milter_connect_macros=j {daemon_name} v (no quotes, no underscore). I commented out my own version and ran with the default, which correctly includes the mail server name in the dkim check but still has UNPARSEABLE_RELAY. I suppose it

Re: Recipient address rejected for recipient address in virtual

2019-12-02 Thread @lbutlr
On 02 Dec 2019, at 05:21, @lbutlr wrote: > But when an email comes in to that address, I get Recipient address rejected: > unverified address: Address lookup failed; > > # postmap -q ama...@kreme.com hash:/etc/postfix/virtual > kreme+ama...@kreme.com I have disabled reject_unverified_recipient

Re: Cannot sign with DKIM on same-server web and mail

2019-12-02 Thread David Bürgin
On 02/12/2019 12:12, Linkcheck wrote: > Thanks, but I already had that. Although I had the "v" before the daemon_addr > when I first tried it... >   milter_connect_macros="i j {daemon_name} v {daemon_addr} _" > > I have now tried it with the v where you suggest it but still gives >

Re: Recipient address rejected for recipient address in virtual

2019-12-02 Thread @lbutlr
> On 02 Dec 2019, at 05:26, Matus UHLAR - fantomas wrote: > > On 02.12.19 05:21, @lbutlr wrote: >> I have an email address listed in virtual in the form >> >> ama...@kreme.com. kreme+ama...@kreme.com > > it that a trailing dot? Autocorrecting two spaces to . There is no trailing dot in

Re: Recipient address rejected for recipient address in virtual

2019-12-02 Thread Matus UHLAR - fantomas
On 02.12.19 05:21, @lbutlr wrote: I have an email address listed in virtual in the form ama...@kreme.com. kreme+ama...@kreme.com it that a trailing dot? But when an email comes in to that address, I get Recipient address rejected: unverified address: Address lookup failed; # postmap -q

Recipient address rejected for recipient address in virtual

2019-12-02 Thread @lbutlr
I have an email address listed in virtual in the form ama...@kreme.com. kreme+ama...@kreme.com But when an email comes in to that address, I get Recipient address rejected: unverified address: Address lookup failed; # postmap -q ama...@kreme.com hash:/etc/postfix/virtual kreme+ama...@kreme.com

Re: Cannot sign with DKIM on same-server web and mail

2019-12-02 Thread Wietse Venema
Linkcheck: [ Charset windows-1252 converted... ] > Thanks, but I already had that. Although I had the "v" before the > daemon_addr when I first tried it... >milter_connect_macros="i j {daemon_name} v {daemon_addr} _" Drop the quotes! Where does Postfix documentation say that you need to use

Re: Cannot sign with DKIM on same-server web and mail

2019-12-02 Thread Jaroslaw Rafa
Dnia 2.12.2019 o godz. 11:12:15 Linkcheck pisze: > Thanks, but I already had that. Although I had the "v" before the > daemon_addr when I first tried it... > milter_connect_macros="i j {daemon_name} v {daemon_addr} _" > > I have now tried it with the v where you suggest it but still gives >

Re: Cannot sign with DKIM on same-server web and mail

2019-12-02 Thread Linkcheck
Thanks, but I already had that. Although I had the "v" before the daemon_addr when I first tried it... milter_connect_macros="i j {daemon_name} v {daemon_addr} _" I have now tried it with the v where you suggest it but still gives UNPARSEABLE_RELAY. Also, I understand the quotes are