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

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

  1. File /etc/postfix/generic

fancyname@linux.local realname@realdomain.com

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

Geetings,


Camaleón