[pfx] Re: recipient_bcc_maps with multi-instance

2024-05-10 Thread Viktor Dukhovni via Postfix-users
On Fri, May 10, 2024 at 09:47:31PM -0400, Alex via Postfix-users wrote: > Hi, I'm using postfix-3.7.9 multi-instance on fedora38 and can't figure out > why always_bcc and recipient_bcc_maps aren't working on the outbound > instance. > > 127.0.0.1:10025 inet n- n - 16smtp

[pfx] Re: recipient_bcc_maps clarification.

2024-01-08 Thread anant--- via Postfix-users
- Message from Viktor Dukhovni via Postfix-users -     Date: Mon, 8 Jan 2024 12:40:49 -0500     From: Viktor Dukhovni via Postfix-users Reply-To: postfix-users@postfix.org, Viktor Dukhovni Subject: [pfx] Re: recipient_bcc_maps clarification.       To: postfix-users

[pfx] Re: recipient_bcc_maps clarification.

2024-01-08 Thread Viktor Dukhovni via Postfix-users
On Mon, Jan 08, 2024 at 10:24:15AM +0530, anant--- via Postfix-users wrote: > For specific 2 recipients of our domain, we don't want always_bcc to be > implemented. ie. if a mail is addressed to a...@xx.com (our domain only), > mail should not be Bcc to zz...@xx.com. similarly if mail recipient

[pfx] Re: recipient_bcc_maps clarification.

2024-01-08 Thread Benny Pedersen via Postfix-users
John Fawcett via Postfix-users skrev den 2024-01-08 18:09: #/etc/postfix/regexp_recipient_bcc a...@xx.com    devnull d...@xx.com    devnull @xx.com    zz...@xx.com Postfix will still generate bcc messages for emails to abc and def but they won't actually get sent out. this is why always_bcc

[pfx] Re: recipient_bcc_maps clarification.

2024-01-08 Thread John Fawcett via Postfix-users
On 08/01/2024 05:54, anant--- via Postfix-users wrote: Hello, We have in main.cf always_bcc = zz...@xx.com and our domain is xx.com For specific 2 recipients of our domain, we don't want always_bcc to be implemented.  ie. if a mail is addressed to a...@xx.com  (our domain only), mail should

RE: recipient_bcc_maps using mysql

2021-12-13 Thread postfix
Thanks. I've got it working. -Original Message- From: owner-postfix-us...@postfix.org On Behalf Of Viktor Dukhovni Sent: Monday, December 13, 2021 3:34 PM To: postfix-users@postfix.org Subject: Re: recipient_bcc_maps using mysql On Mon, Dec 13, 2021 at 09:42:41AM -0800, Fred M

Re: recipient_bcc_maps using mysql

2021-12-13 Thread Viktor Dukhovni
On Mon, Dec 13, 2021 at 09:42:41AM -0800, Fred Morris wrote: > http://www.postfix.org/MYSQL_README.html For general background. For table syntax: http://www.postfix.org/mysql_table.5.html -- Viktor.

Re: recipient_bcc_maps using mysql

2021-12-13 Thread Fred Morris
http://www.postfix.org/MYSQL_README.html On Mon, 13 Dec 2021, post...@aecperformance.com wrote: I'm trying to set up a mysql table for: recipient_bcc_maps I've read this, repeatedly: http://www.postfix.org/postconf.5.html recipient_bcc_maps It doesn't really help me.

Re: recipient_bcc_maps and alias group

2020-10-20 Thread Wietse Venema
Wietse Venema: > There is NO DEPENDENCY between Postfix virtual alias expansion and > sender/recipient_bcc_maps. The result from vitual alias expansion > is NOT used by sender/recipient_bcc_maps, and the result from > sender/recipient_bcc_maps is NOT used by virtual alias expansion. Correction: th

Re: recipient_bcc_maps and alias group

2020-10-20 Thread Wietse Venema
There is NO DEPENDENCY between Postfix virtual alias expansion and sender/recipient_bcc_maps. The result from vitual alias expansion is NOT used by sender/recipient_bcc_maps, and the result from sender/recipient_bcc_maps is NOT used by virtual alias expansion. Sorry, I will not spend my time on ma

Re: recipient_bcc_maps and alias group

2020-10-20 Thread natan
Hi List users with alias.gr...@domain.ltd: us...@dommain.ltd us...@domain.ltd (this e-mail is in recipient_bcc_maps -> arch...@domain.ltd) us...@domain.ltd us...@domain.ltd us...@domain.ltd us...@domain.ltd (this e-mail is in recipient_bcc_maps -> arch...@domain.ltd) us...@domain.ltd us...@domain.

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: 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 s

Re: recipient_bcc_maps use case

2013-06-11 Thread Fabio Sangiovanni
Il 10/06/13 16:26, v.dimit...@synergetic.ag ha scritto: You may use something like this: bcc_table: address | enabled | 1 spec...@example.com | 1 SELECT case when `enabled` then 'other_...@example.com' else 'default_...@example.com' end FROM `bcc_table` where `address` in ('%s','') order by

Re: recipient_bcc_maps use case

2013-06-10 Thread V.Dimitrov
> Hi list, > > I need to setup recipient_bcc_maps to get the following behaviour: > - by default, I need every message to be BBC'd to > default_...@example.com > - for particular recipients, I need the message to be BCC'd to > other_...@example.com (and to this address only) > > - I need particul

Re: recipient_bcc_maps not working

2011-02-03 Thread Jeroen Geilman
On 2/3/11 9:18 AM, l...@ds.gauner.org wrote: l...@ds.gauner.org: I've configured recipient_bcc_maps to capture outgoing mail to some domains to debug delivery issues, i.e. some senders can't send mails to yahoo and yahoo wants the full body. So I thought I could just capture these mails using r

Re: recipient_bcc_maps not working

2011-02-03 Thread lkml
> l...@ds.gauner.org: >> I've configured recipient_bcc_maps to capture outgoing mail to some domains to debug delivery issues, i.e. some senders can't send mails to yahoo and yahoo wants the full body. So I thought I could just capture these mails using recipient_bcc_maps and later forward them to

Re: recipient_bcc_maps not working

2011-02-02 Thread Wietse Venema
l...@ds.gauner.org: > Hi, > > I've configured recipient_bcc_maps to capture outgoing mail to some > domains to debug delivery issues, i.e. some senders can't send mails to > yahoo and yahoo wants the full body. So I thought I could just capture > these mails using recipient_bcc_maps and later forw

Re: recipient_bcc_maps... noticing duplicate log entries when handing off to remote server

2010-07-06 Thread Matt Hayes
On 7/6/2010 10:43 AM, Victor Duchovni wrote: > On Tue, Jul 06, 2010 at 10:11:27AM -0400, Matt Hayes wrote: > >> I've been watching this for a while and still not sure what could be >> causing it it or if its a known issue, but thought I'd pass it along >> here on the mailing list to see whatever o

Re: recipient_bcc_maps... noticing duplicate log entries when handing off to remote server

2010-07-06 Thread Victor Duchovni
On Tue, Jul 06, 2010 at 10:11:27AM -0400, Matt Hayes wrote: > I've been watching this for a while and still not sure what could be > causing it it or if its a known issue, but thought I'd pass it along > here on the mailing list to see whatever one else thought. > > I use recipient_bcc_maps to bc

Re: recipient_bcc_maps... noticing duplicate log entries when handing off to remote server

2010-07-06 Thread Matt Hayes
On 7/6/2010 10:11 AM, Matt Hayes wrote: > I've been watching this for a while and still not sure what could be > causing it it or if its a known issue, but thought I'd pass it along > here on the mailing list to see whatever one else thought. > Crap, forgot to add this in, my apologies! mail_ve

Re: recipient_bcc_maps + kav = problem

2010-06-30 Thread mouss
Arek Czereszewski a écrit : > W dniu 2010-06-30 02:12, mouss pisze: >> Arek Czereszewski a écrit : Isnt this the expected behaviour when the mail in question is sent to both user1 and user2 ? User1 - 1 copy - original copy to user1 User2 - 1 copy - original copy to user2 Us

Re: recipient_bcc_maps + kav = problem

2010-06-29 Thread Arek Czereszewski
W dniu 2010-06-30 02:12, mouss pisze: Arek Czereszewski a écrit : Isnt this the expected behaviour when the mail in question is sent to both user1 and user2 ? User1 - 1 copy - original copy to user1 User2 - 1 copy - original copy to user2 User2 - 1 copy - from the bcc map It should be: user1

Re: recipient_bcc_maps + kav = problem

2010-06-29 Thread mouss
Arek Czereszewski a écrit : >> Isnt this the expected behaviour when the mail in question is sent to >> both user1 and user2 ? >> User1 - 1 copy - original copy to user1 >> User2 - 1 copy - original copy to user2 >> User2 - 1 copy - from the bcc map >> > > It should be: > user1 1 copy (original) a

Re: recipient_bcc_maps + kav = problem

2010-06-29 Thread Arek Czereszewski
Isnt this the expected behaviour when the mail in question is sent to both user1 and user2 ? User1 - 1 copy - original copy to user1 User2 - 1 copy - original copy to user2 User2 - 1 copy - from the bcc map It should be: user1 1 copy (original) and user2 1 copy from bcc Now user2 get 2 the same

Re: recipient_bcc_maps + kav = problem

2010-06-29 Thread Mihira Fernando
On 06/29/2010 01:30 PM, Arek Czereszewski wrote: Hi, I try to use recipient_bcc_maps for one user to copy emails to another. In main.cf I have: recipient_bcc_maps = hash:/usr/local/etc/postfix/wakacje In wakacje: us...@wup-katowice.pl us...@wup-katowice.pl But user2 always get 2 the same mess

RE: recipient_bcc_maps override

2010-06-11 Thread Emmanuel Bailleul
> -Message d'origine- > De : owner-postfix-us...@postfix.org [mailto:owner-postfix- > us...@postfix.org] De la part de Jeroen Geilman > Envoyé : vendredi 11 juin 2010 01:06 > À : postfix-users@postfix.org > Objet : Re: recipient_bcc_maps override > > On

Re: recipient_bcc_maps override

2010-06-10 Thread Jeroen Geilman
On 06/11/2010 12:59 AM, Emmanuel Bailleul wrote: Hello, I'm currently working on a test box to verify the behavior of some features I'd like to implement on a production mail relay server. Among those are recipient_bcc_maps/sender_bcc_maps (to keep copies of certain emails) and after-queue con

Re: recipient_bcc_maps

2010-04-29 Thread Wietse Venema
Wietse: > I don't see any text that _bcc_maps recipient are given other > treatment than non-BCC recipients. Stan Hoeppner: > Thanks Wietse. I was misreading this > > Note: automatic BCC recipients are produced only for new > mail. To avoid mailer loops, automatic BCC recipients >

Re: recipient_bcc_maps

2010-04-29 Thread Stan Hoeppner
Wietse Venema put forth on 4/29/2010 9:05 AM: > Stan Hoeppner: >> I'm current using recipient_bcc_maps to forward spam trap emails to a dnsbl. >> I've been asked by another dnsbl to provide them the same trap data. >> According to recipient_bcc_maps, I can't bcc to more than one address. > > As d

Re: recipient_bcc_maps

2010-04-29 Thread Wietse Venema
Stan Hoeppner: > I'm current using recipient_bcc_maps to forward spam trap emails to a dnsbl. > I've been asked by another dnsbl to provide them the same trap data. > According to recipient_bcc_maps, I can't bcc to more than one address. As documented. > I > thought of creating a local alias th

Re: recipient_bcc_maps seem to be ignored in master.cf

2009-10-07 Thread Halassy Zoltán
This is useless here because recipient_bcc_maps are handled by cleanup(8) and not smtpd(8). You need to use a different cleanup(8) instance which overrides the default bcc maps setting for mail coming through this special smtpd(8) listener. Cool! So i wrote this, and working! Thank you! smtps i

Re: recipient_bcc_maps seem to be ignored in master.cf

2009-10-07 Thread Sahil Tandon
On Oct 7, 2009, at 6:09 PM, Halassy Zoltán wrote: Hello! In main.cf I am using a global blind carbon copy table: recipient_bcc_maps = hash:/etc/postfix/global_bcc I would like to ignore this table, when trusted user sends a mail so i wrote this into master.cf: smtps inet n -

Re: recipient_bcc_maps, sender_bcc_maps

2009-04-01 Thread csere matyas
Victor Duchovni wrote: On Tue, Mar 31, 2009 at 09:57:12AM -0500, Noel Jones wrote: BTW, you can use "DUNNO" as the result in a pcre table to pretend the string wasn't found. No need to use a "null" alias. No, this is wrong. DUNNO is an access(5) action, which has no special meaning i

Re: recipient_bcc_maps, sender_bcc_maps

2009-03-31 Thread Victor Duchovni
On Tue, Mar 31, 2009 at 09:57:12AM -0500, Noel Jones wrote: > BTW, you can use "DUNNO" as the result in a pcre table to pretend the > string wasn't found. No need to use a "null" alias. No, this is wrong. DUNNO is an access(5) action, which has no special meaning in address rewriting tables. -

Re: recipient_bcc_maps, sender_bcc_maps

2009-03-31 Thread Noel Jones
csere matyas wrote: hi i have a postfix set up with a bunch of virtual domains. we've been using always_bcc to archive the mail, until one of the paranoid users asked us not to include his mail in the archive. so i'm trying to do the same with recipient/sender maps: recipient_bcc_maps =

Re: recipient_bcc_maps, sender_bcc_maps

2009-03-31 Thread Victor Duchovni
On Tue, Mar 31, 2009 at 12:34:21AM +0200, csere matyas wrote: > so i'm trying to do the same with recipient/sender maps: > > recipient_bcc_maps = pcre:/etc/postfix/recipient_bcc > > sender_bcc_maps = pcre:/etc/postfix/se

Re: recipient_bcc_maps and sender_bcc_maps

2008-11-12 Thread Noel Jones
Márcio Luciano Donada wrote: Wietse Venema escreveu: M�rcio Luciano Donada: Hi list, I am successfully using the parameters, but the e-mails arriving at their destination duplicates, is that correct? I'm using postfix 2.3.8-2 See: http://www.postfix.org/FILTER_README.html and look for "receiv

Re: recipient_bcc_maps and sender_bcc_maps

2008-11-12 Thread Márcio Luciano Donada
Wietse Venema escreveu: > M�rcio Luciano Donada: >> Hi list, >> >> I am successfully using the parameters, but the e-mails arriving at >> their destination duplicates, is that correct? I'm using postfix 2.3.8-2 > > See: http://www.postfix.org/FILTER_README.html and look for > "receive_override_opt

Re: recipient_bcc_maps and sender_bcc_maps

2008-11-12 Thread Wietse Venema
M?rcio Luciano Donada: > Hi list, > > I am successfully using the parameters, but the e-mails arriving at > their destination duplicates, is that correct? I'm using postfix 2.3.8-2 See: http://www.postfix.org/FILTER_README.html and look for "receive_override_options". Wietse