Re: [Mailman-Users] User unknown error on gentoo

2018-03-08 Thread Alexander

Thanks. this resolved my problem


On 08/03/2018 15:48, Mark Sapiro wrote:

On 03/07/2018 11:34 PM, Alexander wrote:

On 08/03/2018 13:53, Mark Sapiro wrote:> On 03/07/2018 09:26 PM,

as well as a sample of the content of

/var/lib/mailman/data/virtual-mailman# STANZA START: mailman
# CREATED: Thu Feb 22 22:07:59 2018
mail...@xxx.com  mail...@xxx.com
mailman-ad...@xxx.com    mailman-ad...@xxx.com
mailman-boun...@xxx.com  mailman-boun...@xxx.com
mailman-conf...@xxx.com  mailman-conf...@xxx.com
mailman-j...@xxx.com mailman-j...@xxx.com
mailman-le...@xxx.com    mailman-le...@xxx.com
mailman-ow...@xxx.com    mailman-ow...@xxx.com
mailman-requ...@xxx.com  mailman-requ...@xxx.com
mailman-subscr...@xxx.com    mailman-subscr...@xxx.com
mailman-unsubscr...@xxx.com  mailman-unsubscr...@xxx.com
# STANZA END: mailman

# STANZA START: 704staff
# CREATED: Thu Feb 22 22:07:59 2018
704st...@xxx.com  704st...@xxx.com
704staff-ad...@xxx.com    704staff-ad...@xxx.com
704staff-boun...@xxx.com  704staff-boun...@xxx.com
704staff-conf...@xxx.com  704staff-conf...@xxx.com
704staff-j...@xxx.com 704staff-j...@xxx.com
704staff-le...@xxx.com    704staff-le...@xxx.com.
704staff-ow...@xxx.com    704staff-ow...@xxx.com
704staff-requ...@xxx.com  704staff-requ...@xxx.com
704staff-subscr...@xxx.com    704staff-subscr...@xxx.com
704staff-unsubscr...@xxx.com  704staff-unsubscr...@xxx.com
# STANZA END: 704staff


I think this is the issue. It appears you have set

VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'XXX.com'

in mm_cfg.py. This is wrong. It is usually OK to not set this in
mm_cfg.py and leave it at the default None, but if you have to set it,
you need to set it to something in mydestination such as 'localhost'.
I.e. it MUST be a local domain, not a virtual domain.



--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] User unknown error on gentoo

2018-03-07 Thread Mark Sapiro
On 03/07/2018 11:34 PM, Alexander wrote:
> On 08/03/2018 13:53, Mark Sapiro wrote:> On 03/07/2018 09:26 PM,

>> as well as a sample of the content of
> /var/lib/mailman/data/virtual-mailman# STANZA START: mailman
> # CREATED: Thu Feb 22 22:07:59 2018
> mail...@xxx.com  mail...@xxx.com
> mailman-ad...@xxx.com    mailman-ad...@xxx.com
> mailman-boun...@xxx.com  mailman-boun...@xxx.com
> mailman-conf...@xxx.com  mailman-conf...@xxx.com
> mailman-j...@xxx.com mailman-j...@xxx.com
> mailman-le...@xxx.com    mailman-le...@xxx.com
> mailman-ow...@xxx.com    mailman-ow...@xxx.com
> mailman-requ...@xxx.com  mailman-requ...@xxx.com
> mailman-subscr...@xxx.com    mailman-subscr...@xxx.com
> mailman-unsubscr...@xxx.com  mailman-unsubscr...@xxx.com
> # STANZA END: mailman
> 
> # STANZA START: 704staff
> # CREATED: Thu Feb 22 22:07:59 2018
> 704st...@xxx.com  704st...@xxx.com
> 704staff-ad...@xxx.com    704staff-ad...@xxx.com
> 704staff-boun...@xxx.com  704staff-boun...@xxx.com
> 704staff-conf...@xxx.com  704staff-conf...@xxx.com
> 704staff-j...@xxx.com 704staff-j...@xxx.com
> 704staff-le...@xxx.com    704staff-le...@xxx.com.
> 704staff-ow...@xxx.com    704staff-ow...@xxx.com
> 704staff-requ...@xxx.com  704staff-requ...@xxx.com
> 704staff-subscr...@xxx.com    704staff-subscr...@xxx.com
> 704staff-unsubscr...@xxx.com  704staff-unsubscr...@xxx.com
> # STANZA END: 704staff


I think this is the issue. It appears you have set

VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'XXX.com'

in mm_cfg.py. This is wrong. It is usually OK to not set this in
mm_cfg.py and leave it at the default None, but if you have to set it,
you need to set it to something in mydestination such as 'localhost'.
I.e. it MUST be a local domain, not a virtual domain.

-- 
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
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] User unknown error on gentoo

2018-03-07 Thread Alexander
On 08/03/2018 13:53, Mark Sapiro wrote:> On 03/07/2018 09:26 PM, 
Alexander wrote:

>> Without including my domain explicitly under mydestination all virtual
>> accounts work successfully, however mailman reports user unknown
>>
>> Results in mailman list user unknown error
>> mydomain = XXX.com
>> mydestination = $myhostname, localhost.$mydomain, localhost
>>
>> As suggested here
>> (https://forums.gentoo.org/viewtopic-t-134833-start-0.html) I added the
>> domain explicitly
>> mydomain = XXX.com
>> mydestination = $myhostname, localhost.$mydomain, localhost, XXX.com
>>
>> Now mailman works, but all virtual users are rejected with unknown user
>>
>> Any suggestion on how to support both vitual users and mailman lists.
>
> Please post the output from 'postconf -n'. Also specific Postfix log
> messages might be helpful.

postconf -n |grep mailman
alias_database = hash:/etc/mail/aliases, hash:/var/lib/mailman/data/aliases
alias_maps = hash:/etc/mail/aliases, hash:/var/lib/mailman/data/aliases
virtual_alias_maps = pgsql:/etc/postfix/pgsql_virtual_alias_maps.cf, 
hash:/var/lib/mailman/data/virtual-mailman


postconf -n |grep virtual
virtual_alias_maps = pgsql:/etc/postfix/pgsql_virtual_alias_maps.cf, 
hash:/var/lib/mailman/data/virtual-mailman

virtual_gid_maps = static:1001
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = pgsql:/etc/postfix/pgsql_virtual_domains_maps.cf
virtual_mailbox_limit = 5120
virtual_mailbox_maps = pgsql:/etc/postfix/pgsql_virtual_mailbox_maps.cf
virtual_transport = virtual
virtual_uid_maps = static:1001

> as well as a sample of the content of 
/var/lib/mailman/data/virtual-mailman# STANZA START: mailman

# CREATED: Thu Feb 22 22:07:59 2018
mail...@xxx.com  mail...@xxx.com
mailman-ad...@xxx.com    mailman-ad...@xxx.com
mailman-boun...@xxx.com  mailman-boun...@xxx.com
mailman-conf...@xxx.com  mailman-conf...@xxx.com
mailman-j...@xxx.com mailman-j...@xxx.com
mailman-le...@xxx.com    mailman-le...@xxx.com
mailman-ow...@xxx.com    mailman-ow...@xxx.com
mailman-requ...@xxx.com  mailman-requ...@xxx.com
mailman-subscr...@xxx.com    mailman-subscr...@xxx.com
mailman-unsubscr...@xxx.com  mailman-unsubscr...@xxx.com
# STANZA END: mailman

# STANZA START: 704staff
# CREATED: Thu Feb 22 22:07:59 2018
704st...@xxx.com  704st...@xxx.com
704staff-ad...@xxx.com    704staff-ad...@xxx.com
704staff-boun...@xxx.com  704staff-boun...@xxx.com
704staff-conf...@xxx.com  704staff-conf...@xxx.com
704staff-j...@xxx.com 704staff-j...@xxx.com
704staff-le...@xxx.com    704staff-le...@xxx.com
704staff-ow...@xxx.com    704staff-ow...@xxx.com
704staff-requ...@xxx.com  704staff-requ...@xxx.com
704staff-subscr...@xxx.com    704staff-subscr...@xxx.com
704staff-unsubscr...@xxx.com  704staff-unsubscr...@xxx.com
# STANZA END: 704staff

>
> If XXX.com is a virtual_alias_domain or a virtual_mailbox_domain, it 
shouldn't be in my_destination.XXX.com is used for both local system 
accounts as well as virtual accounts.


virtual_mailbox_domains contains XXX.com.

> If you have XXX.com in virtual_alias_domains and your list addresses are
> mapped from lisn...@xxx.com to listname in virtual-mailman, it should
> work. What is the Postfix error message in this case?

The bounce back reports:
<704st...@xxx.com>: unknown user: "704st...@xxx.com"

And the log reports:
postfix/virtual[16361]: 45CCE460281: to=<704st...@xxx.com>, 
relay=virtual, delay=0.16, delays=0.09/0.01/0/0.07, dsn=5.1.1, 
status=bounced (unknown user: "704st...@xxx.com")






>

--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] User unknown error on gentoo

2018-03-07 Thread Mark Sapiro
On 03/07/2018 09:26 PM, Alexander wrote:
> Without including my domain explicitly under mydestination all virtual
> accounts work successfully, however mailman reports user unknown
> 
> Results in mailman list user unknown error
> mydomain = XXX.com
> mydestination = $myhostname, localhost.$mydomain, localhost
> 
> As suggested here
> (https://forums.gentoo.org/viewtopic-t-134833-start-0.html) I added the
> domain explicitly
> mydomain = XXX.com
> mydestination = $myhostname, localhost.$mydomain, localhost, XXX.com
> 
> Now mailman works, but all virtual users are rejected with unknown user
> 
> Any suggestion on how to support both vitual users and mailman lists.


Please post the output from 'postconf -n'. Also specific Postfix log
messages might be helpful. as well as a sample of the content of
/var/lib/mailman/data/virtual-mailman

If XXX.com is a virtual_alias_domain or a virtual_mailbox_domain, it
shouldn't be in my_destination.

If you have XXX.com in virtual_alias_domains and your list addresses are
mapped from lisn...@xxx.com to listname in virtual-mailman, it should
work. What is the Postfix error message in this case?

-- 
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
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] User unknown error on gentoo

2018-03-07 Thread Alexander
Without including my domain explicitly under mydestination all virtual 
accounts work successfully, however mailman reports user unknown


Results in mailman list user unknown error
mydomain = XXX.com
mydestination = $myhostname, localhost.$mydomain, localhost

