APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

SME server virus scan notification and double bounce

© May 2004 Tony Lawrence

Tue May 18 16:16:41 GMT 2004 SME server virus scan notification and double bounce

We now have a way to eliminate virus notification and double-bounce messages on SME 6.0. Make sure you have the latest 6.0 blades before doing this.


Login as root (ctrl-alt-f2 on the console or ssh in)

mkdir -p /etc/e-smith/templates-custom/var/qmail/control
echo devnull > /etc/e-smith/templates-custom/var/qmail/control/doublebounceto
/sbin/e-smith/signal-event email-update
/etc/rc.d/init.d/qmail restart

Unknown user notification

Unfortunately, there is just too much "xyz@yourdomain.com" nowadays. It's nice to notify the unfortunate person who mistypes an email address, but we can't afford to do that nowadays.

echo "#" > /var/qmail/alias/.qmail-devnull

mkdir -p /etc/e-smith/templates-custom/var/qmail/alias/.qmail-default

echo "&devnull" > /etc/e-smith/templates-custom/var/qmail/alias/.qmail-default/10devnullbounces

/sbin/e-smith/expand-template /var/qmail/alias/.qmail-default

Set "Forward email for unknown users" to "admin" after doing this.

Virus notification

Ordinarily, three people get notified when a virus is found in email: the admin user, the recipient, and the sender. Nowadays, notifying the sender is probably useless, because it is usually a bad email address. You can turn off any or all of these, but consider that if, for example, your boss sends email from his virus infected home machine to you, you and he will never know anything about it if you have all of these turned off. Consider also that if a machine WITHIN your network gets a virus, you'd never know about that if all these are turned off. The annoyance of these may be enough for you to do it anyway, but at least think about the consequences. It is probably reasonable to turn off Sender at least.

/sbin/e-smith/config setprop scanner EmailAdmin disabled
/sbin/e-smith/config setprop scanner EmailRecips disabled
/sbin/e-smith/config setprop scanner EmailSender disabled 
/sbin/e-smith/signal-event email-update 

(My SME customers can request that I do this for them; just call or email)

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> SME server virus scan notification and doublebounce

Inexpensive and informative Apple related e-books:

Sierra: A Take Control Crash Course

Take Control of IOS 11

Take Control of Automating Your Mac

Take Control of High Sierra

Take Control of Apple Mail, Third Edition

More Articles by © Tony Lawrence

Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version


Linux posts

Troubleshooting posts

This post tagged:





Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode