Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: mouss (mlist.onlyfree.fr)
Date: Thu Jan 10 2008 - 09:13:44 CST
Wojtek Swiatek wrote:
> I looked everywhere for an answer to my problem with aliases.
> I have a working postfix installations. Emails flow hapilly in and out
> without any problems.
> ** Short version:
> I wanted to expand my aliases by adding a 'foo' alias to
> /etc/postfix/aliases, then running newaliases and restarting postfix. An
> email ssent to the new alias is rejected with a "550 Relaying not
> permitted" message.
> ** Longer version & config.
> Postfix is 2.4.5-3ubuntu1
> main.cf has:
> alias_database = hash:/etc/postfix/aliases
> alias_maps = hash:/etc/postfix/aliases
> This is also what is reported by postconf
> The .db file is correctly rebuilt after a newaliases.
> The /etc/postfix/aliases is pure text, I have rewritten it by hand just in
> case there would be some strange characters. The syntax (triple-checked)
> is always
> <alias>: <local account>
> with a space after the ':'.
> root and postmaster WORK FINE (they are aliased to a local account). root
> is obviously an existing account, postmaster is not present in
> So the alias mechanism does work, but only partly. If I had to guess
> wildly it looks like (but is not the case) postfix is using an old alias
> file (with only root and postmaster) and not the correct one. But like I
> wrote earlier, main.cf has another (correct) configuration and postconf
> agrees with me :)
> I would be grateful for any help!
if you help, you will need to collaborate a little. you did not show
logs nor output of 'postconf -n' as requested in DEBUG README (see the
list welcome message also).