|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: mouss (mlist.only
free.fr)
Date: Wed Jan 02 2008 - 15:27:37 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Carlos Sánchez wrote:
> Hi,
>
> I am new using postfix and I want to create an alias that contain all my users.
>
> my configuration is:
> alias_maps = mysql:/path/to_file/mysql-aliases.cf
>
> I add this record in the table alias:
>
> INSERT INTO postfix_alias_table VALUES (' ','alluser',':include:/path/to/aliasfile') ;
>
> And my aliasfile have:
> user1
example.com
> user2
example.com
> user3
example.com
>
> my error is:
>
> NOQUEUE: reject: RCPT from machine1[10.10.xxx.xxx]: 550 5.1.1 <alluser
example.com>: Recipient address rejected: User unknown; from=<user4
example.com> to=<alluser
example.com> proto=ESMTP
>
> I don´t know why is this error, i think that i dont have to create a mail account alluser
example.com beacuse this is an alias.
>
The first thing to do is to read the ML welcome message, which
recommends reading
http://www.postfix.org/DEBUG_README.html#mail
saying "it is an alias" is useless for at least two reasons:
- alias_maps only works for local domains. since you didn't show
'postconf -n', we have no idea what domain class you are talking about.
- lookup maust always be tested with 'postmap -q'. if you think there is
no error in your config, then you have no problem.
Finally, what is the reason to use mysql to return an include???? since
you're going with flat files, then use /etc/aliases.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]