Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to configure sSMTP to use a different name when sending emails?

I dont want my emails to my linux account as the username.

share|improve this question
up vote 4 down vote accepted

from the man pages of ssmtp

A reverse alias gives the From: address placed on a user's outgoing messages and (optionally) the mailhub these messages will be sent through. Example:

Messages root sends will be identified as from and sent through

/etc/ssmtp/ssmtp.conf - configuration file
/etc/ssmtp/revaliases - reverse aliases file

share|improve this answer

Depending on the SMTP server you are using it may support the use of the /etc/email-addresses. This is a way to provide aliases for sending addresses. The standard configuration for exim4 includes this functionality.

This can often be accomplished by your MUA (Mail User Agent). Thuderbird allows you do configure a different source address than the user id used to connect.

Make sure your server is allowed to use you chosen address or your email may be classified as spam. Using an authenticated connection to relay your email via the domain of your address should help in this case.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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