I have setup SSMTP on a few servers to all use the same email address to send mail from. Now, obviously, whenever I get a mail from one of these servers, the mails all originate from this same email address. I would like for the servers so send with a different "full name", e.g.:
- mail from ServerA: "Server A" <email@example.com>
- mail from ServerB: "Server B" <firstname.lastname@example.org>
Reading through the SSMTP manfile, I found the
-F option, which should do exactly what I want. However, I can't find a way to set some default value for
-F. My Google-fu is failing me. Is there any way to achieve what I want?
[Edit] Hm, so far, I hadn't bothered trying the
-F command line flag. I just did and even that is not working for me. I have SSMTP setup to send with a GMail account. Could that be the cause?