OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Geoff Gibbs (ggibbshgmp.mrc.ac.uk)
Date: Mon Jul 02 2001 - 10:46:50 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    > Being very bad at regexps, can anyone suggest one that might
    > catch such emails, or a good source for 'regexps for dummies'?

    Don't forget that you can use postmap to check that your expression
    works correctly :-

    /etc/postfix/recipient_checks :-

    # Protect your outgoing majordomo exploders
    /^(.*)-outgoing(.*)$/!/^owner-.*/ 550 Use ${1}${2} instead
    /^(.*)-list(.*)$/!/^owner-.*/ 550 Use ${1}${2} instead

    postmap -q 'fred-outgoingsome.where' regexp:/etc/postfix/recipient_checks
    550 Use fredsome.where instead

    Geoff

    UK-Human Genome Mapping Project-Resource Centre,
    Hinxton, Cambridge, CB10 1SB, UK
    Tel: +44 1223 494530 Fax: +44 1223 494512 E-mail: G.Gibbshgmp.mrc.ac.uk

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users