Add new comment
Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
|
If you need to match all the senders from your domain and not just specific ones do the following: in the file /etc/postfix/disclaimer_addresses add your domains like: example.com sub.example.com
and then change the following line at /etc/postfix/disclaimer script: original: from_address=`grep -m 1 "From:" in.$$ | cut -d "<" -f 2 | cut -d ">" -f 1` after the change: from_address=`grep -m 1 "From:" in.$$ | cut -d "<" -f 2 | cut -d ">" -f 1 | cut -d "@" -f 2`
Reply |





Recent comments
12 hours 14 min ago
18 hours 2 min ago
19 hours 53 min ago
21 hours 38 min ago
1 day 1 hour ago
1 day 7 hours ago
1 day 7 hours ago
1 day 11 hours ago
1 day 17 hours ago
1 day 22 hours ago