David Renstrom | 4 Mar 2012 14:28

Unknown user when using virtual mailboxes

Hi,

I've set up a system with Postfix, Dovecot and Mailman under Fedora. I'm
using MySQL and Postfixadmin to administrate the virtual mailboxes. I'm
unable to get emails delivered to the mailing lists created with Mailman
though. I've added the required strings to alias_maps and virtual_alias_maps
in main.cf of Postfix:

alias_maps = hash:/etc/mailman/aliases, mysq:/etc/postfix/alias_sql.cf
virtual_alias_maps = hash:/etc/mailman/virtual-mailman,
mysql:/etc/postfix/virtual_mailbox.sql.cf

I've created a mailing list called test for my virtual domain mydomain.se
and everything seems to be correct in /etc/mailman/virtual-mailman and
/etc/mailman/aliases.

Example from /etc/mailman/virtual-mailman:
test <at> mydomain.se	test

Example from /etc/mailman/aliases:
test:	"|/usr/lib/mailman/mail/mailman post test"

I've also added the following string to /etc/mailman/mm_cfg.py:
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.se']
add_virtualhost('www.mydomain.se', 'mydomain.se')
MTA = 'Postfix'

Why do I get the "Unknown user" reply from Postfix when sending an email to
test <at> mydomain.se? What could I have missed? I've tried to Google this
problem but have come up with nothing really useful. Could you please point
(Continue reading)

Mark Sapiro | 4 Mar 2012 16:52
Favicon

Re: Unknown user when using virtual mailboxes

David Renstrom wrote:
>
>I've set up a system with Postfix, Dovecot and Mailman under Fedora. I'm
>using MySQL and Postfixadmin to administrate the virtual mailboxes. I'm
>unable to get emails delivered to the mailing lists created with Mailman
>though. I've added the required strings to alias_maps and virtual_alias_maps
>in main.cf of Postfix:
>
>alias_maps = hash:/etc/mailman/aliases, mysq:/etc/postfix/alias_sql.cf
>virtual_alias_maps = hash:/etc/mailman/virtual-mailman,
>mysql:/etc/postfix/virtual_mailbox.sql.cf
>
>I've created a mailing list called test for my virtual domain mydomain.se
>and everything seems to be correct in /etc/mailman/virtual-mailman and
>/etc/mailman/aliases.

Are the timestamps on /etc/mailman/virtual-mailman.db and
/etc/mailman/aliases.db as recent as those on
/etc/mailman/virtual-mailman and /etc/mailman/aliases.

>Example from /etc/mailman/virtual-mailman:
>test <at> mydomain.se	test
>
>Example from /etc/mailman/aliases:
>test:	"|/usr/lib/mailman/mail/mailman post test"
>
>I've also added the following string to /etc/mailman/mm_cfg.py:
>POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.se']
>add_virtualhost('www.mydomain.se', 'mydomain.se')
>MTA = 'Postfix'
(Continue reading)

Sascha Rissel | 5 Mar 2012 16:26
Picon
Favicon

Adding archive link to mail footer?

Hello,

is there a nice way of adding a link to the list's archive to msg_footer?
Like it is done with the link to the list info page
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Regards,
Sascha.
------------------------------------------------------
Mailman-Users mailing list Mailman-Users <at> 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/gmmu-mailman-users%40m.gmane.org

Jesús Rivas | 5 Mar 2012 16:29
Picon
Favicon

Mailman + postfix delivery slow

hi list, i have to change the server because the old server is in coma, 
so i put ubuntu with mailman and postifx.

everything works fine, except the delivery is slow, about 20 per 
minute,  someone help me please

attached the config file for main.cf of postfix and mm_cfg.py of mailman

Than a lot

################################################################
Mailman configuration
#######################################################
#    Here's where we get the distributed defaults.    #
from Defaults import *
##############################################################
# Put YOUR site-specific configuration below, in mm_cfg.py . #
# See Defaults.py for explanations of the values.            #
#-------------------------------------------------------------
# The name of the list Mailman uses to send password reminders
# and similar. Don't change if you want mailman-owner to be
# a valid local part.
MAILMAN_SITE_LIST = 'mailman'

### added from old configuration ###
from socket import *
try:
     fqdn = getfqdn()
