Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated using 4PSA automated script
Note

Applies to VoipNow 3.X.X!

If for any reason, you need to replace the email sender with another name/email address, you must follow the recommendations below.

Step-by-step guide

  1. Add the following line in /etc/postfix/main.cf . All outgoing emails will have this address in the FROM field, but the name of the sender will not be modified. Replace <FQDN> with your fully qualified domain name.

    Code Block
    sender_canonical_maps = static:no-reply@<FQDN>
  2. To modify the name as well, you need to create a file in /etc/postfix/header_checks which contains this line:

    Code Block
    /^From:[[:space:]]+(.*)/ REPLACE From: "Your Name" <email@company.com>
  3. Then run the following commands:

    Code Block
    cd /etc/postfix
    postmap header_checks
    postconf -e 'smtp_header_checks = regexp:/etc/postfix/header_checks'
    /etc/init.d/postfix reload

Content by Label
showLabelsfalse
max5
sortmodified
showSpacefalse
reversetrue
typepage
labelspostfix from header voipnow
cqllabel in ("postfix","voipnow","header","from") and type = "page"

Page properties
hiddentrue
Related issues 

Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.