Re: [Mailman-Users] Problem with Mailman+Postfix

2011-07-22 Thread Mark Sapiro
On 7/22/2011 4:32 AM, gigahe...@fettabernett.de wrote:
> Hi there.
> I´m using Postfix + Dovevot + Mailman on Debian Lenny with ISPConfig3
> Setup.
> I´ve installed Mailman seperate from ISPConfig via apt-get,
> administrating lists works fine but there is one problem: Postfix does
> not accept incoming mails to the mailing list.
> 
> mail.info:
> Jul 22 10:53:13 atom-29 postfix/smtpd[12620]: NOQUEUE: reject: RCPT from
> mailout-de.gmx.net[213.165.64.22]: 550 5.1.1 : Recipient
> address rejected: User unknown in virtual mailbox table;
> from= to= proto=SMTP helo=
> 
> main.cf of Postfix:
[...]
> alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
> alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
[...]
> virtual_alias_domains =
> virtual_alias_maps =
> proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf,
> mysql:/etc/postfix/mysql-virtual_email2email.cf
> virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
> virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
[...]
> 
> What am I doing wrong?


'postconf -n' is generally more useful than main.cf.

It appears the problem is that your list domain is a virtual mailbox
domain, but you have no virtual mapping for the list addresses.

If that is indeed the problem, you need to add
hash:/var/lib/mailman/data/virtual-mailman to virtual_alias_maps in
main.cf. You also need to put your list domaian (xyz.net) in
POSTFIX_STYLE_VIRTUAL_DOMAINS in mm_cfg.py as in

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['xyz.net']

and run Mailman's bin/genaliases to generate virtual-mailman.

Also, you should not have hash:/var/lib/mailman/data/aliases because it
will cause Postfix's newaliases command to rebuild
hash:/var/lib/mailman/data/aliases.db which may adversely affect the
owner:group of this file.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Re: [Mailman-Users] Problem with mailman + postfix

2003-11-26 Thread Simon White
25-Nov-03 at 23:36, Ruben Navarro Huedo ([EMAIL PROTECTED]) wrote :
> Hello friends:
> We are having some problems with Postfix + mailman.
> We have installed sasl with postfix.
> The problem is that postfix doesn't allow relay to postfix.
> 
> Have a look at the logs:
> 
> Nov 25 23:15:03 linux postfix/smtpd[2632]: 958A82C032: reject: RCPT from 
> localhost[127.0.0.1]: 554 <[EMAIL PROTECTED]>: Relay access denied; 
> from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP 
> helo=
> 
> mynetworks is ok in main.cf:
> 
> mynetworks = 127.0.0.0/8

This is a Postfix question. You have not provided enough information to
debug the situation.

The output of postconf -n would be useful. Also, you have SASL running,
so maybe your smtpd_recipient_restrictions are incorrect. This question
is best posed to the Postfix list, but you can always try here again,
especially if there are related Mailman questions to go with the next
post.

Regards,

-- 
Simon White. Internet Consultant, Linux/Windows Server Administration.
email, dns and web servers; php javascript perl asp; MySQL MSSQL Access
 Bridging the gap between management, HR and the tech team.

--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org