As suggested here 
(https://forums.gentoo.org/viewtopic-t-134833-start-0.html) I added the 
domain explicitly

mydomain = XXX.com
mydestination = $myhostname, localhost.$mydomain, localhost, XXX.com

Now mailman works, but all virtual users are rejected with unknown user

Any suggestion on how to support both vitual users and mailman lists.

So far I have included the following settings and verified the content 
of hte alias databases is correct:


alias_database = hash:/etc/mail/aliases, hash:/var/lib/mailman/data/aliases
alias_maps = hash:/etc/mail/aliases, hash:/var/lib/mailman/data/aliases
virtual_alias_maps = pgsql:/etc/postfix/pgsql_virtual_alias_maps.cf, 
hash:/var/lib/mailman/data/virtual-mailman


Thanks in advance

--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] User unknown in virtual mailbox table

2011-01-23 Thread Mark Sapiro
Umarzuki Mochlis wrote:

i finally got it working with dovecot lda by  adding
hash:/etc/mailman/virtual-mailman at the end of virtual_alias_maps like so

# postconf virtual_alias_maps
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf,
proxy:ldap:/etc/postfix/ldap_virtual_group_maps.cf, proxy:ldap:/etc/postfix/
ldap_sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap_catch_all_maps.cf,
hash:/etc/mailman/virtual-mailman

generate virtual-mailman.db

# cd /etc/mailman
# postmap virtual-mailman

but how do i automate the generation of virtual-mailman.db incase a new
mailman list were to be created?


If you really need the list entries in both virtual_alias_maps and
transport_maps, you could simply add

/usr/sbin/postmap /etc/mailman/virtual-mailman

to the end of your virtual_to_transport file.

However, it seems to me unlikely that you actually need both since they
both should accomplish the same thing in different ways.

-- 
Mark Sapiro m...@msapiro.netThe 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] User unknown in virtual mailbox table

2011-01-23 Thread Umarzuki Mochlis
2011/1/17 Mark Sapiro m...@msapiro.net


 After changing DEFAULT_EMAIL_HOST, you need to run

 bin/withlist -l -a -r fix_url

 (see http://wiki.list.org/x/mIA9) and then

 bin/genaliases again.


i finally got it working with dovecot lda by  adding
hash:/etc/mailman/virtual-mailman at the end of virtual_alias_maps like so

# postconf virtual_alias_maps
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf,
proxy:ldap:/etc/postfix/ldap_virtual_group_maps.cf, proxy:ldap:/etc/postfix/
ldap_sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap_catch_all_maps.cf,
hash:/etc/mailman/virtual-mailman

generate virtual-mailman.db

# cd /etc/mailman
# postmap virtual-mailman

but how do i automate the generation of virtual-mailman.db incase a new
mailman list were to be created?
--
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] User unknown in virtual mailbox table

2011-01-16 Thread Mark Sapiro
Umarzuki Mochlis wrote:

2011/1/13 Mark Sapiro m...@msapiro.net

 On 1/12/11 10:30 PM, Mark Sapiro wrote:

 That sentence should say If you actually want list addresses like
 tes...@mydomain.my, you need to make the following changes in mm_cfg.py


  POSTFIX_STYLE_VIRTUAL_DOMAINS   = ['mydomain.my']
 
  DEFAULT_EMAIL_HOST = mydomain.my
 
  and run bin/genaliases.
 


i don't know what i did wrong but now there's no content in the
transport-mailman although the time is recent upon running bin/genaliases


After changing DEFAULT_EMAIL_HOST, you need to run

bin/withlist -l -a -r fix_url

(see http://wiki.list.org/x/mIA9) and then

bin/genaliases again.

-- 
Mark Sapiro m...@msapiro.netThe 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] User unknown in virtual mailbox table

2011-01-16 Thread Umarzuki Mochlis
2011/1/13 Mark Sapiro m...@msapiro.net

 On 1/12/11 10:30 PM, Mark Sapiro wrote:

 That sentence should say If you actually want list addresses like
 tes...@mydomain.my, you need to make the following changes in mm_cfg.py


  POSTFIX_STYLE_VIRTUAL_DOMAINS   = ['mydomain.my']
 
  DEFAULT_EMAIL_HOST = mydomain.my
 
  and run bin/genaliases.
 


i don't know what i did wrong but now there's no content in the
transport-mailman although the time is recent upon running bin/genaliases



 --
 Mark Sapiro m...@msapiro.netThe highway is for gamblers,
 San Francisco Bay Area, CaliforniaBetter use your sense - B. Dylan




-- 
Regards,

Umarzuki Mochlis
http://debmal.my
--
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] User unknown in virtual mailbox table

2011-01-12 Thread Mark Sapiro
Umarzuki Mochlis wrote:

2011/1/12 Mark Sapiro m...@msapiro.net

Have you redefined the 'local' transport in master.cf to use dovecot?
 If so, this can't work with Mailman. If so, you could define another
 transport, say 'reallylocal' to use postfix local delivery, and modify
 the sed command in /etc/mailman/virtual_to_transport to specify that
 transport.


did you mean these:

# Use dovecot deliver program as LDA.
dovecot unix-   n   n   -   -  pipe
flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f
${sender} -d ${us...@${domain}
procmail unix-   n   n   -   -  pipe
  flags=DRhu user=vmail:vmail argv=/usr/bin/procmail -r -t SENDER=${sender}
RECIPIENT=${recipient} DOMAIN=${nexthop} -m USER=${user}
EXTENSION=${extension} /etc/procmailrc
smtp-amavis unix -  -   -   -   2  smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20

127.0.0.1:10025 inet n  -   -   -   -  smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks_style=host
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o
receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings
# Bypass checks for internally generated mail.
pickupfifo  n   -   n   60  1   pickup
  -o content_filter=
submission inet n   -   n   -   -   smtpd
  -o smtpd_enforce_tls=yes
  -o smtpd_sasl_auth_enable=yes
  -o
smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
#  -o content_filter=smtp-amavis:[127.0.0.1]:10026

smtps inet  n   -   n   -   -   smtpd
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o content_filter=smtp-amavis:[127.0.0.1]:10026
# Use dovecot deliver program as LDA.
dovecot unix-   n   n   -   -  pipe
flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f
${sender} -d ${us...@${domain}
procmail unix-   n   n   -   -  pipe
  flags=DRhu user=vmail:vmail argv=/usr/bin/procmail -r -t SENDER=${sender}
RECIPIENT=${recipient} DOMAIN=${nexthop} -m USER=${user}
EXTENSION=${extension} /etc/procmailrc
smtp-amavis unix -  -   -   -   2  smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20

127.0.0.1:10025 inet n  -   -   -   -  smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks_style=host
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o
receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings


I don't see

local unix  -   n   n   -   -   local

in the above. Is that a complete listing of master.cf? If so, add the
above line and reload Postfix and see if that helps.


is there any document that you could point me to achieve what you had
suggested? Many thanks.


Try

man 5 master

or see http://www.postfix.org/documentation.html.

-- 
Mark Sapiro m...@msapiro.netThe 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] User unknown in virtual mailbox table

2011-01-12 Thread Umarzuki Mochlis
2011/1/13 Mark Sapiro m...@msapiro.net


 I don't see

 local unix  -   n   n   -   -   local

 in the above. Is that a complete listing of master.cf? If so, add the
 above line and reload Postfix and see if that helps.


it is there, i did not paste all of master.cf. So i guess reloading postfix
won't do.

this is all of my master.cf

# cat /etc/postfix/master.cf
#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: man 5 master).
#
# Do not forget to execute postfix reload after editing this file.
#
# ==
# service type  private unpriv  chroot  wakeup  maxproc command + args
#   (yes)   (yes)   (yes)   (never) (100)
# ==
smtp  inet  n   -   -   -   -   smtpd
#submission inet n   -   n   -   -   smtpd
#  -o smtpd_tls_security_level=encrypt
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#smtps inet  n   -   n   -   -   smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#628  inet  n   -   n   -   -   qmqpd
#pickupfifo  n   -   n   60  1   pickup
cleanup   unix  n   -   n   -   0   cleanup
qmgr  fifo  n   -   n   300 1   qmgr
#qmgr fifo  n   -   n   300 1   oqmgr
tlsmgrunix  -   -   n   1000?   1   tlsmgr
rewrite   unix  -   -   n   -   -   trivial-rewrite
bounceunix  -   -   n   -   0   bounce
defer unix  -   -   n   -   0   bounce
trace unix  -   -   n   -   0   bounce
verifyunix  -   -   n   -   1   verify
flush unix  n   -   n   1000?   0   flush
proxymap  unix  -   -   n   -   -   proxymap
proxywrite unix -   -   n   -   1   proxymap
smtp  unix  -   -   n   -   -   smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix  -   -   n   -   -   smtp
-o smtp_fallback_relay=
#   -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix  n   -   n   -   -   showq
error unix  -   -   n   -   -   error
retry unix  -   -   n   -   -   error
discard   unix  -   -   n   -   -   discard
local unix  -   n   n   -   -   local
virtual   unix  -   n   n   -   -   virtual
lmtp  unix  -   -   n   -   -   lmtp
anvil unix  -   -   n   -   1   anvil
scacheunix  -   -   n   -   1   scache
#
# 
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# 
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
#maildrop  unix  -   n   n   -   -   pipe
#  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# 
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
#old-cyrus unix  -   n   n   -   -   pipe
#  flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension}
${user}
#
# 
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus unix  -   n   n   -   -   pipe
#  user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m
${extension} ${user}
#
# 
#
# See the Postfix UUCP_README file for configuration details.
#
#uucp  unix  -   n   n   -   -   pipe
#  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
#
# 
#
# Other external delivery methods.
#
#ifmailunix  -   n   n   -   -   pipe
#  flags=F user=ftn argv=/usr/lib/ifmail/ifmail 

Re: [Mailman-Users] User unknown in virtual mailbox table

2011-01-12 Thread Mark Sapiro
On 1/12/11 8:24 PM, Umarzuki Mochlis wrote:
 
 /var/log/maillog
 ===
 Jan 13 20:19:00 hpj-mail postfix/pipe[4565]: B8C2C19C89C2:
 to=tes...@mydomain.my, relay=dovecot, delay=1.7,
 delays=1.6/0.04/0/0.07, dsn=5.1.1, status=bounced (user unknown)


OK, one more thing.

Is there an entry

tes...@mydomain.mylocal

in /etc/mailman/transport-mailman and does
/etc/mailman/transport-mailman.db have a timestamp equal to or more
recent than that of /etc/mailman/transport-mailman.

If I go back to your prior posts, I see that DEFAULT_EMAIL_HOST =
mail-server.mydomain.my. Thus I expect that the entries in
/etc/mailman/transport-mailman are all @mail-server.mydomain.my. This
would explain the problem. If this is what you want, you need to mail to
tes...@mail-server.mydomain.my. If you actually want list addresses like
tes...@mail-server.mydomain.my, you need to make the following changes
in mm_cfg.py

POSTFIX_STYLE_VIRTUAL_DOMAINS   = ['mydomain.my']

DEFAULT_EMAIL_HOST = mydomain.my

and run bin/genaliases.

-- 
Mark Sapiro m...@msapiro.netThe 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] User unknown in virtual mailbox table

