On Wed, Jan 15, 2025 at 01:33:53PM -0500, Wietse Venema via Postfix-users wrote:
> Florian Piekert via Postfix-users: > > Hello Wietse, > > > > >> Jan 15 12:40:48 butterfly postfix/local[3017382]: 225A9F8B1D1: > > >> to=<ignoret...@butterfly.post-peine.de>, relay=local, delay=1.7, > > >> delays=1.7/0/0/0, dsn=2.0.0, status=sent (delivered to command: > > >> /usr/local/sbin/devnull) > > > > > > The BCC is delivered to /dev/null in some way or another. > > > > > > Replace: > > > ignorethis: "|/dev/null" > > > > > > with: > > > ignorethis: /dev/null > > > > in /etc/aliases I have done so. > > Good. > > > Do you recommend to do this similarly in the pcre:files as well instead of > > ignorethis as target? So > > > > /^spalertd@.*$/ /dev/null Exceptions to regex rules in BCC maps are best made via conditinal patterns, not by creating BCC to discarded recipients. foo.pcre: if !/exception/ /rule/ recipient endif If one does want to discard a recipient, go with: transport: discard.invalid discard:silently Tnen any recipient i @discard.invalid is dropped much more efficiently than doing a delivery to "/dev/null" via local aliases(5). -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org