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
2 hours 36 min ago
4 hours 19 min ago
6 hours 45 min ago
6 hours 51 min ago
11 hours 25 min ago
13 hours 25 min ago
16 hours 49 min ago
18 hours 56 min ago
19 hours 7 min ago
21 hours 33 min ago