except:
     fqdn = 'mm_cfg_has_unknown_host_domains'
(Continue reading)

Mailman Admin | 5 Mar 2012 18:47
Picon
Favicon

Re: Adding archive link to mail footer?

Hello Sascha Rissel

On 2012-03-05 16:26, Sascha Rissel wrote:
> 
> is there a nice way of adding a link to the list's archive to msg_footer?
> Like it is done with the link to the list info page
>> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
> 

Sure.

For private archives use
%(web_page_url)sprivate/%(_internal_name)s

And for public ones use
%(web_page_url)spublic/%(_internal_name)s

Kind regards,
Christian Mack
------------------------------------------------------
Mailman-Users mailing list Mailman-Users <at> 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/gmmu-mailman-users%40m.gmane.org

Mark Sapiro | 5 Mar 2012 19:19
Favicon

Re: Adding archive link to mail footer?

Mailman Admin wrote:
>
>For private archives use
>%(web_page_url)sprivate/%(_internal_name)s

Yes.

>And for public ones use
>%(web_page_url)spublic/%(_internal_name)s

No. This won't work in a standard Mailman installation. It might work
if you have set

PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/mailman/public/%(listname)s'

in mm_cfg.py and put the appropriate alias for mailman/public in your
web server, but for defauly public archives you need to use something
like

http://www.example.com/pipermail/%(list_name)s

Note that in msg and digest headers and footers, %(list_name)s and
%(_internal_name)s are equivalent, but %(_internal_name)s is a
deprecated usage (even though it is still in the default footer).

Note also that in the above, www.example.com could be replaced with
%(host_name)s, but only if the list's web and email hosts are the same
as %(host_name)s is the list's email host.

--

-- 
(Continue reading)

Mark Sapiro | 5 Mar 2012 21:32
Favicon

Re: Mailman + postfix delivery slow

Jesús Rivas wrote:
>
>so i put ubuntu with mailman and postifx.
>
>everything works fine, except the delivery is slow, about 20 per
>minute,  someone help me please

See the FAQ at <http://wiki.list.org/x/rIA9>.

--

-- 
Mark Sapiro <mark <at> msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list Mailman-Users <at> 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/gmmu-mailman-users%40m.gmane.org

Ralf Hildebrandt | 7 Mar 2012 13:05
Picon
Favicon

bin/genaliases excessively slow?

# time ./genaliases 

real 2m39.183s
user 0m55.771s
sys  1m16.041s

# ./list_lists |wc -l
906

Is that "normal" or are my expectations exaggerated :) ?

--

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebrandt <at> charite.de        Campus Benjamin Franklin
http://www.charite.de              Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155
------------------------------------------------------
Mailman-Users mailing list Mailman-Users <at> 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/gmmu-mailman-users%40m.gmane.org
Mark Sapiro | 7 Mar 2012 15:33
Favicon

Re: bin/genaliases excessively slow?

On 3/7/2012 4:05 AM, Ralf Hildebrandt wrote:
> # time ./genaliases
> 
> real 2m39.183s user 0m55.771s sys  1m16.041s
> 
> # ./list_lists |wc -l 906
> 
> Is that "normal" or are my expectations exaggerated :) ?

See <https://bugs.launchpad.net/mailman/+bug/266408>.

--

-- 
Mark Sapiro <mark <at> msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list Mailman-Users <at> 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/gmmu-mailman-users%40m.gmane.org

Ralf Hildebrandt | 7 Mar 2012 15:54
Picon
Favicon

Re: bin/genaliases excessively slow?

* Mark Sapiro <mark <at> msapiro.net>:
> On 3/7/2012 4:05 AM, Ralf Hildebrandt wrote:
> > # time ./genaliases
> > 
> > real 2m39.183s user 0m55.771s sys  1m16.041s
> > 
> > # ./list_lists |wc -l 906
> > 
> > Is that "normal" or are my expectations exaggerated :) ?
> 
> 
> See <https://bugs.launchpad.net/mailman/+bug/266408>.

Yes, that's the one. Works like a charm :)

--

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebrandt <at> charite.de        Campus Benjamin Franklin
http://www.charite.de              Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155
------------------------------------------------------
Mailman-Users mailing list Mailman-Users <at> 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/gmmu-mailman-users%40m.gmane.org

Gmane