Am 22.11.2013 12:11, schrieb Alexander Farber: > Hello, I know regexes well - but can't figure out, where to applly them > in Postfix, since smtp_header_checks with DISCARD action seems not to be > supported with OUTGOING mail?
perhaps try restriction classes in combination with regex sender restriction table etc however discard is not a good idea, why not simply filter to an error transport etc or if you stop mail from this email addresses type at income, no need to discard them later etc... > > > On Fri, Nov 22, 2013 at 11:22 AM, Robert Schetterer <r...@sys4.de > <mailto:r...@sys4.de>> wrote: > > > > Am 22.11.2013 10:48, schrieb Alexander Farber: > > > I'd like my postfix to drop OUTGOING mail silently if addressed to > > us.er.n.a...@gmail.com <mailto:us.er.n.a...@gmail.com> > <mailto:us.er.n.a...@gmail.com <mailto:us.er.n.a...@gmail.com>> > > drop silent isnt a good idea, however you need some regex or pcre sender > restriction in combination only for out mail to do that. > Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein