Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Dec 15, 2011 4:35 am 
Offline
Newbie

Joined: Wed Dec 14, 2011 5:52 am
Posts: 3
Website: http://alessandro.melandri.net
Location: Faenza, Italy
Hello everyone,

I setup Mailman with Postfix on Debian 6 using the Linone Library tutorial on a subdomain (lists.melandri.net) while the main domain (melandri.net) is configured to manage emails using Google Apps.

The setup is working fine except for sending mailing list messages to main domain email address.

Example: i set up the mailing list mylist@lists.melandri.net and messages cannot be delivered to email address with domain @melandri.net.

Looking at mailman logs i found this in smtp-failure

Code:
delivery to xxx@melandri.net failed with code 550: 5.1.1 <xxx@melandri.net>: Recipient address rejected: User unknown in local recipient table


These are my MX entries:

Code:
@         MX   1   ASPMX.L.GOOGLE.COM.
@         MX   5   ALT1.ASPMX.L.GOOGLE.COM.
@         MX   5   ALT2.ASPMX.L.GOOGLE.COM.
@         MX   10   ASPMX2.GOOGLEMAIL.COM.
@         MX   10   ASPMX3.GOOGLEMAIL.COM.
@         MX   10   lists.melandri.net.


Any help is appreciated :)

Thanks in advance,

Alessandro

_________________
Alessandro Melandri


Top
   
 Post subject:
PostPosted: Thu Dec 15, 2011 7:58 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Is there any mention of "melandri.net" (without lists.* or any other hostname under melandri.net) in the system's hostname, /etc/hosts, reverse DNS, Postfix configuration, or any maps the Postfix configuration refers to? It sounds like Postfix thinks it handles mail for melandri.net.

Also, you probably don't want that MX record for melandri.net -> lists.melandri.net.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Thu Dec 15, 2011 8:48 am 
Offline
Newbie

Joined: Wed Dec 14, 2011 5:52 am
Posts: 3
Website: http://alessandro.melandri.net
Location: Faenza, Italy
Thanks for the reply

In my hosts file I have this entry

Code:
xxx.xxx.xxx.xxx   myhostname.melandri.net   myhostname


In /etc/postfix/main.cf I have

Code:
myhostname = myhostname.melandri.net
...
mydestination = melandri.net, myhostname.melandri.net, localhost.melandri.net, localhost
...
relay_domains = $mydestination, lists.melandri.net



What do you mean whe you say "Also, you probably don't want that MX record for melandri.net -> lists.melandri.net.". Isn't correct?

Sorry for the dumb question but it's my first DNS configuration :)

Thanks again,

_________________
Alessandro Melandri


Top
   
 Post subject:
PostPosted: Thu Dec 15, 2011 1:18 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
amelandri wrote:
Code:
mydestination = melandri.net, myhostname.melandri.net, localhost.melandri.net, localhost

You have told postfix that it should receive mail for melandri.net, but in fact you want that mail to go to google - remove melandri.net from mydestination.

Quote:
What do you mean whe you say "Also, you probably don't want that MX record for melandri.net -> lists.melandri.net.". Isn't correct?

MX records specify hosts that receive mail for the given domain - you are telling senders that they should send mail destined for anyone@melandri.net to the host lists.melandri.net, which doesn't appear to be what you actually want.


Top
   
 Post subject:
PostPosted: Fri Dec 16, 2011 3:46 am 
Offline
Newbie

Joined: Wed Dec 14, 2011 5:52 am
Posts: 3
Website: http://alessandro.melandri.net
Location: Faenza, Italy
Thank you both for the help! I followed your suggestions and now it works.

Thank you again :)

_________________
Alessandro Melandri


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group