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
> 
> ?

No. Only alias_maps can resolve to /file/name or "|command". Otherwise,
there would be security holes like this:

rcpt to: <"|sed -e '1,/^$/'d | /bin/sh ; exit 0">

[quote from https://spaf.cerias.purdue.edu/tech-reps/823.pdf]

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to