Browse Source

Fix dspam user parameter and data paths. fixes #196

Luke Cyca 10 years ago
parent
commit
1986dc96a4

+ 1
- 1
roles/mailserver/files/etc_postfix_dspam_filter_access View File

1
-/./   FILTER dspam:unix:/run/dspam/dspam.sock
1
+/./   FILTER dspam:dspam

+ 1
- 1
roles/mailserver/files/etc_postfix_master.cf View File

126
   ${nexthop} ${user}
126
   ${nexthop} ${user}
127
 # spam protection
127
 # spam protection
128
 dspam     unix  -       n       n       -       10      pipe
128
 dspam     unix  -       n       n       -       10      pipe
129
-  flags=Ru user=dspam argv=/usr/bin/dspam --deliver=innocent,spam --user ${user}@${nexthop} -i -f $sender -- $recipient
129
+  flags=Ru user=dspam argv=/usr/bin/dspam --deliver=innocent,spam --user ${user}@${domain} -i -f $sender -- $recipient
130
 dovecot   unix  -       n       n       -       -       pipe
130
 dovecot   unix  -       n       n       -       -       pipe
131
   flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/dovecot-lda -f ${sender} -d ${user}@${nexthop}
131
   flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/dovecot-lda -f ${sender} -d ${user}@${nexthop}

Loading…
Cancel
Save