Results 1 to 2 of 2

Thread: Post Fix Error Message

  1. #1
    phillip59 NNTP User

    Angry Post Fix Error Message

    I get an error after updating main.cf by adding the following lines:

    /etc/postfix/main.cf:
    smtp_generic_maps = hash:/etc/postfix/generic
    /etc/postfix/generic: xxxx aaaaa@bbbbb.net

    Here is the error message:

    postmap: fatal: /etc/postfix/main.cf, line 700: missing '=' after attribute name: "/etc/postfix/main.cf: smtp_generic_maps = hash:/etc/postfix/generic"

    HELP HELP

  2. #2
    Camalen NNTP User

    Default Re: Post Fix Error Message

    phillip59 wrote:

    > I get an error after updating main.cf by adding the following lines:
    >
    > /etc/postfix/main.cf:
    > smtp_generic_maps = hash:/etc/postfix/generic
    > /etc/postfix/generic: xxxx aaaaa@bbbbb.net
    >
    > Here is the error message:
    >
    > postmap: fatal: /etc/postfix/main.cf, line 700: missing '=' after
    > attribute name: "/etc/postfix/main.cf: smtp_generic_maps =
    > hash:/etc/postfix/generic"


    Not sure if the error can come from the format... let's see.

    You have to do 2 changes:

    1. File /etc/postfix/main.cf

    smtp_generic_maps = hash:/etc/postfix/generic

    2. File /etc/postfix/generic

    fancyname@linux.local realname@realdomain.com

    And the run "postmap /etc/postfix/generic" and maybe "rcpostfix reload"

    Geetings,

    --
    Camalen

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •