|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Wojtek Swiatek (wojtek
swiatek.name)
Date: Thu Jan 10 2008 - 09:00:37 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greetings,
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
/etc/passwd.
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!
Thanks,
Wojtek
--
http://blog.swiatek.name
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]