2011-01-12 Thread Mark Sapiro
On 1/12/11 10:30 PM, Mark Sapiro wrote:
 
 If I go back to your prior posts, I see that DEFAULT_EMAIL_HOST =
 mail-server.mydomain.my. Thus I expect that the entries in
 /etc/mailman/transport-mailman are all @mail-server.mydomain.my. This
 would explain the problem. If this is what you want, you need to mail to
 tes...@mail-server.mydomain.my. If you actually want list addresses like
 tes...@mail-server.mydomain.my, you need to make the following changes
 in mm_cfg.py


That sentence should say If you actually want list addresses like
tes...@mydomain.my, you need to make the following changes in mm_cfg.py


 POSTFIX_STYLE_VIRTUAL_DOMAINS   = ['mydomain.my']
 
 DEFAULT_EMAIL_HOST = mydomain.my
 
 and run bin/genaliases.
 


-- 
Mark Sapiro m...@msapiro.netThe 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] User unknown in virtual mailbox table

2011-01-11 Thread Umarzuki Mochlis
2011/1/11 Mark Sapiro m...@msapiro.net

 If you go back to the configuration that follows after i read ... i
 changed  added a  few options in mm_cfg.py, correct
 POSTFIX_STYLE_VIRTUAL_DOMAINS and run bin/genaliases, I think it will
 work. If it doesn't, post:


i had done that although i may had messed somewhere else


 output from postconf -n
 output from ls -l /etc/mailman
 entire contents of mm_cfg.py


# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases
allow_min_user = no
biff = no
bounce_queue_lifetime = 1d
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
delay_warning_time = 0h
disable_vrfy_command = yes
enable_original_recipient = no
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = ipv4
local_recipient_maps =
mail_name = iRedMail
mail_owner = postfix
mail_version = 0.6.1
mailbox_command = /usr/libexec/dovecot/deliver
mailbox_size_limit = 15728640
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maximal_backoff_time = 4000s
maximal_queue_lifetime = 1d
minimal_backoff_time = 300s
mydestination = $myhostname, localhost, localhost.localdomain,
localhost.$myhostname
mydomain = mydomain.my
myhostname = mail-server.mydomain.my
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = mail-server.mydomain.my
newaliases_path = /usr/bin/newaliases.postfix
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps
$mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps
$relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps
$sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps
$transport_maps $virtual_alias_domains $virtual_alias_maps
$virtual_mailbox_domains $virtual_mailbox_maps
queue_directory = /var/spool/postfix
queue_run_delay = 300s
readme_directory = /usr/share/doc/postfix-2.5.9/README_FILES
recipient_bcc_maps = proxy:ldap:/etc/postfix/
ldap_recipient_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/
ldap_recipient_bcc_maps_user.cf
recipient_delimiter = +
relay_domains = $mydestination, proxy:ldap:/etc/postfix/
ldap_relay_domains.cf
relay_recipient_maps = proxy:mysql:/etc/postfix/
mysql_virtual_mailbox_maps.cf
sample_directory = /usr/share/doc/postfix-2.5.9/samples
sender_bcc_maps = proxy:ldap:/etc/postfix/ldap_sender_bcc_maps_domain.cf,
proxy:ldap:/etc/postfix/ldap_sender_bcc_maps_user.cf
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_enforce_tls = no
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated,
check_helo_access pcre:/etc/postfix/helo_access.pcre
smtpd_recipient_restrictions = reject_unknown_recipient_domain,
reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service
inet:127.0.0.1:, permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination, check_policy_service inet:127.0.0.1:10031
smtpd_reject_unlisted_recipient = no
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_local_domain =
smtpd_sasl_path = dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap_sender_login_maps.cf
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch,
permit_sasl_authenticated
smtpd_tls_cert_file = /etc/pki/tls/certs/iRedMail_CA.pem
smtpd_tls_key_file = /etc/pki/tls/private/iRedMail.key
smtpd_tls_loglevel = 0
smtpd_tls_security_level = may
tls_random_source = dev:/dev/urandom
transport_maps = proxy:ldap:/etc/postfix/ldap_transport_maps_user.cf,
proxy:ldap:/etc/postfix/ldap_transport_maps_domain.cf,
hash:/etc/mailman/transport-mailman
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf,
proxy:ldap:/etc/postfix/ldap_virtual_group_maps.cf, proxy:ldap:/etc/postfix/
ldap_sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap_catch_all_maps.cf
virtual_gid_maps = static:502
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:ldap:/etc/postfix/
ldap_virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap_virtual_mailbox_maps.cf
virtual_minimum_uid = 502
virtual_transport = dovecot
virtual_uid_maps = static:502

# ls -l /etc/mailman/
total 220
-rw-r- 1 root mailman41 Dec  8 18:25 adm.pw
-rw-rw 1 root mailman 33942 Jan  3 16:55 aliases
-rw-r- 1 root mailman 77824 Jan  3 16:55 aliases.db
-rw-r- 1 root mailman41 Dec  8 18:26 creator.pw
lrwxrwxrwx 1 root mailman34 Dec  8 18:12 mm_cfg.py -
/usr/lib/mailman/Mailman/mm_cfg.py
-rw-r--r-- 1 root mailman 14114 Jan 23  2008 sitelist.cfg
-rw-rw-r-- 1 root mailman 24376 Jan  3 16:55 transport-mailman
-rw-r--r-- 1 root 

Re: [Mailman-Users] User unknown in virtual mailbox table

2011-01-10 Thread Umarzuki Mochlis
2011/1/3 Mark Sapiro m...@msapiro.net


 Yes. Undo the 4 steps above. Fix POSTFIX_STYLE_VIRTUAL_DOMAINS in
 mm_cfg.py and run /usr/lib/mailman/bin/genaliases again.

 even after that i'm having

Jan 11 06:01:55 mail-server postfix/pipe[3864]: 3CE0419C8835:
to=w...@mydomain.my, relay=dovecot, delay=21649, delays=21633/13/0/2.4,
dsn=4.3.0, status=deferred (temporary failure)

any more idea?
i don't know where else to look.

-- 
Regards,

Umarzuki Mochlis
http://debmal.my
--
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] User unknown in virtual mailbox table

2011-01-10 Thread Mark Sapiro
Umarzuki Mochlis wrote:

2011/1/3 Mark Sapiro m...@msapiro.net


 Yes. Undo the 4 steps above. Fix POSTFIX_STYLE_VIRTUAL_DOMAINS in
 mm_cfg.py and run /usr/lib/mailman/bin/genaliases again.

 even after that i'm having

Jan 11 06:01:55 mail-server postfix/pipe[3864]: 3CE0419C8835:
to=w...@mydomain.my, relay=dovecot, delay=21649, delays=21633/13/0/2.4,
dsn=4.3.0, status=deferred (temporary failure)

any more idea?
i don't know where else to look.


I have totally lost track of what you currently have. If you go back to
what you reported at
http://mail.python.org/pipermail/mailman-users/2011-January/070890.html,
the changes at the bottom of that post were almost there. The only
thing wrong was

POSTFIX_STYLE_VIRTUAL_DOMAINS   = ['mydomain.my']

This should be

POSTFIX_STYLE_VIRTUAL_DOMAINS   = ['mail-server.mydomain.my']

If you go back to the configuration that follows after i read ... i
changed  added a  few options in mm_cfg.py, correct
POSTFIX_STYLE_VIRTUAL_DOMAINS and run bin/genaliases, I think it will
work. If it doesn't, post:

output from postconf -n
output from ls -l /etc/mailman
entire contents of mm_cfg.py

-- 
Mark Sapiro m...@msapiro.netThe 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] User unknown in virtual mailbox table

2011-01-02 Thread Umarzuki Mochlis
i set in mm_cfg.py like below

POSTFIX_STYLE_VIRTUAL_DOMAINS   = ['mail-server.mydomain.my']

from socket import *
try:
fqdn = getfqdn()
except:
fqdn = 'mm_cfg_has_unknown_host_domains'

DEFAULT_URL_HOST   = mail-server.mydomain.my
DEFAULT_EMAIL_HOST = mail-server.mydomain.my
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST, )
MTA = 'Postfix'

and ran

# /usr/lib/mailman/bin/withlist -l -a -r fix_url
# /usr/lib/mailman/bin/genaliases

with the same result as before

postconf -n output:

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases, hash:/etc/mailman/aliases
allow_min_user = no
biff = no
bounce_queue_lifetime = 1d
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
delay_warning_time = 0h
disable_vrfy_command = yes
enable_original_recipient = no
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = ipv4
local_recipient_maps =
mail_name = iRedMail
mail_owner = postfix
mail_version = 0.6.1
mailbox_command = /usr/libexec/dovecot/deliver
mailbox_size_limit = 15728640
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maximal_backoff_time = 4000s
maximal_queue_lifetime = 1d
minimal_backoff_time = 300s
mydestination = $myhostname, localhost, localhost.localdomain,
localhost.$myhostname
mydomain = mydomain.my
myhostname = mail-server.mydomain.my
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = mail-server.mydomain.my
newaliases_path = /usr/bin/newaliases.postfix
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps
$mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps
$relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps
$sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps
$transport_maps $virtual_alias_domains $virtual_alias_maps
$virtual_mailbox_domains $virtual_mailbox_maps
queue_directory = /var/spool/postfix
queue_run_delay = 300s
readme_directory = /usr/share/doc/postfix-2.5.9/README_FILES
recipient_bcc_maps = proxy:ldap:/etc/postfix/
ldap_recipient_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/
ldap_recipient_bcc_maps_user.cf
recipient_delimiter = +
relay_domains = $mydestination, proxy:ldap:/etc/postfix/
ldap_relay_domains.cf
relay_recipient_maps = proxy:mysql:/etc/postfix/
mysql_virtual_mailbox_maps.cf
sample_directory = /usr/share/doc/postfix-2.5.9/samples
sender_bcc_maps = proxy:ldap:/etc/postfix/ldap_sender_bcc_maps_domain.cf,
proxy:ldap:/etc/postfix/ldap_sender_bcc_maps_user.cf
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_enforce_tls = no
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated,
check_helo_access pcre:/etc/postfix/helo_access.pcre
smtpd_recipient_restrictions = reject_unknown_recipient_domain,
reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service
inet:127.0.0.1:, permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination, check_policy_service inet:127.0.0.1:10031
smtpd_reject_unlisted_recipient = no
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_local_domain =
smtpd_sasl_path = dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap_sender_login_maps.cf
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch,
permit_sasl_authenticated
smtpd_tls_cert_file = /etc/pki/tls/certs/iRedMail_CA.pem
smtpd_tls_key_file = /etc/pki/tls/private/iRedMail.key
smtpd_tls_loglevel = 0
smtpd_tls_security_level = may
tls_random_source = dev:/dev/urandom
transport_maps = proxy:ldap:/etc/postfix/ldap_transport_maps_user.cf,
proxy:ldap:/etc/postfix/ldap_transport_maps_domain.cf
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf,
proxy:ldap:/etc/postfix/ldap_virtual_group_maps.cf, proxy:ldap:/etc/postfix/
ldap_sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap_catch_all_maps.cf
virtual_gid_maps = static:502
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:ldap:/etc/postfix/
ldap_virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap_virtual_mailbox_maps.cf
virtual_minimum_uid = 502
virtual_transport = dovecot
virtual_uid_maps = static:502

after i read
http://wiki.list.org/display/DOC/Mailman+-+Postfix+integration+with+Mailman+generated+transport+or+other+maps

http://wiki.list.org/display/DOC/Mailman+-+Postfix+integration+with+Mailman+generated+transport+or+other+mapsi
changed  added a  few options in mm_cfg.py

POSTFIX_STYLE_VIRTUAL_DOMAINS   = ['mydomain.my']
POSTFIX_MAP_CMD = '/etc/mailman/virtual_to_transport'

in /etc/mailman

# ls -l /etc/mailman/
total 

Re: [Mailman-Users] User unknown in virtual mailbox table

2011-01-02 Thread Umarzuki Mochlis
after a check on /usr/lib/mailman/Mailman/Defaults.py

VAR_PREFIX  = '/var/lib/mailman'
DATA_DIR= os.path.join(VAR_PREFIX, 'data')

so the /path/to/data must be /var/lib/mailman/data which led me to

1. change main.cf
---
alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases
transport_maps = proxy:ldap:/etc/postfix/ldap_transport_maps_user.cf,
proxy:ldap:/etc/postfix/ldap_transport_maps_domain.cf,
hash:/var/lib//mailman/data/transport-mailman

2. move virtual_to_transport to /var/lib/mailman/data

3. virtual_to_transport
#!/bin/sh
sed -r -e 's/(^[^#][^ ]+[ ]+).+$/\1local/' $1 \
  /var/lib/mailman/data/transport-mailman
/usr/sbin/postmap /var/lib/mailman/data/transport-mailman

4. ran
# postalias /var/lib/mailman/data/aliases
# postalias /etc/postfix/aliases
# service postfix reload
# /usr/lib/mailman/bin/genaliases

but virtual-mailman and transport-mailman does not appear in data folder

# ls -l /var/lib/mailman/data/
total 20
-rw-r--r-- 1 mailman mailman  1503 Dec 17 11:28 aliases
-rw-r--r-- 1 mailman mailman 12288 Jan  3 08:40 aliases.db
lrwxrwxrwx 1 rootmailman25 Dec  8 18:12 sitelist.cfg -
/etc/mailman/sitelist.cfg
-rwxr-x--- 1 mailman mailman   159 Jan  3 08:26 virtual_to_transport


any hints or advises?

Regards,

Umarzuki Mochlis
http://debmal.my
--
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] User unknown in virtual mailbox table

2011-01-02 Thread Mark Sapiro
Umarzuki Mochlis wrote:

i set in mm_cfg.py like below

POSTFIX_STYLE_VIRTUAL_DOMAINS   = ['mail-server.mydomain.my']

from socket import *
try:
fqdn = getfqdn()
except:
fqdn = 'mm_cfg_has_unknown_host_domains'

DEFAULT_URL_HOST   = mail-server.mydomain.my
DEFAULT_EMAIL_HOST = mail-server.mydomain.my
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST, )
MTA = 'Postfix'

and ran

# /usr/lib/mailman/bin/withlist -l -a -r fix_url
# /usr/lib/mailman/bin/genaliases

with the same result as before


This should have ensured that all lists had host_name
mail-server.mydomain.my and since this name is in
POSTFIX_STYLE_VIRTUAL_DOMAINS, genaliases should have created aliases
and virtual-mailman for all lists.


postconf -n output:

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases, hash:/etc/mailman/aliases


Good.

[...]

You probably should have

recipient_delimiter = +

for Mailman's VERP like senders.


[...]
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf,
proxy:ldap:/etc/postfix/ldap_virtual_group_maps.cf, proxy:ldap:/etc/postfix/
ldap_sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap_catch_all_maps.cf


If you are using virtual-mailman, you want to add
hash:/etc/mailman/virtual-mailman to virtual_alias_maps. However,
because of your dovecot LDA, you may need to do the transport_maps
thing instead. See below.


[...]

after i read
http://wiki.list.org/display/DOC/Mailman+-+Postfix+integration+with+Mailman+generated+transport+or+other+maps

http://wiki.list.org/display/DOC/Mailman+-+Postfix+integration+with+Mailman+generated+transport+or+other+mapsi
changed  added a  few options in mm_cfg.py

POSTFIX_STYLE_VIRTUAL_DOMAINS   = ['mydomain.my']


Why did you change this? You must have your list's email domain in
POSTFIX_STYLE_VIRTUAL_DOMAINS. According to what you did above, your
list's email domain is 'mail-server.mydomain.my', not 'mydomain.my'.


POSTFIX_MAP_CMD = '/etc/mailman/virtual_to_transport'

in /etc/mailman

# ls -l /etc/mailman/
total 140
-rw-r- 1 rootmailman41 Dec  8 18:25 adm.pw
-rw-rw 1 mailman mailman 33942 Jan  3 04:37 aliases
-rw-rw 1 mailman mailman 77824 Jan  3 04:37 aliases.db
-rw-r- 1 rootmailman41 Dec  8 18:26 creator.pw
lrwxrwxrwx 1 rootmailman34 Dec  8 18:12 mm_cfg.py -
/usr/lib/mailman/Mailman/mm_cfg.py
-rw-r--r-- 1 rootmailman 14114 Jan 23  2008 sitelist.cfg
-rw-rw 1 mailman mailman 0 Jan  3 04:37 transport-mailman
-rw-rw 1 mailman mailman 12288 Jan  3 04:37 transport-mailman.db
-rw-rw 1 rootmailman 0 Jan  3 04:37 virtual-mailman
-rw-r- 1 rootmailman 12288 Jan  3 04:32 virtual-mailman.db
-rwxr-x--- 1 rootmailman   141 Jan  3 04:26 virtual_to_transport


This all looks correct.


in /etc/mailman/virtual_to_transport
#!/bin/sh
sed -r -e 's/(^[^#][^ ]+[ ]+).+$/\1local/' $1 \
  /etc/mailman/transport-mailman
/usr/sbin/postmap /etc/mailman/transport-mailman

# postconf transport_maps
transport_maps = proxy:ldap:/etc/postfix/ldap_transport_maps_user.cf,
proxy:ldap:/etc/postfix/ldap_transport_maps_domain.cf,
hash:/etc/mailman/transport-mailman

did i missed anything?


The above seems correct for the transport_maps method, but you
shouldn't have changed POSTFIX_STYLE_VIRTUAL_DOMAINS.


And Umarzuki Mochlis added in a follow-up:

after a check on /usr/lib/mailman/Mailman/Defaults.py

VAR_PREFIX  = '/var/lib/mailman'
DATA_DIR= os.path.join(VAR_PREFIX, 'data')

so the /path/to/data must be /var/lib/mailman/data which led me to


Except it clearly isn't because your ls -l /etc/mailman/ above
clearly shows all the files in that directory. Perhaps there is
something in mm_cfg.py that overrides VAR_PREFIX and DATA_DIR.

You might find the FAQ at http://wiki.list.org/x/KYCB of interest.


1. change main.cf
---
alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases
transport_maps = proxy:ldap:/etc/postfix/ldap_transport_maps_user.cf,
proxy:ldap:/etc/postfix/ldap_transport_maps_domain.cf,
hash:/var/lib//mailman/data/transport-mailman

2. move virtual_to_transport to /var/lib/mailman/data

3. virtual_to_transport
#!/bin/sh
sed -r -e 's/(^[^#][^ ]+[ ]+).+$/\1local/' $1 \
  /var/lib/mailman/data/transport-mailman
/usr/sbin/postmap /var/lib/mailman/data/transport-mailman

4. ran
# postalias /var/lib/mailman/data/aliases
# postalias /etc/postfix/aliases
# service postfix reload
# /usr/lib/mailman/bin/genaliases

but virtual-mailman and transport-mailman does not appear in data folder

# ls -l /var/lib/mailman/data/
total 20
-rw-r--r-- 1 mailman mailman  1503 Dec 17 11:28 aliases
-rw-r--r-- 1 mailman mailman 12288 Jan  3 08:40 aliases.db
lrwxrwxrwx 1 rootmailman25 Dec  8 18:12 sitelist.cfg -
/etc/mailman/sitelist.cfg
-rwxr-x--- 1 mailman mailman   159 Jan  3 08:26 virtual_to_transport


any hints or advises?


Yes. Undo the 4 steps above. Fix POSTFIX_STYLE_VIRTUAL_DOMAINS in
mm_cfg.py and run 

Re: [Mailman-Users] User unknown in virtual mailbox table

2010-12-30 Thread Umarzuki Mochlis
2010/12/30 Mark Sapiro m...@msapiro.net


 If your list mail domain is local in Postfix, all you need is
 alias_maps. If it is not local in Postfix, as indicated by the User
 unknown in virtual mailbox table error, you need to add

 POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.com.my']

 to Mailman's mm_cfg.py where mydomain.com.my is your actual list mail
 domain. Then run Mailman's bin/genaliases and it should create
 virtual-mailman and virtual-mailman.db.


i changed my mm_cfg.py setting to:

POSTFIX_STYLE_VIRTUAL_DOMAINS   = ['mydomain.my']

DEFAULT_URL_HOST   = fqdn
DEFAULT_EMAIL_HOST = fqdn

i ran genaliases, restarted postfix  mailman but still having the same
problem where my email is umarz...@mydomain.my  the mailserver's hostname
is mail-server.mydomain.my

this is what i got from /var/log/maillog

