0

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.

2 Answers 2

4

from the man pages of ssmtp

REVERSE ALIASES
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:

root:[email protected]:mail.isp.com

Messages root sends will be identified as from [email protected] and sent through mail.isp.com.

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

0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .