On Tue, 2005-05-10 at 15:07 +1000, Lie, Jafaruddin wrote:
> Hi gang
> 
> Just joined the mailing list *waves to everyone
> 
> I have problems getting mailman to run with postfix. Here's the story:
> mailman installation went ok and it ran ok with sendmail. When I
> installed and used system-switch-mail to switch to postfix, the problem
> began.
> 
> The setup: 
> I am setting mailman to run internally, so we have local mail accounts
> on my fedora box ([EMAIL PROTECTED]) not accessible to the outside
> world, only locally and anyone on the domain x.x.x. 
> 
> The postfix installation went ok, I can send and receive mails from my
> local accounts just fine. I configured mailman in mm_cfg.py to use
> postfix as the MTA. I followed the instruction on
> http://www.gnu.org/software/mailman...all/node13.html.
> 
> The problem:
> I created one mailing list, with 3 email addresses suscribed to it. One
> is my local mail account ([EMAIL PROTECTED] which is forwarded to
> [EMAIL PROTECTED]) and two are addresses from x.x.x, lets call it
> [EMAIL PROTECTED] and [EMAIL PROTECTED] These are real email addresses, 
> accessible
> from the internet 
> 
> With sendmail, the mailing list works just fine. All the accounts can
> send and receive emails from the list.
> With postfix, only the local account can. The other two email addresses
> can send to the list, but they will not receive anything from it. The
> error message I get from /var/log/maillog: 
> 
> May 10 12:11:24 fedora postfix/smtpd[4341]: connect from
> localhost.localdomain[127.0.0.1]
> May 10 12:11:24 fedora postfix/smtpd[4341]: NOQUEUE: reject: RCPT from
> localhost.localdomain[127.0.0.1]: 550 <[EMAIL PROTECTED]>: Recipient address
> rejected: User unknown in local recipient table;
> from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP
> helo=<fedora.x.x.x>
> May 10 12:11:24 fedora postfix/smtpd[4341]: C36F82CC285:
> client=localhost.localdomain[127.0.0.1]
> May 10 12:11:24 fedora postfix/cleanup[4344]: C36F82CC285:
> message-id=<[EMAIL PROTECTED]>
> May 10 12:11:24 fedora postfix/qmgr[3071]: C36F82CC285:
> from=<[EMAIL PROTECTED]>, size=2571, nrcpt=1 (queue
> active)
> May 10 12:11:24 fedora postfix/smtpd[4341]: disconnect from
> localhost.localdomain[127.0.0.1]
> May 10 12:11:24 fedora postfix/local[4345]: C36F82CC285:
> to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=local, delay=0,
> status=sent (delivered to mailbox)
> May 10 12:11:24 fedora postfix/qmgr[3071]: C36F82CC285: removed
> 
> 
> That's when I send from my real email address to the list. Similar
> error, about User unknown in local recipient table.
> The only way I can get it to send is if I add the two email addresses
> into the /etc/aliases file, something like daryl: [EMAIL PROTECTED]
> Considering the list will contain a lot of people, I don't want to be
> entering the aliases in the /etc/aliases when mailman obviously has the
> email address stored in /etc/mailman/aliases and
> /etc/mailman/aliases.db. 
> 
> What I have done:
> I have ran postmap and postalias to /etc/aliases/ and
> /etc/mailman/aliases, have changed /etc/postfix/main.cf, the alias_maps
> to read: 
> Code:
> alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases
> 
> 
> I am at lost here, and about to pull out my hair...... Any suggestions? 

Yes, read this documentation :-)

/usr/share/doc/postfix-*/README_FILES/LOCAL_RECIPIENT_README

It looks like what is happening is that the two addresses that are
failing are being interpreted by postfix as being local, which you claim
they are not (I assume because local == fedora.x.x.x and non-local ==
x.x.x).

Postfix by default won't attempt delivery to local users that don't
exist (that would be pretty pointless wouldn't it?).

So how does postfix determine who is local? It matches the domain in the
email address against $mydestination or the IP addresses in
$inet_interfaces or $proxy_interfaces. I suspect one of these is not
properly configured in /etc/postfix/main.cf.

-- 
John Dennis <[EMAIL PROTECTED]>

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to