Dec 30 23:03:38 hpj-mail postfix/pipe[4468]: DA5B419C8818:
to=umarz...@mydomain.my, relay=dovecot, delay=0.41,
delays=0.02/0.02/0/0.37, dsn=2.0.0, status=sent (delivered via dovecot
service)
Dec 30 23:03:38 hpj-mail postfix/qmgr[3556]: DA5B419C8818: removed
Dec 30 23:10:08 hpj-mail postfix/postfix-script[5013]: stopping the Postfix
mail system
Dec 30 23:10:08 hpj-mail postfix/master[3551]: terminating on signal 15
Dec 30 23:10:09 hpj-mail postfix/postfix-script[5067]: warning:
/var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
Dec 30 23:10:09 hpj-mail postfix/postfix-script[5070]: warning:
/var/spool/postfix/etc/hosts and /etc/hosts differ
Dec 30 23:10:09 hpj-mail postfix/postfix-script[5074]: starting the Postfix
mail system
Dec 30 23:10:09 hpj-mail postfix/master[5075]: daemon started -- version
0.6.1, configuration /etc/postfix
Dec 30 23:10:38 hpj-mail postfix/pickup[5077]: 2208619C8817: uid=48
from=umarz...@mydomain.my
Dec 30 23:10:38 hpj-mail postfix/cleanup[5089]: 2208619C8817: message-id=
72bd3b85fcef6d005cf3146776d74...@127.0.0.1
Dec 30 23:10:38 hpj-mail postfix/qmgr[5078]: 2208619C8817:
from=umarz...@mydomain.my, size=778, nrcpt=1 (queue active)
Dec 30 23:10:38 hpj-mail postfix/pipe[5095]: 2208619C8817:
to=tes...@mydomain.my, relay=dovecot, delay=0.65, delays=0.56/0.04/0/0.05,
dsn=5.1.1, status=bounced (user unknown)
Dec 30 23:10:38 hpj-mail postfix/cleanup[5089]: A321319C8818: message-id=
20101230151038.a321319c8...@mail-server.mydomain.my
Dec 30 23:10:38 hpj-mail postfix/qmgr[5078]: A321319C8818: from=,
size=2554, nrcpt=1 (queue active)
Dec 30 23:10:38 hpj-mail postfix/bounce[5097]: 2208619C8817: sender
non-delivery notification: A321319C8818
Dec 30 23:10:38 hpj-mail postfix/qmgr[5078]: 2208619C8817: removed
Dec 30 23:10:39 hpj-mail postfix/pipe[5095]: A321319C8818:
to=umarz...@mydomain.my, relay=dovecot, delay=0.35,
delays=0.02/0.02/0/0.3, dsn=2.0.0, status=sent (delivered via dovecot
service)
Dec 30 23:10:39 hpj-mail postfix/qmgr[5078]: A321319C8818: removed

this email server is set to use openldap, not unix users
what i want to achieve is to be able to use mailman mailing list even
though i'm using openldap for user creation

-- 
Regards,

Umarzuki Mochlis
http://debmal.my
--
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] User unknown in virtual mailbox table

2010-12-30 Thread Mark Sapiro
Umarzuki Mochlis wrote:

i changed my mm_cfg.py setting to:

POSTFIX_STYLE_VIRTUAL_DOMAINS   = ['mydomain.my']



i ran genaliases, restarted postfix  mailman but still having the same
problem where my email is umarz...@mydomain.my  the mailserver's hostname
is mail-server.mydomain.my


You should have the following in mm_cfg.py


DEFAULT_URL_HOST   = 'hosts.web.domain'
DEFAULT_EMAIL_HOST = 'hosts.email.domain'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['hosts.email.domain']

Then run

/path/to/bin/withlist -l -a -r fix_url
/path/to/bin/genaliases

If that doesn't fix the problem, post the output from

postconf -n


this is what i got from /var/log/maillog

[...]
Dec 30 23:10:38 hpj-mail postfix/qmgr[5078]: 2208619C8817:
from=umarz...@mydomain.my, size=778, nrcpt=1 (queue active)
Dec 30 23:10:38 hpj-mail postfix/pipe[5095]: 2208619C8817:
to=tes...@mydomain.my, relay=dovecot, delay=0.65, delays=0.56/0.04/0/0.05,
dsn=5.1.1, status=bounced (user unknown)


I don't think you can use the Dovecot LDA for list mail.

See the FAQ at http://wiki.list.org/x/ZoCj for a way to automate
generation of a transport_maps table to use the Postfix local delivery
agent for list mail.

-- 
Mark Sapiro m...@msapiro.netThe 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] User unknown in virtual mailbox table

2010-12-29 Thread Umarzuki Mochlis
2010/12/18 Mark Sapiro m...@msapiro.net

 On 12/16/2010 7:16 AM, Umarzuki Mochlis wrote:


 You did not receive the list created notice because your Postfix is
 doing sender verification and You have not (properly) configured
 Mailman/Postfix configuration for automatic generation of list aliases
 and virtual alias maps at list creation time, so the virtual_alias_maps
 entry for test02-boun...@mydomain.com.my did not exist at the time the
 mail was sent.

 See http://www.list.org/mailman-install/node12.html, in particular
 subsections 6.1.1 and 6.1.2.


i did a bit of reading from those links and did a few modification in

/etc/postfix/main.cf
-
local_recipient_maps =
alias_maps = hash:/etc/postfix/aliases, hash:/etc/mailman/aliases

although i suspect the the reasons could be caused by my openldap settings
(using ldap users)

virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf,
proxy:ldap:/etc/postfix/ldap_virtual_group_maps.cf, proxy:ldap:/etc/postfix/
ldap_sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap_catch_all_maps.cf

i can see that in /etc/mailman/aliases that there are those mail lists
aliases but i could not find any virtual_mailman file



-- 
Regards,

Umarzuki Mochlis
http://debmal.my
--
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] User unknown in virtual mailbox table

2010-12-29 Thread Mark Sapiro
Umarzuki Mochlis wrote:

i can see that in /etc/mailman/aliases that there are those mail lists
aliases but i could not find any virtual_mailman file


If your list mail domain is local in Postfix, all you need is
alias_maps. If it is not local in Postfix, as indicated by the User
unknown in virtual mailbox table error, you need to add

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.com.my']

to Mailman's mm_cfg.py where mydomain.com.my is your actual list mail
domain. Then run Mailman's bin/genaliases and it should create
virtual-mailman and virtual-mailman.db.

-- 
Mark Sapiro m...@msapiro.netThe 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] User unknown in virtual mailbox table

2010-12-17 Thread Mark Sapiro
On 12/16/2010 7:16 AM, Umarzuki Mochlis wrote:
 
 I created a list from the admin interface, not from CLI. I administator of
 that list do not get the list creation notification  I found these messages
 in /var/log/mailman/smtp-failure
 
 Dec 16 13:49:13 2010 (26989) All recipients refused:
 {'umarz...@mydomain.com.my': (550, '5.1.0 test02-boun...@mydomain.com.my:
 Sender
 address rejected: User unknown in virtual mailbox table')}, msgid:
 mailman.0.1292478551.30057.tes...@mydomain.com.my
 Dec 16 13:49:13 2010 (26989) delivery to umarz...@mydomain.com.my failed
 with
 code 550: 5.1.0 test02-boun...@mydomain.com.my: Sender address rejected:
 User
 unknown in virtual mailbox table
 
 # cat /var/log/maillog | grep test02
 Dec 16 13:49:13 hpj-mail postfix/smtpd[30059]: NOQUEUE: reject: RCPT from
 localhost.localdomain[127.0.0.1]: 550 5.1.0 test02-boun...@mydomain.com.my
 :
 Sender address rejected: User unknown in virtual mailbox table;
 from=test02-boun...@mydomain.com.my to=umarz...@mydomain.com.my
 proto=ESMTP
 helo=mail.mydomain.com.my
 
 This installation in on centos 5.5
 
 What should I do next so I can send and receive email to this list (test02)?


You did not receive the list created notice because your Postfix is
doing sender verification and You have not (properly) configured
Mailman/Postfix configuration for automatic generation of list aliases
and virtual alias maps at list creation time, so the virtual_alias_maps
entry for test02-boun...@mydomain.com.my did not exist at the time the
mail was sent.

See http://www.list.org/mailman-install/node12.html, in particular
subsections 6.1.1 and 6.1.2.

Also see the first several posts in the thread at
http://mail.python.org/pipermail/mailman-users/2010-December/070671.html
for a discussion of another aspect of this issue.

-- 
Mark Sapiro m...@msapiro.netThe 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] User unknown in virtual mailbox table

2010-12-16 Thread Umarzuki Mochlis
Hi,

I created a list from the admin interface, not from CLI. I administator of
that list do not get the list creation notification  I found these messages
in /var/log/mailman/smtp-failure

Dec 16 13:49:13 2010 (26989) All recipients refused:
{'umarz...@mydomain.com.my': (550, '5.1.0 test02-boun...@mydomain.com.my:
Sender
address rejected: User unknown in virtual mailbox table')}, msgid:
mailman.0.1292478551.30057.tes...@mydomain.com.my
Dec 16 13:49:13 2010 (26989) delivery to umarz...@mydomain.com.my failed
with
code 550: 5.1.0 test02-boun...@mydomain.com.my: Sender address rejected:
User
unknown in virtual mailbox table

# cat /var/log/maillog | grep test02
Dec 16 13:49:13 hpj-mail postfix/smtpd[30059]: NOQUEUE: reject: RCPT from
localhost.localdomain[127.0.0.1]: 550 5.1.0 test02-boun...@mydomain.com.my
:
Sender address rejected: User unknown in virtual mailbox table;
from=test02-boun...@mydomain.com.my to=umarz...@mydomain.com.my
proto=ESMTP
helo=mail.mydomain.com.my

This installation in on centos 5.5

What should I do next so I can send and receive email to this list (test02)?
--
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] User unknown?

2007-06-06 Thread Pablo L. Arturi
Hello people. I am sure I am missing something, but can't figure it what.

I am following this instructions:

http://www.gnu.org/software/mailman/mailman-install/postfix-virtual.html

when I send a mail from [EMAIL PROTECTED] to the list
[EMAIL PROTECTED], I get postfix telling me the user doesn't exist,
while it should be (and appears to find it) find it from the alias database.

domain names replaced by example.com and sender_domain.com

Thank you for your patience and help!

Refards,
Pablo



This are all relevant logs and configurations I have made:

This is the content of my mm_cfg.py (comments removed).

***
[EMAIL PROTECTED] mailman]# cat /etc/mailman/mm_cfg.py
***

from Defaults import *
import pwd, grp

MAILMAN_UID = pwd.getpwnam('mailman')[2]
MAILMAN_GID = grp.getgrnam('mailman')[2]

from socket import *
try:
fqdn = getfqdn()
except:
fqdn = 'mm_cfg_has_unknown_host_domains'

DEFAULT_URL_HOST   = fqdn
DEFAULT_EMAIL_HOST = fqdn

add_virtualhost(news.example.com, news.example.com)
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['news.example.com']


I tried to send a message to [EMAIL PROTECTED], this is the
transcript of the log sessions


tail -f /var/log/maillog



Jun  6 23:55:37 lists postfix/smtpd[15635]: match_string: mynetworks ~?
debug_peer_list
Jun  6 23:55:37 lists postfix/smtpd[15635]: match_string: mynetworks ~?
fast_flush_domains
Jun  6 23:55:37 lists postfix/smtpd[15635]: match_string: mynetworks ~?
mynetworks
Jun  6 23:55:37 lists postfix/smtpd[15635]: match_string: relay_domains ~?
debug_peer_list
Jun  6 23:55:37 lists postfix/smtpd[15635]: match_string: relay_domains ~?
fast_flush_domains
Jun  6 23:55:37 lists postfix/smtpd[15635]: match_string: relay_domains ~?
mynetworks
Jun  6 23:55:37 lists postfix/smtpd[15635]: match_string: relay_domains ~?
permit_mx_backup_networks
Jun  6 23:55:37 lists postfix/smtpd[15635]: match_string: relay_domains ~?
qmqpd_authorized_clients
Jun  6 23:55:37 lists postfix/smtpd[15635]: match_string: relay_domains ~?
relay_domains
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-transport.cf: user = postfix
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-transport.cf: password = 
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-transport.cf: dbname = postfix
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-transport.cf: table = postfix_domains
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-transport.cf: select_field = transport
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-transport.cf: where_field = domain
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-transport.cf: additional_conditions =
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-transport.cf: hosts = localhost
Jun  6 23:55:37 lists postfix/smtpd[15635]: mysqlname_parse:
/etc/postfix/mysql-transport.cf: adding host 'localhost' to list of mysql
server hosts
Jun  6 23:55:37 lists postfix/smtpd[15635]: dict_open:
mysql:/etc/postfix/mysql-transport.cf
Jun  6 23:55:37 lists postfix/smtpd[15635]: match_string:
permit_mx_backup_networks ~? debug_peer_list
Jun  6 23:55:37 lists postfix/smtpd[15635]: match_string:
permit_mx_backup_networks ~? fast_flush_domains
Jun  6 23:55:37 lists postfix/smtpd[15635]: match_string:
permit_mx_backup_networks ~? mynetworks
Jun  6 23:55:37 lists postfix/smtpd[15635]: match_string:
permit_mx_backup_networks ~? permit_mx_backup_networks
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-virtual.cf: user = postfix
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-virtual.cf: password = 
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-virtual.cf: dbname = postfix
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-virtual.cf: table = postfix_virtual
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-virtual.cf: select_field = destination
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-virtual.cf: where_field = email
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-virtual.cf: additional_conditions =
Jun  6 23:55:37 lists postfix/smtpd[15635]: cfg_get_str:
/etc/postfix/mysql-virtual.cf: hosts = localhost
Jun  6 23:55:37 lists postfix/smtpd[15635]: mysqlname_parse:
/etc/postfix/mysql-virtual.cf: adding host 'localhost' to list of mysql
server hosts
Jun  6 23:55:37 lists postfix/smtpd[15635]: dict_open:
mysql:/etc/postfix/mysql-virtual.cf
Jun  6 23:55:37 lists postfix/smtpd[15635]: dict_open:
hash:/etc/mailman/virtual-mailman
Jun  6 23:55:37 lists 

[Mailman-Users] User unknown messages

2006-01-06 Thread Darren G Pifer
Hello,

  One of our list serve admins is trying to send out a bunch of
email to several list serves. He has defined a group in Lotus Notes,
which comprises the different list serves, and when he sends mail to
the group, the mail is not being delivered. The mail logs show that
mail is coming from the list serve but is not being delivered because
of 'user unknown' messages. We use LDAP, specifically OpenLDAP on a
Linux, for our user lookups. The directory is working properly.
Here are a few of the 'user unknown' messages:

Jan  6 10:36:07 sendmail[31936]: 
Jan  6 10:36:07 sendmail[31936]: k06Fa6Cl031936: to=[EMAIL PROTECTED],
delay=00:00:01, pri=989527, stat=User unknown
[bunches of other addresses come out the same]

Even though LDAP knows about the user:

[dpifer syslog]$ sendmail -bv [EMAIL PROTECTED]

Terry/OCCS/AF/[EMAIL PROTECTED] deliverable: mailer esmtp, host
notes.odu.edu., user Terry/OCCS/AF/[EMAIL PROTECTED]

I can deliver mail to this user okay but the problem is when the
mail comes through mailman. I am not seeing anything in the
mailman or sendmail logs to see any other failures.

Has any one seen this? Are we reaching some threshold causing
this problem? We need to get this mail out today for our list
serve admin.

Darren
ODU

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


Re: [Mailman-Users] User unknown messages

2006-01-06 Thread Mark Sapiro
Darren G Pifer wrote:

  One of our list serve admins is trying to send out a bunch of
email to several list serves. He has defined a group in Lotus Notes,
which comprises the different list serves, and when he sends mail to
the group, the mail is not being delivered. The mail logs show that
mail is coming from the list serve but is not being delivered because
of 'user unknown' messages. We use LDAP, specifically OpenLDAP on a
Linux, for our user lookups. The directory is working properly.
Here are a few of the 'user unknown' messages:

I'm not sure I understand. Are you saying there is a group in Lotus
Notes which consists of the addresses of some Mailman lists and mail
to that group is sent to the Mailman lists and resent by Mailman to
the list members and is ultimately not delivered because the outgoing
MTA says 'user unknown'?

What happens when a post is sent directly to one of these lists, not
via the Lotus Notes group?

-- 
Mark Sapiro [EMAIL PROTECTED]   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://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


Re: [Mailman-Users] User unknown messages

2006-01-06 Thread Darren G Pifer
I want to include some more information that may help try to figure
this out. Mail was sent to one list serve with 19 members, another
list serve that had 32 members was not delivered. BTW, the person
sending the mail is not the list owner that I originally reported but is
a list member. This user does not have the moderate flag set on either
list in membership management. Also, if it matters we are using MM
2.1.6b4.

Darren

On Fri, 2006-01-06 at 10:52 -0500, Darren G Pifer wrote:
 Hello,
 
   One of our list serve admins is trying to send out a bunch of
 email to several list serves. He has defined a group in Lotus Notes,
 which comprises the different list serves, and when he sends mail to
 the group, the mail is not being delivered. The mail logs show that
 mail is coming from the list serve but is not being delivered because
 of 'user unknown' messages. We use LDAP, specifically OpenLDAP on a
 Linux, for our user lookups. The directory is working properly.
 Here are a few of the 'user unknown' messages:
 
 Jan  6 10:36:07 sendmail[31936]: 
 Jan  6 10:36:07 sendmail[31936]: k06Fa6Cl031936: to=[EMAIL PROTECTED],
 delay=00:00:01, pri=989527, stat=User unknown
 [bunches of other addresses come out the same]
 
 Even though LDAP knows about the user:
 
 [dpifer syslog]$ sendmail -bv [EMAIL PROTECTED]
 
 Terry/OCCS/AF/[EMAIL PROTECTED] deliverable: mailer esmtp, host
 notes.odu.edu., user Terry/OCCS/AF/[EMAIL PROTECTED]
 
 I can deliver mail to this user okay but the problem is when the
 mail comes through mailman. I am not seeing anything in the
 mailman or sendmail logs to see any other failures.
 
 Has any one seen this? Are we reaching some threshold causing
 this problem? We need to get this mail out today for our list
 serve admin.
 
 Darren
 ODU
 
 --
 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/dpifer%40odu.edu
 
 Security Policy: 
 http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.027.htp
 
 
-- 

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


Re: [Mailman-Users] User unknown messages

2006-01-06 Thread Darren G Pifer
Hello,

On Fri, 2006-01-06 at 09:25 -0800, Mark Sapiro wrote:
 Darren G Pifer wrote:
 
   One of our list serve admins is trying to send out a bunch of
 email to several list serves. He has defined a group in Lotus Notes,
 which comprises the different list serves, and when he sends mail to
 the group, the mail is not being delivered. The mail logs show that
 mail is coming from the list serve but is not being delivered because
 of 'user unknown' messages. We use LDAP, specifically OpenLDAP on a
 Linux, for our user lookups. The directory is working properly.
 Here are a few of the 'user unknown' messages:
 
 I'm not sure I understand. Are you saying there is a group in Lotus
 Notes which consists of the addresses of some Mailman lists and mail
 to that group is sent to the Mailman lists and resent by Mailman to
 the list members and is ultimately not delivered because the outgoing
 MTA says 'user unknown'?

That is correct. According to the sender, this used to work but does
not now. No changes have been made to the list (AFAIK) and none to
the mailman software.

 What happens when a post is sent directly to one of these lists, not
 via the Lotus Notes group?

I asked the user to send mail from Lotus Notes to the listserve and it
does the same thing. Just to you know, the sender has several list
serves he is mailing to. In one case, the mail was delivered (to 19
members), the other was not delivered (to 32 members). I am checking
the configuration of both list serves and conparing them. I will let
you know what I find out.

Darren
ODU

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


Re: [Mailman-Users] User unknown messages

2006-01-06 Thread Mark Sapiro
Darren G Pifer wrote:

On Fri, 2006-01-06 at 09:25 -0800, Mark Sapiro wrote:

 What happens when a post is sent directly to one of these lists, not
 via the Lotus Notes group?

I asked the user to send mail from Lotus Notes to the listserve and it
does the same thing. Just to you know, the sender has several list
serves he is mailing to. In one case, the mail was delivered (to 19
members), the other was not delivered (to 32 members). I am checking
the configuration of both list serves and conparing them. I will let
you know what I find out.


So in both cases Mailman sends to the list members (does everything
look normal in Mailman's 'post' and 'smtp' logs?), but in one case,
all 19 member posts are delivered and in the other all 32 are not
delivered because the MTA says 'user unknown'. Perhaps it is the
sender (LISTNAME-bounces) that is unknown to the MTA.

Can anyone successfully post to the problem list?

-- 
Mark Sapiro [EMAIL PROTECTED]   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://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


Re: [Mailman-Users] User unknown messages

2006-01-06 Thread Darren G Pifer
Hello,

   Thanks for all the help but I got resolution from our spam
filter vendor Roaring Penguin. Apparently, the issue was a side effect
of the interaction of the Mailman and CanIt-PRO, the spam filter
software we have implemented on our mail machines. It seems that if
there was one address in the list that was bad it would cause the whole
message to be rejected. Their recommendation changes cause Mailman to
submit mail through the mail server's address rather than from
localhost. Since the mail no longer appears to be coming from
'localhost', CanIt-PRO will do address validation at RCPT time rather
than waiting until after the DATA phase. Before the change, canit would
reject the message if there was one bad recipient, now it will rejects
only the bad recipients.

On Fri, 2006-01-06 at 10:52 -0800, Mark Sapiro wrote:
 Darren G Pifer wrote:
 
 These log entries indicate that in both cases the outgoing message was
 accepted for delivery by the outgoing MTA. Whatever the issue is that
 is preventing delivery of the 32, it is not detected until later in
 the process when the MTA attempts to deliver to the 32 recipients.
 
 Is there any difference in the form of the actual member addresses
 between the two lists?

Here are the recommended changes from the vendor:

1) In /etc/mail/access, add this line:

Connect:mailserver1.odu.edu RELAY

2) Rebuild the access DB:  make -C /etc/mail

3) Edit Mailman's Defaults.py file.

Make sure the following two settings are set as follows:

DELIVERY_MODULE = 'SMTPDirect'
SMTPHOST = 'mailserver1.odu.edu'

Darren
ODU

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


