My some software applications need to relay emails to my email account.

The only way they can do it via connecting to localhost which relays mail on behalf of application.

I have forgotten the name of such a software it is a Debian/Ubuntu environment.

Can any one let me know the name of such an proxy software which relays mail to your local SMTP server on behalf of application I will need to enter username password also in this setting because the mail server needs authentication.

  • 1
    What software needs mail relayed? Why can't it connect to the mail server directly? – blueben Feb 10 '11 at 4:11
  • "I have forgotten the name of such a software it is a Debian/Ubuntu environment" -- probably sendmail; it's part of most Linux distros (at least the useful ones). – amphetamachine Feb 10 '11 at 4:52
  • @blueben: Software that follows the traditional Unix method of invoking /usr/sbin/sendmail and letting the MTA take care of transmission and delivery. – grawity Feb 10 '11 at 5:55

Ok thanks all I found nullmailer is the software I was looking for.

It is a ubuntu package which can deliver mail on behalf of a software to the corporate mail server with authentication as a user.As I can not run a MTA so nullmailer suits my needs.


Standard servers include exim, postfix, and sendmail. I would prefer exim or postfix over sendmail. The command aptitude search smtp lists a number of relay only tools.

Try the command aptitude show mail-transport-agent for a complete list of packaged mail transport agents.


What you need is an MTA. This will relay messages on your behalf.

(MTA) or mail relay is software that transfers electronic mail messages from one computer to another using a client–server application architecture. An MTA implements both the client (sending) and server (receiving) portions of the Simple Mail Transfer Protocol.

It's essential the same as running your own mail server, however in the case you describe you don't accept incoming mail, just relay outgoing mail.

Example of MTA are: sendmail, postfix, qmail, etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.