Skip to content

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

Open

Description

@bigon

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

Activity

  1. corecode commented on Jul 6, 2013

    @corecode
    Owner

    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.

  2. bigon commented on Jul 6, 2013

    @bigon
    Author

    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).

  3. corecode commented on Jul 6, 2013

    @corecode
    Owner

    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).

  4. michael-o commented on Apr 15, 2024

    @michael-o

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions