[Mailman-Users] Postfix+LDAP?

2006-02-07 Thread Charles Marcus
Greetings,

I have googled quite a bit on this, but have not found anything recent 
or definitive...

Can anyone point me to some recent HowTo on setting up Mailman to talk 
with a Postfix/LDAP setup? If it matters, I'll be using:

CentOS 4.2
PowerSmb (http://tinyurl.com/bkdwr)
   consists of Samba/Postfix/Dovecot/LDAP, all preconfigured to work
   happily together.

Now I just need to be able to add Mailman into the mix.

I am in the process of building the server that this will all be 
installed on, so am just trying to get my hands on some HowTo's to study 
until its ready to install.

TIA

-- 

Best regards,

Charles
--
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=showamp;file=faq01.027.htp


[Mailman-Users] postfix+ldap+mailman

2003-09-15 Thread Fernando Ribeiro
Hello all,

I'm using postfix+ldap+mailman, this work with virtual users.
I'm creating aliases in the /etc/postfix/aliases e running newaliases. But
aliases don't work.

I'm using:
RedHat9, postfix-2.0.14, mailman-2.1.1, openldap-2.0.27-8

[EMAIL PROTECTED] pacotes]# postconf | grep -i alias
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_mail_to_commands = alias,forward
allow_mail_to_files = alias,forward
expand_owner_alias = no
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
newaliases_path = /usr/bin/newaliases
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
unknown_virtual_alias_reject_code = 550
virtual_alias_domains = $virtual_alias_maps
virtual_alias_maps = $virtual_maps
[EMAIL PROTECTED] pacotes]#

thanks very much.


--
Atenciosamente
Fernando Ribeiro




Montana


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


RE: [Mailman-Users] Postfix / ldap / mailman (user unknown in local)

2003-01-17 Thread Bryan Ragon
To answer my question, the directions I had for my virtual domain setup told
me to put the following line in master.cf:
#local_recipient_maps = $alias_maps unix:passwd.byname $virtual_mailbox_maps

Doing various searches online and in documentation, I ran across something
that said to change it to:
local_recipient_maps =

Which makes sense.  The errors I was receiving were about the local user.  I
left it like this and tested sending emails to a valid user, a valid mailing
list, an invalid user, and an invalid mailing list.  Everything appears to
be working or bouncing back correctly.  Does anyone know of any side effects
that I haven't thought of by changing this?

Thanks,
Bryan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Bryan Ragon
Sent: Thursday, January 16, 2003 5:56 PM
To: [EMAIL PROTECTED]
Subject: [Mailman-Users] Postfix / ldap / mailman (user unknown in
local)


I am trying to setup a mail server running Postfix virtual domains, with
domain and user info stored in a ldap backend.  I tried to follow the
directions in the postfix-to-mailman.py file without luck.  I like the idea
of using that script because then I don't need to worry about creating
aliases (according to it's documentation).


--
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: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



[Mailman-Users] Postfix / ldap / mailman (user unknown in local)

2003-01-16 Thread Bryan Ragon
I am trying to setup a mail server running Postfix virtual domains, with
domain and user info stored in a ldap backend.  I tried to follow the
directions in the postfix-to-mailman.py file without luck.  I like the idea
of using that script because then I don't need to worry about creating
aliases (according to it's documentation).

Accoring to the postfix-to-mailman documentation I need to add:
# /etc/postfix/main.cf:
#relay_domains = ... lists.example.com
#transport_maps = hash:/etc/postfix/transport
#mailman_destination_recipient_limit = 1
#
# /etc/postfix/transport:
#   lists.example.com   mailman:


I added relay_domains, mailman_destination_recipient_limit, however for the
transport, I edited my ldap entry for my lists.mydomain.com and changed it's
transport to mailman: there.




# /etc/postfix/master.cf
#mailman unix  -   n   n   -   -   pipe
#  flags=FR user=mailman:mailman
#  argv=/var/mailman/postfix-to-mailman.py ${nexthop} ${mailbox}

This I added to the master.cf.

I created the list fine, when I go to send an email to [EMAIL PROTECTED] I
get this:

Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Searching with
filter ((jvd=lists.domain.com)(objectClass=JammVirtualDomain))
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_get_values: Search
found 1 match(es)
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_get_values: search
returned 0 value(s) for requested result attribute postfixTransport
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_get_values: Leaving
dict_ldap_get_values
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Search
returned mailman:
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_lookup: lists.domain.com =
mailman:
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: In
dict_ldap_lookup
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Using existing
connection for LDAP source accounts
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Searching with
filter (((objectClass=JammMailAccount)(mail=test))(accountActive=TRUE))
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_get_values: Search
found 0 match(es)
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_get_values: Leaving
dict_ldap_get_values
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Search
returned nothing
Jan 16 17:23:25 kings postfix/smtpd[32752]: maps_find: test: not found
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: In
dict_ldap_lookup
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Using existing
connection for LDAP source accounts
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Searching with
filter
(((objectClass=JammMailAccount)([EMAIL PROTECTED]))(accountActive=TRU
E))
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_get_values: Search
found 0 match(es)
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_get_values: Leaving
dict_ldap_get_values
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Search
returned nothing
Jan 16 17:23:25 kings postfix/smtpd[32752]: maps_find: @lists.domain.com:
not found
Jan 16 17:23:26 kings postfix/smtpd[32752]: mail_addr_find:
[EMAIL PROTECTED] - (not found)
Jan 16 17:23:26 kings postfix/smtpd[32752]: B241D11FB3: reject: RCPT from
crowders.domain.com[64.105.62.67]: 550 [EMAIL PROTECTED]: User unknown
in local recipient table; from=[EMAIL PROTECTED] proto=ESMTP
helo=crowders.domain.com
Jan 16 17:23:26 kings postfix/smtpd[32752]: 
crowders.domain.com[64.105.62.67]: 550 [EMAIL PROTECTED]: User unknown
in local recipient table



I know this is sort of a Postfix/Mailman question, so I am unsure where to
post it.  Any ideas?  Thanks!

Bryan


--
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: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org