I think what you want is Nullmailer or a software like it. http://packages.ubuntu.com/maverick/nullmailer Note: Exim, Postfix and QMailer all have that ability too.