Re: [Mailman-Users] User unknown new error

2005-07-24 Thread John Fleming

- Original Message - 
From: John Fleming [EMAIL PROTECTED]
To: mailman-users@python.org
Sent: Saturday, July 23, 2005 4:19 PM
Subject: [Mailman-Users] User unknown new error


 This list used to work, and now it has a problem that I have found some
 threads about, but I still can't fix it - Not to mention, I don't know why
 it used to work and now it doesn't!  Here's the msg received back after
 trying to post to the list:

 The original message was received at Sat, 23 Jul 2005 17:09:59 -0400
 from vsat-148-64-5-87.c050.t7.mrt.starband.net [148.64.5.87]

   - The following addresses had permanent fatal errors -
 [EMAIL PROTECTED]
(reason: 550 [EMAIL PROTECTED]: Recipient address
 rejected: User unknown in local recipient table)

   - Transcript of session follows -
 ... while talking to wa9als.com.:
 DATA
  550 [EMAIL PROTECTED]: Recipient address rejected: User
 unknown in local recipient table
 550 5.1.1 [EMAIL PROTECTED]... User unknown
  554 Error: no valid recipients

 Is this an alias issue, and if so, how to fix?  Or permissions?  And 
 why/how
 could it change without my input???  Many thanks!  - John

More info - List was quiet yeterday, and I took the newbie approach and 
simply recreated the list and now that list is OK.  BUT, now another list, 
that was working yesterday, has developed the same problem, yet others are 
still fine!  How could this problem crop up in an unpredictable way?  And 
how to fix?

Tnx agn - John

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


Re: [Mailman-Users] User unknown new error

2005-07-24 Thread Mark Sapiro
John Fleming wrote:

- Original Message - 
From: John Fleming [EMAIL PROTECTED]
To: mailman-users@python.org
Sent: Saturday, July 23, 2005 4:19 PM
Subject: [Mailman-Users] User unknown new error


 This list used to work, and now it has a problem that I have found some
 threads about, but I still can't fix it - Not to mention, I don't know why
 it used to work and now it doesn't!  Here's the msg received back after
 trying to post to the list:

 The original message was received at Sat, 23 Jul 2005 17:09:59 -0400
 from vsat-148-64-5-87.c050.t7.mrt.starband.net [148.64.5.87]

   - The following addresses had permanent fatal errors -
 [EMAIL PROTECTED]
(reason: 550 [EMAIL PROTECTED]: Recipient address
 rejected: User unknown in local recipient table)

   - Transcript of session follows -
 ... while talking to wa9als.com.:
 DATA
  550 [EMAIL PROTECTED]: Recipient address rejected: User
 unknown in local recipient table
 550 5.1.1 [EMAIL PROTECTED]... User unknown
  554 Error: no valid recipients

 Is this an alias issue, and if so, how to fix?  Or permissions?  And 
 why/how
 could it change without my input???  Many thanks!  - John

More info - List was quiet yeterday, and I took the newbie approach and 
simply recreated the list and now that list is OK.  BUT, now another list, 
that was working yesterday, has developed the same problem, yet others are 
still fine!  How could this problem crop up in an unpredictable way?  And 
how to fix?


This is almost certainly an MTA alias problem. Since you don't mention
specifically updating aliases, I'm guessing your MTA is Postfix and
that somehow your $prefix/data/aliases has gotten out of synch with
your lists or something like that.

See http://www.list.org/mailman-install/node13.html

--
Mark Sapiro [EMAIL PROTECTED]   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://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


Re: [Mailman-Users] User unknown new error

2005-07-24 Thread John Fleming

- Original Message - 
From: Mark Sapiro [EMAIL PROTECTED]
To: John Fleming [EMAIL PROTECTED]; mailman-users@python.org
Sent: Sunday, July 24, 2005 9:33 AM
Subject: Re: [Mailman-Users] User unknown new error


 John Fleming wrote:

- Original Message - 
From: John Fleming [EMAIL PROTECTED]
To: mailman-users@python.org
Sent: Saturday, July 23, 2005 4:19 PM
Subject: [Mailman-Users] User unknown new error


 This list used to work, and now it has a problem that I have found some
 threads about, but I still can't fix it - Not to mention, I don't know 
 why
 it used to work and now it doesn't!  Here's the msg received back after
 trying to post to the list:

 The original message was received at Sat, 23 Jul 2005 17:09:59 -0400
 from vsat-148-64-5-87.c050.t7.mrt.starband.net [148.64.5.87]

   - The following addresses had permanent fatal errors -
 [EMAIL PROTECTED]
(reason: 550 [EMAIL PROTECTED]: Recipient address
 rejected: User unknown in local recipient table)

   - Transcript of session follows -
 ... while talking to wa9als.com.:
 DATA
  550 [EMAIL PROTECTED]: Recipient address rejected: 
 User
 unknown in local recipient table
 550 5.1.1 [EMAIL PROTECTED]... User unknown
  554 Error: no valid recipients

 Is this an alias issue, and if so, how to fix?  Or permissions?  And
 why/how
 could it change without my input???  Many thanks!  - John

More info - List was quiet yeterday, and I took the newbie approach and
simply recreated the list and now that list is OK.  BUT, now another list,
that was working yesterday, has developed the same problem, yet others are
still fine!  How could this problem crop up in an unpredictable way?  And
how to fix?


 This is almost certainly an MTA alias problem. Since you don't mention
 specifically updating aliases, I'm guessing your MTA is Postfix and
 that somehow your $prefix/data/aliases has gotten out of synch with
 your lists or something like that.

 See http://www.list.org/mailman-install/node13.html

Any idea how they get out of synch?  I hadn't created a new list for awhile 
when it started screwing up.  Here are some observations after reading the 
info at the link above:

1.  Regarding the ownership of aliases and aliases.db, mine are reversed -

aliases - Owner = www-data, Group = list
aliases.db - Owner = list, Group - www-data

I don't know if that's how they used to be or not.

Permissions for both files is 0660.

Would you suggest that I change both to owner = list and group = www-data 
and then run bin/genaliases?

The aliases file only has information for 2 of my lists - The 2 that work 
BTW!

I tried running genaliases yesterday, but I think it didn't work correctly 
due to permissions mismatch.
- John

--
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] User unknown new error

2005-07-23 Thread John Fleming
This list used to work, and now it has a problem that I have found some 
threads about, but I still can't fix it - Not to mention, I don't know why 
it used to work and now it doesn't!  Here's the msg received back after 
trying to post to the list:

The original message was received at Sat, 23 Jul 2005 17:09:59 -0400
from vsat-148-64-5-87.c050.t7.mrt.starband.net [148.64.5.87]

   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
(reason: 550 [EMAIL PROTECTED]: Recipient address 
rejected: User unknown in local recipient table)

   - Transcript of session follows -
... while talking to wa9als.com.:
 DATA
 550 [EMAIL PROTECTED]: Recipient address rejected: User 
unknown in local recipient table
550 5.1.1 [EMAIL PROTECTED]... User unknown
 554 Error: no valid recipients

Is this an alias issue, and if so, how to fix?  Or permissions?  And why/how 
could it change without my input???  Many thanks!  - John

--
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] User Unknown Error (was Sendmail integration, mail not being processed?)

2005-04-30 Thread Iain Dooley
hello, i have fixed some problems with my sendmail.cf file, and have got sendmail running correctly and it is (apparently) handing off tasks to mailman. 

i can now see that i am getting 'user unknown' error messages (ie. bounces) 
when i send to my lists:
- The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
   (reason: 550 5.1.1 [EMAIL PROTECTED]... User unknown)
  - Transcript of session follows -
... while talking to lists.scoastnet.com.au.:
DATA
 550 5.1.1 [EMAIL PROTECTED]... User unknown
550 5.1.1 [EMAIL PROTECTED]... User unknown
 503 5.0.0 Need RCPT (recipient)
i have created lists through both the command line and web interfaces. i 
can log in and subscribe users to the off-the-grid list on the web, and have 
received subscription confirmation emails afterwards.
some similar 'user unknown' errors in the mailman-users archives suggest that 
this is a problem with aliases, but my impression was that when you use 
mm-handler with sendmail, you no longer need to worry about aliases. my 
mailertable looks like this:
lists.scoastnet.com.au  mailman:lists.scoastnet.com.au
my mailer definition looks like this:
Mmailman,   P=/etc/mail/mm-handler, F=rDFMhlqSu, U=mailman:mailnull,
   S=EnvFromL, R=EnvToL/HdrToL,
   A=mm-handler $h $u
i have removed the ALIAS_FILE feature from my sendmail.mc file (becuase in 
mailman.mc example from David Champion, he comments the ALIAS_FILE feature 
saying that you can keep old aliases for back compatibility, but i have no 
reason for this so i have not kept it in there).
i would really appreciate any help you can offer.
cheers
iain
Iain Dooley wrote:
hi, i've just installed mailman and mm-handler on a FreeBSD machine with 
uname:

FreeBSD kingfish.scoastnet.com.au 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE 
#0: Thu Jan 27 22:44:45 EST 2005 
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/NEWKERNEL  i386

i am able to create and maintain lists, but get no response (not even an 
error) when i send mail to a list.

i followed the process for sendmail integration described in the 
mm-handler howto. when i call 'make' from /etc/mail/ i get the following 
errors:

cp freebsd.mc kingfish.scoastnet.com.au.mc
/usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/   
/usr/share/sendmail/cf/m4/cf.m4 kingfish.scoastnet.com.au.mc  
kingfish.scoastnet.com.au.cf
*** ERROR: FEATURE() should be before MAILER()

*** ERROR: FEATURE() should be before MAILER()
*** ERROR: FEATURE() should be before MAILER()
cp freebsd.submit.mc kingfish.scoastnet.com.au.submit.mc
/usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/   
/usr/share/sendmail/cf/m4/cf.m4 kingfish.scoastnet.com.au.submit.mc  
kingfish.scoastnet.com.au.submit.cf

i am able to subscribe users through the web interface, and get the 
confirmation emails. i can use the confirmation http link, but if i 
respond to the confirmation email then i do not get the 'welcome' message.

once subscribed, i do not get emails back when i send to the list. i do 
not get any error emails, i just receive no emails in response when i 
send to my mailing list. the following are some messages from 
/var/log/messages:

May  1 03:10:00 kingfish cron[67069]: _secure_path: cannot stat 
none/.login_conf: Permission denied
May  1 03:15:00 kingfish cron[68044]: _secure_path: cannot stat 
none/.login_conf: Permission denied
May  1 03:20:00 kingfish cron[69809]: _secure_path: cannot stat 
none/.login_conf: Permission denied
May  1 03:25:00 kingfish cron[71715]: _secure_path: cannot stat 
none/.login_conf: Permission denied
May  1 03:27:00 kingfish cron[72191]: _secure_path: cannot stat 
none/.login_conf: Permission denied
May  1 03:30:00 kingfish cron[72599]: _secure_path: cannot stat 
none/.login_conf: Permission denied
May  1 03:35:00 kingfish cron[74371]: _secure_path: cannot stat 
none/.login_conf: Permission denied

there are no error messages in /usr/local/mailman/logs/error. my 
virtusers table looks like this:

[EMAIL PROTECTED][EMAIL PROTECTED]
my mailertable looks like this:
lists.scoastnet.com.au  mailman:lists.scoastnet.com.au
i have included the following in mm_cfg.py:
DEFAULT_EMAIL_HOST = 'lists.scoastnet.com.au'
DEFAULT_URL_HOST = 'lists.scoastnet.com.au'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
the url lists.scoastnet.com.au resolves to the same IP address as 
kingfish.scoastnet.com.au

there is this line in mm-handler:
$SENDMAIL = /usr/lib/sendmail -oem -oi;
there is no file called /usr/lib/sendmail on my machine. there is a 
binary for sendmail called:

/usr/sbin/sendmail
i tried changing the $SENDMAIL line above to:
$SENDMAIL = /usr/sbin/sendmail -oem -oi;
but still no results. is there anything else i can provide to help 
someone diagnose my problem? i'm pretty lost...

cheers
iain
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: 

[Mailman-Users] User unknown in local recipient table Error

2005-03-23 Thread Olson, Gary
I've got two lists up and running after a new install of Mailman 2.1.5
(RH E 3, Apache 2.0.46, Postfix 2.0.16) but when I went to create a
third list today everything went fine until I sent an email to test the
new list.   The message came right back with a User unknown in local
recipient table error.  I did a search of the
documentation/troubleshooting and this list's archives and tried
changing the  local_recipient_maps in main.cf for Postfix.  When I did
that I get a database loop for admin error for the new list that again
bounces the message back to me.  The other two lists run just fine with
the Postfix variable local_recipient_maps commented out.

The Postfix aliases are the same for all three lists except for the list
name, of course.

By the way, this third list created today was created with Mailman Admin
while the others I did from the command line.

Any ideas on why this is happening or where I might look to see what is
causing this?

Gary
Eastern Iowa Community College


   
--
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úq01.027.htp


Re: [Mailman-Users] User unknown in local recipient table Error

2005-03-23 Thread Mark Sapiro
Olson, Gary wrote:

The Postfix aliases are the same for all three lists except for the list
name, of course.

By the way, this third list created today was created with Mailman Admin
while the others I did from the command line.

Any ideas on why this is happening or where I might look to see what is
causing this?

Perhaps there is a permissions issue that prevented the postalias
command from updating the aliases.db file with the third list's
aliases when run from the web interface.

You could try running postalias manually and see if that fixes the
problem.

--
Mark Sapiro [EMAIL PROTECTED]   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://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


RE: [Mailman-Users] User unknown in local recipient table Error

2005-03-23 Thread Olson, Gary
 In rereading
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.009.htp
Thanks Dan!, I checked that data/aliases and data/aliases.db were both
group writable.  Oddly aliases.db was not but the aliases was.   When I
changed that to make it group writable all three lists now work.  Odd
that two lists worked with that setting and the one didn't.  Another
strange aspect is that there were no errors logged for this.  The latter
warrants further investigation.

Thanks for the help.

Gary

-Original Message-
From: Mark Sapiro [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 23, 2005 4:12 PM
To: Olson, Gary; mailman-users@python.org
Subject: Re: [Mailman-Users] User unknown in local recipient table
Error

Olson, Gary wrote:

The Postfix aliases are the same for all three lists except for the 
list name, of course.

By the way, this third list created today was created with Mailman 
Admin while the others I did from the command line.

Any ideas on why this is happening or where I might look to see what is

causing this?

Perhaps there is a permissions issue that prevented the postalias
command from updating the aliases.db file with the third list's aliases
when run from the web interface.

You could try running postalias manually and see if that fixes the
problem.

--
Mark Sapiro [EMAIL PROTECTED]   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://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úq01.027.htp


RE: [Mailman-Users] User unknown in local recipient table Error

2005-03-23 Thread Mark Sapiro
Olson, Gary wrote:

 In rereading
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.009.htp
Thanks Dan!, I checked that data/aliases and data/aliases.db were both
group writable.  Oddly aliases.db was not but the aliases was.   When I
changed that to make it group writable all three lists now work.  Odd
that two lists worked with that setting and the one didn't.


Not really so odd. If you ran bin/newlist as a user who had permission
to write aliases.db (root?), everything could have succeeded even
though newalias might fail when run from the web script.


Another
strange aspect is that there were no errors logged for this.  The latter
warrants further investigation.


True. When Mailman/MTA/Postfix.py runs POSTFIX_ALIAS_CMD, it checks the
status (returned by os.system()) and logs any error in the 'error'
log. It's strange that nothing was logged here.

--
Mark Sapiro [EMAIL PROTECTED]   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://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] user unknown in virtual mailbox table?

2004-10-28 Thread Daniel A. Creed
Ok I followed the direction to setup Postfix and Mailman with virtual
mailboxes to the T. however any e-mail I sent to postfix comes back
complaining with the error user unkown in virtual mailbox table?

 

 

Any ideas. I'm sure I'm just missing something simple. 

 

 

Thanks,

Dan

[EMAIL PROTECTED]

 

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


[Mailman-Users] User unknown

2003-12-04 Thread josh
I am attempting to get get mailman working on fedora 1.  It looked like
it was pretty much preinstalled and the service is running.

I attempted to create a list using web interface and it looked like I
did.  However, when I send mail to it-- it bounces back complaininig
that there isn't such a user.  I wouldn't think I would have to manually
add aliases in my /etc/aliases file if there is a web interface.  Even
so, I tried it -- to no avail (and ran newaliases).

I'm running sendmail, and it is working fine.  Why is it complaining
about postfix?


any ideas?

thanks

-josh











This is the Postfix program at host localhost.

I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.

For further assistance, please send mail to postmaster

If you do so, please include this problem report. You can
delete your own text from the message returned below.

The Postfix program

[EMAIL PROTECTED]: host westmouthbay.com[66.56.222.228] said:
550 5.1.1
[EMAIL PROTECTED]... User unknown (in reply to RCPT TO
command)

--
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] User unknown

2003-12-04 Thread Charles Layno
What did you have to do to get Mailman running under FC1. When I go to the 
mailman/listinfo page I get a bunch of python error messages, and if I try 
and do a command line list serach or member find, I get a lot of python error 
messages.

Charles Layno
Greensboro, NC


On Wednesday 03 December 2003 21:11, josh wrote:
 I am attempting to get get mailman working on fedora 1.  It looked like
 it was pretty much preinstalled and the service is running.

 I attempted to create a list using web interface and it looked like I
 did.  However, when I send mail to it-- it bounces back complaininig
 that there isn't such a user.  I wouldn't think I would have to manually
 add aliases in my /etc/aliases file if there is a web interface.  Even
 so, I tried it -- to no avail (and ran newaliases).

 I'm running sendmail, and it is working fine.  Why is it complaining
 about postfix?


 any ideas?

 thanks

 -josh











 This is the Postfix program at host localhost.

 I'm sorry to have to inform you that the message returned
 below could not be delivered to one or more destinations.

 For further assistance, please send mail to postmaster

 If you do so, please include this problem report. You can
 delete your own text from the message returned below.

 The Postfix program

 [EMAIL PROTECTED]: host westmouthbay.com[66.56.222.228] said:
 550 5.1.1
 [EMAIL PROTECTED]... User unknown (in reply to RCPT TO
 command)

 --
 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/clayno%40w4cl.net


--
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] User Unknown

2003-04-02 Thread Michael Mansour
Hi,

I'm brand new to Mailman. 

I've created a Mailing list test and subscribed to the list via my email
address, the message gets sent as:

[EMAIL PROTECTED]

But when I click the reply button, and then click send, I get the following:


Apr  2 22:35:37 pcserv sendmail[25359]: h32CZaDm025359:
[EMAIL PROTECTED]... User unknown

Any ideas how to fix this?

Your help is appreciated.

Michael.



--
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] User Unknown

2003-04-02 Thread CARTER Anthony
Have you updated your aliases and run newalias for your list?

Anthony

On Wednesday 02 April 2003 14:36, Michael Mansour wrote:
 Hi,

 I'm brand new to Mailman.

 I've created a Mailing list test and subscribed to the list via my email
 address, the message gets sent as:

 [EMAIL PROTECTED]

 But when I click the reply button, and then click send, I get the
 following:


 Apr  2 22:35:37 pcserv sendmail[25359]: h32CZaDm025359:
 [EMAIL PROTECTED]... User unknown

 Any ideas how to fix this?

 Your help is appreciated.

 Michael.



 --
 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/a.carter%40intrasoft.l
u

--
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] User Unknown

2003-04-02 Thread Richard Barrett
At 13:36 02/04/2003, Michael Mansour wrote:
Hi,

I'm brand new to Mailman.

I've created a Mailing list test and subscribed to the list via my email
address, the message gets sent as:
[EMAIL PROTECTED]

But when I click the reply button, and then click send, I get the following:

Apr  2 22:35:37 pcserv sendmail[25359]: h32CZaDm025359:
[EMAIL PROTECTED]... User unknown
This is your MTA (sendmail) telling you it does not know about the list's 
mail alias(es).

Have you added the list's mail aliases to the sendmail aliases file and 
rebuilt the sendmail aliases database?

Typically, on Linux, you should have added the new list's mail aliases to a 
file such as /etc/mail/aliases and run make in the directory /etc/mail or 
some similar incantation depending on the brand of *nix you are running.

Any ideas how to fix this?

Your help is appreciated.

Michael.


--
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] User Unknown

2003-04-02 Thread Dan Gookin
Richard Barrett wrote:
At 13:36 02/04/2003, Michael Mansour wrote:
Apr  2 22:35:37 pcserv sendmail[25359]: h32CZaDm025359:
[EMAIL PROTECTED]... User unknown
This is your MTA (sendmail) telling you it does not know about the 
list's mail alias(es).

Have you added the list's mail aliases to the sendmail aliases file 
and rebuilt the sendmail aliases database?
Which is better, to add the name to the aliases file or to put it 
into the virtusertable?

Of course, this doesn't just apply to Mailman, but to any user I'm 
aliasing. Does anyone know the real rules about what's an alias and 
who is a virtual user? My guess is that aliases would be used for 
real accounts on the system but that virtual users would be programs 
like Mailman or users who don't have a physical account on system but 
are using a system address.

Thoughts?

DAN



--
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] User Unknown error

2001-04-11 Thread Dennis

Just set up mailman (current version) and all went well, until I created 
the first user account.
 From that user account, the confirmation email won't go through, says 
error 550, User [EMAIL PROTECTED] unknown.
I'm running on RH Linux version 6.0, with kernel 2.2.5-15
Thanks for any help.
Dennis 


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users