Gentoo Archives: gentoo-user

From: "Michael [Plouj] Ploujnikov" <ploujj@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] OT - format ssmtp's from field + gmail SMTP
Date: Fri, 13 Oct 2006 17:29:19
Message-Id: 18e575130610131020k266b2d7cp3f547a6486c5db6a@mail.gmail.com
1 I am using gmail's SMTP server to send mail from my local machine
2 (mostly for portage and cron logs) and I discovered that if I send
3 mail using the `mail` command, rather than using my real name,
4 something just puts my email in the From field. To make it clear it
5 looks like this:
6
7 gmail's interface:
8 From: ploujj@×××××.com <ploujj@×××××.com>
9
10 actual mail text:
11 From: ploujj@×××××.com
12
13 What I would like it to show is:
14 gmail's interface:
15 From: Michael [Plouj] Ploujnikov <ploujj@×××××.com>
16
17 actual mail text:
18 From: "Michael [Plouj] Ploujnikov" <ploujj@×××××.com>
19
20 I noticed thatmy cron daemon is able to do this:
21 From: Cron Daemon <ploujj@×××××.com>
22
23 So far, I failed to find out what allowed cron to do this.
24
25 my ssmtp config:
26
27 # grep -v "#" /etc/ssmtp/ssmtp.conf| cat -s
28 root=ploujj@×××××.com
29 mailhub=smtp.gmail.com:587
30 UseTLS=YES
31 UseSTARTTLS=Yes
32 AuthUser=ploujj
33 AuthPass=******
34 FromLineOverride=YES
35
36 I hope this isn't too OT. Please let me know if there is a better
37 place to ask this.
38
39
40 Thanks.
41
42 --
43 () ASCII Ribbon Campaign
44 /\ - against HTML mail & vCards
45 --
46 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: OT - format ssmtp's from field + gmail SMTP "Michael [Plouj] Ploujnikov" <ploujj@×××××.com>