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

[Mailman-Users] Problem with Mailman+Postfix

2011-07-22 Thread gigahertz

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:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version

# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
myorigin = /etc/mailname

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

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = /usr/share/doc/postfix

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = atom-29.ip-projects.de
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
myorigin = /etc/mailname
mydestination = atom-29.ip-projects.de, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
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
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, 
permit_sasl_authenticated, check_recipient_access 
mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination

smtpd_tls_security_level = may
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = 
mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
proxy_read_maps = $local_recipient_maps $mydestination 
$virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps 
$virtual_mailbox_domains $relay_recipient_maps $relay_domains 
$canonical_maps $sender_canonical_maps $recipient_canonical_maps 
$relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
smtpd_sender_restrictions = check_sender_access 
mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access 
mysql:/etc/postfix/mysql-virtual_client.cf

maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = dovecot
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
dovecot_destination_recipient_limit = 1
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
message_size_limit = 0
#Mailman
owner_request_special = no

What am I doing wrong?

--
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


[Mailman-Users] Problem with mailman + postfix

2003-11-25 Thread Ruben Navarro Huedo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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

any help?

A lot of thank's.

- -- 
Ruben Navarro Huedo
email: [EMAIL PROTECTED]
ax25: [EMAIL PROTECTED]
http://www.cabodesantapola.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/w9lZ0S5G8AO3zN8RAiMIAKCcQok/s94YRiNMzvBT9nbe7LcM3ACdE+kZ
OQmrfzpn9uTdAADG7E+GMo8=
=KqId
-END PGP SIGNATURE-


--
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