/etc/postfix/aliases still not working. Please help!
Hi there! Hope someone can help me out with this becasuse I'm getting really desperate...
I have ISPC3 184.108.40.206 running on ubuntu 8.10. Everything's working great but local aliases, which are not processed at all. Postfix knows about the aliases file, with entries in main.cf:
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
These are the contents of /etc/postfix/aliases
If I send a message to email@example.com I get this in the log:
NOQUEUE: reject: RCPT from externaldomain.ltd[220.127.116.11]: 550 5.1.1 <firstname.lastname@example.org>: Recipient address rejected: User unknown in virtual mailbox table; from=<email@example.com> to=<firstname.lastname@example.org> proto=ESMTP helo=<mailserver.externaldomain.ltd>
If I do add a malformed entry in /etc/postfix/aliases and run newaliases without any options I do get warnings/errors, so postfix IS looking at the right file.
On an opensuse server without ISPC3 (but with virtual users as well in a LDAP database), an aliases file such as this one in ubuntu works well.
Can anybody help me, please?
The aliases database is only used for the local server.
If your server is called server.mydomain.com an email send to email@example.com in your case will be forwarded to firstname.lastname@example.org.
When you are sending an email to email@example.com Postfix will not check the aliases database. You need to add the postmaster user to the virtual mailbox table of anyvirtualdomaininispc3.ltd. In that case you will be able to send it as you pleased.
What you were trying was to send an email to an unknown user in virtual mailbox table of the anyvirtualdomaininispc3.ltd domain. So the message is correct. Keep in mind that the aliases database is only for local use and not for a virtual mailbox.
|All times are GMT +2. The time now is 01:03.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.