Page 1 of 1

aliases and expanding

Posted: 25 Oct 2010, 14:06
by pcrene
Hello All,

On B2 i used aliases to create alternative email adresses or send copies to different persons.

in aliases i have:

harrie_jj: harrie, admin

nou when i send an email to harrie_jj i get this reaction:
The mail system

<[email protected]> (expanded from <[email protected]>): host
smtp.upcmail.nl[213.46.255.2] said: 550 5.1.1 <b3.localdomain> invalid
domain (in reply to RCPT TO command)

it tries to send the email back to my providers mailserver..but it should be expanded to local?

Rene

Re: aliases and expanding

Posted: 25 Oct 2010, 14:25
by jallee
Check the file " /etc/postfix/main.cf " so b3.localdomain is in "mydestination"

Code: Select all

#cat /etc/postfix/main.cf

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# The command_directory parameter specifies the location of all
# postXXX commands.
#
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix

mydestination = b3.localdomain, localhost.localdomain, localhost, /etc/postfix/bubbadomains

unknown_local_recipient_reject_code = 550
mynetworks = 127.0.0.0/8 192.168.1.0/24 [::ffff:127.0.0.0]/104 [::1]/128
 --- snip ---
Regards // Jallee

Re: aliases and expanding

Posted: 25 Oct 2010, 14:29
by pcrene
Hello Jallee,

Thx, that did the job.......

Rene

Re: aliases and expanding

Posted: 26 Oct 2010, 02:44
by Magnus
Thank you for noticing and giving a fast solution. We have this on our todo and it will be fixed in an upgrade within short.
/Magnus