Below are examples of working with spam restrictors.
To display the current set of spam restrictors while logged into the primary Screen:
admin% ssadm -r primary edit Initial edit> mail_spam list "total-nonsense.org" "0.0.0.0..255.255.255.255" |
One to refuse email from the server or servers with registered address in the domain total-nonsense.org
The other to refuse mail from any host that does not have a registered server name (in a reverse-mapping of IP address to DNS name).
To add an additional restriction while logged into the primary Screen:
edit> mail_spam add complete-spam.net edit> quit |
The following removes a restriction while logged into the primary Screen:
edit> mail_spam delete lite-spam.com |
The following is an example of what you type to define spam restrictors to deny mail from some mail originators you know to be sources of unsolicited mail:
edit> mail_spam add 0.0.0.0..255.255.255.255 edit> mail_spam add dialups.naughty-isp.net |