Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mailman + Postfix - mail bouncing for mailing list
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rexregis
n00b
n00b


Joined: 16 May 2004
Posts: 4

PostPosted: Sun May 16, 2004 7:58 pm    Post subject: Mailman + Postfix - mail bouncing for mailing list Reply with quote

Greetings, all! I have set up virtual email hosting as per this guide. I have also set up mailiman for some mailing lists. Somehow, I've missed something. When I attempt to send a message to the mailing list address, it bounces. The email is returned as follows:

Quote:
Final-Recipient: rfc822; test@mail.precisionmarketresearch.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; unknown user: "test"


When I do a "tail -f" on the log while trying to send a message to the list, it
says this:

Quote:
May 16 07:53:01 www postfix/smtpd[25593]: < unknown[xxx.xxx.xxx.xxx]: RCPT TO:<test@precisionmarketresearch.com>
May 16 07:53:01 www postfix/smtpd[25593]: extract_addr: input: <test@precisionmarketresearch.com>
May 16 07:53:01 www postfix/smtpd[25593]: extract_addr: result: test@precisionmarketresearch.com
May 16 07:53:01 www postfix/smtpd[25593]: generic_checks: START
May 16 07:53:01 www postfix/smtpd[25593]: generic_checks: name=permit_sasl_authenticated
May 16 07:53:01 www postfix/smtpd[25593]: generic_checks: name=permit_sasl_authenticated status=1
May 16 07:53:01 www postfix/smtpd[25593]: ctable_locate: leave existing entry key test@precisionmarketresearch.com
May 16 07:53:01 www postfix/smtpd[25593]: maps_find: recipient_canonical_maps: test@precisionmarketresearch.com: not found
May 16 07:53:01 www postfix/smtpd[25593]: match_string: precisionmarketresearch.com ~? mail.precisionmarketresearch.com
May 16 07:53:01 www postfix/smtpd[25593]: match_string: precisionmarketresearch.com ~? localhost.precisionmarketresearch.com
May 16 07:53:01 www postfix/smtpd[25593]: match_string: precisionmarketresearch.com ~? precisionmarketresearch.com
May 16 07:53:01 www postfix/smtpd[25593]: maps_find: recipient_canonical_maps: test: not found
May 16 07:53:01 www postfix/smtpd[25593]: maps_find: recipient_canonical_maps: @precisionmarketresearch.com: not found
May 16 07:53:01 www postfix/smtpd[25593]: mail_addr_find: test@precisionmarketresearch.com -> (not found)
May 16 07:53:01 www postfix/smtpd[25593]: maps_find: canonical_maps: test@precisionmarketresearch.com: not found
May 16 07:53:01 www postfix/smtpd[25593]: match_string: precisionmarketresearch.com ~? mail.precisionmarketresearch.com
May 16 07:53:01 www postfix/smtpd[25593]: match_string: precisionmarketresearch.com ~? localhost.precisionmarketresearch.com
May 16 07:53:01 www postfix/smtpd[25593]: match_string: precisionmarketresearch.com ~? precisionmarketresearch.com
May 16 07:53:01 www postfix/smtpd[25593]: maps_find: canonical_maps: test: not found
May 16 07:53:01 www postfix/smtpd[25593]: maps_find: canonical_maps: @precisionmarketresearch.com: not found
May 16 07:53:01 www postfix/smtpd[25593]: mail_addr_find: test@precisionmarketresearch.com -> (not found)
May 16 07:53:01 www postfix/smtpd[25593]: maps_find: virtual_alias_maps: hash:/usr/local/mailman/data/virtual-mailman: test@precisionmarketresearch.com = test
May 16 07:53:01 www postfix/smtpd[25593]: mail_addr_find: test@precisionmarketresearch.com -> test


I have been searching the forums for several hours now, and I haven't found anything that has alleviated the problem. Please let me know what config files I could post that would be useful for diagnosing this problem. Thanks!


Last edited by rexregis on Mon May 17, 2004 1:32 am; edited 3 times in total
Back to top
View user's profile Send private message
rexregis
n00b
n00b


Joined: 16 May 2004
Posts: 4

PostPosted: Mon May 17, 2004 1:28 am    Post subject: Small Update Reply with quote

I also noticed that if I put a virtual alias (into either the virtual table in the mysql db or the virtual-mailman) for the mailing list email, the system will find that, but bounce the email anyway. However, I am not even trying to do a virtual setup. I just want one mailing list for the one domain for right now. So, I have taken out the entry in the virtual table. Now, when I try to send an email to the mailing list, the 'tail -f /var/log/messages' output is as follows:

Quote:
May 16 13:26:11 www postfix/smtpd[18532]: maps_find: local_recipient_maps: @precisionmarketresearch.com: not found
May 16 13:26:11 www postfix/smtpd[18532]: mail_addr_find: test@precisionmarketresearch.com -> (not found)
May 16 13:26:11 www postfix/smtpd[18532]: C9392BB88C: reject: RCPT from unknown[xxx.xxx.xxx.xxx]: 450 <test@precisionmarketresearch.com>: User unknown in local recipient table; from=<scott@precisionmarketresearch.com> to=<test@precisionmarketresearch.com> proto=ESMTP helo=<mydnsentry.mydomain.net>
May 16 13:26:11 www postfix/smtpd[18532]: > unknown[xxx.xxx.xxx.xxx]: 450 <test@precisionmarketresearch.com>: User unknown in local recipient table


This is quite aggravating, but the search continues. If there's any direction that anyone can point me in, I would very much appreciate it.
Back to top
View user's profile Send private message
rexregis
n00b
n00b


Joined: 16 May 2004
Posts: 4

PostPosted: Tue May 18, 2004 2:43 am    Post subject: Solution Reply with quote

I finally discovered that what I had done wrong. Inside of my /etc/postfix/main.cf file, I had declared 'alias_database' and 'alias_maps' both twice. Once at the beginning, and once (which had already been put there before I ever touched the file) at the end. As many know, the last definition of a variable in the config files is the one that sticks. So, when I had declared them correctly at the beginning of the file, the re-declaration at the end (which was incorrect) of the file is the one that was used. So... if you are experiencing this problem, remember to check your variable declarations to make sure they are not declared twice.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum