source: trunk/server/fedora/config/etc/postfix/virtual_re @ 2405

Last change on this file since 2405 was 2375, checked in by andersk, 11 years ago
Tighten scripts vhost mail security Broken MTAs such as MIT’s will rewrite anyone@awesome-cname.mit.edu to anyone@scripts-vhosts.mit.edu, in violation of RFC 2821. (This can be fixed with the Sendmail nocanonify feature or DontExpandCnames option, which, bewilderingly, are still not the default.) To prevent such mail from being misdirected, remove scripts-vhosts from $mydestination and let it bounce. Correct r1452 to match literal periods in scripts.mit.edu. Reserve the well-known (RFC 2142) email addresses {abuse,hostmaster,noc,postmaster,security}@every-domain for our own purposes; /etc/aliases maps these to root. Tested on scripts-f17-dev.
File size: 190 bytes
Line 
1/^(.*)@scripts\.mit\.edu$/ $1@scripts.mit.edu
2/^(abuse|hostmaster|noc|postmaster|security)@/ $1@scripts.mit.edu
3/^(.*)@([^@]*)\.scripts\.mit\.edu$/ $2+$1
4/^([^@]*)\.scripts\.mit\.edu$/ true
Note: See TracBrowser for help on using the repository browser.