Skip to content

Commit c138126

Browse files
committed
Direct root@scripts mail through procmail so it gets spam filtered
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 32ccf3d commit c138126

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

server/fedora/config/etc/aliases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ hostmaster: root
8888
decode: root
8989

9090
# Person who should get root's mail
91-
91+
# root: (moved to /etc/scripts/root-procmailrc so this mail gets spam filtered)
9292

9393
scripts: root
9494
signup: root
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
root /usr/bin/procmail /etc/scripts/root-procmailrc

server/fedora/config/etc/postfix/main.cf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ myorigin = scripts.mit.edu
1212
mydestination = scripts.mit.edu, scripts, $myhostname, scripts-test.mit.edu, scripts-test, localhost
1313
relayhost =
1414
mynetworks_style = host
15-
mailbox_command_maps = ldap:/etc/postfix/mailbox-command-maps-ldap.cf
15+
mailbox_command_maps =
16+
texthash:/etc/postfix/mailbox_command_maps,
17+
ldap:/etc/postfix/mailbox-command-maps-ldap.cf
1618
mailbox_size_limit = 0
1719
message_size_limit = 41943040
1820
recipient_delimiter = +

0 commit comments

Comments
 (0)