1

Topic: Alias definitions .... weird error!

Hi
Using the iRedMail rc2 on Debian Lenny.... I have setup various aliases for the users...
like "first.lastname@domain.com" for the account "shortname@domain.com"  ....

However I do get an obscure error:

This is the mail system at host name.domainname.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                  The mail system

<firstname.lastname@servername.com>: user unknown
Reporting-MTA: dns; servername.domainname.com
X-iRedMail-Queue-ID: C00839EAC
X-iRedMail-Sender: rfc822; shorname@domainname.com
Arrival-Date: Sun,  9 Aug 2009 23:14:30 +0200 (CEST)

Final-Recipient: rfc822; firstname.lastname@domainname.com
Action: failed
Status: 5.1.1
Diagnostic-Code: x-unix; user unknown

Fra: shortname@domainname.com (Niels Eliasen)
Dato: 9. aug 2009 23.14.30 GMT+02:00
Til: firstname.lastname@domainname.com
Emne: test27


test27



Any ideas ? anyone?

regards
niels

2

Re: Alias definitions .... weird error!

<firstname.lastname@servername.com>: user unknown

How did you setup alias account? Which backend do you use? MySQL or OpenLDAP?

3

Re: Alias definitions .... weird error!

ZhangHuangbin wrote:

<firstname.lastname@servername.com>: user unknown

How did you setup alias account? Which backend do you use? MySQL or OpenLDAP?

I am pretty much the MySQL backup and using the following:
"postalias -q 'firstname.lastname@domainname.com' mysql:/etc/postfix/mysql_virtual_alias_maps.cf"
gives me the expected shortname@domainname.com back..... so.. so far so good!!
But still I get the error....

and I made the definition for the "firstname.lastname@domainname.com" alias through the "postfixadmin" web-interface....

4

Re: Alias definitions .... weird error!

Does account 'shortname@domainname.com' already exist in mysql database (vmail.mailbox)?

5

Re: Alias definitions .... weird error!

ZhangHuangbin wrote:

Does account 'shortname@domainname.com' already exist in mysql database (vmail.mailbox)?

Yes.. is does exist....

6

Re: Alias definitions .... weird error!

neliasen wrote:
ZhangHuangbin wrote:

Does account 'shortname@domainname.com' already exist in mysql database (vmail.mailbox)?

Yes.. is does exist....


Interesting!
I just noticed... after searching intensely for similar problems... that when changing the
receive_override_options= no_address_mappings
to just
receive_override_options =
I was able to use all the aliases that I had defined.....

but... as I can see in the "postfix.sh" file has the "postfix.sh:    postconf -e receive_override_options='no_address_mappings'" been entered??
or is there a tweak for this ??