Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to pass fullname to the From header #16

Open
bigon opened this issue Jul 5, 2013 · 4 comments
Open

Add a way to pass fullname to the From header #16

bigon opened this issue Jul 5, 2013 · 4 comments

Comments

@bigon
Copy link

bigon commented Jul 5, 2013

Hi,

It would be nice if there was a away to add the user fullname to the From header when sending a mail.

Maybe the EMAIL environment variable could be abused and dma could be extended to detect cases like 'name user@domain.tld'? Or maybe there is a more suitable way?

Cheers

@corecode
Copy link
Owner

corecode commented Jul 6, 2013

How do other MTAs handle this? I think we should align ourselves with them.

On 07/06/2013 12:54 AM, Laurent Bigonville wrote:

Hi,

It would be nice if there was a away to add the user fullname to the
From header when sending a mail.

Maybe the EMAIL environment variable could be abused and dma could be
extended to detect cases like 'name user@domain.tld
mailto:user@domain.tld'? Or maybe there is a more suitable way?

Cheers


Reply to this email directly or view it on GitHub
#16.

@bigon
Copy link
Author

bigon commented Jul 6, 2013

Hi,

Quickly looking at ssmtp code, it seems that it uses gecos information to guess the full name. (I initially thought it was also using EMAIL env parameter).

@corecode
Copy link
Owner

corecode commented Jul 6, 2013

We can use gecos. We should just should make sure that it doesn't
result in an invalid address.

On 07/06/2013 03:01 PM, Laurent Bigonville wrote:

Hi,

Quickly looking at ssmtp code, it seems that it uses gecos information
to guess the full name. (I initially thought it was also using EMAIL
env parameter).


Reply to this email directly or view it on GitHub
#16 (comment).

@michael-o
Copy link

Both sendmail and postfix will use GECOS with getpwnam().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants