Ok, I stand corrected.  Mail is working fine!  

My problem is issuing the genaliases command.  If it only works for root
when SELinux is off it should work for the user mailman.  I have also
added  the hash:/usr/local/mailman/data/aliases to my alias_maps in
/etc/postfix/main.cf

Jewel 

----- Original Message -----
From: [EMAIL PROTECTED]
Date: Friday, November 14, 2008 4:48 pm
Subject: Re: [Mailman-Users] "create a new list" web interface
To: Mark Sapiro <[EMAIL PROTECTED]>
Cc: Mail List - Mailman <mailman-users@python.org>

> My maillog shows:
> 
> Nov 14 16:43:27 lists postfix/smtp[18085]: 60CE58C0013:
> to=<[EMAIL PROTECTED]>,
> relay=relay.washburnlaw.edu[198.252.9.211]:25, delay=0.18,
> delays=0.1/0.02/0.05/0.02, dsn=2.0.0, status=sent (250 Message 
> acceptedfor delivery)
> Nov 14 16:43:27 lists postfix/qmgr[1858]: 60CE58C0013: removed
> 
> When I run genaliases I recieve the following error:
> 
> postalias: fatal: open /usr/local/mailman/data/aliases.db: 
> Permission denied
> Traceback (most recent call last):
>  File "./genaliases", line 116, in ?
>    main()
>  File "./genaliases", line 106, in main
>    MTA.create(mlist, nolock=True, quiet=quiet)
>  File "/usr/local/mailman/Mailman/MTA/Postfix.py", line 232, in 
> create    _update_maps()
>  File "/usr/local/mailman/Mailman/MTA/Postfix.py", line 53, in 
> _update_maps    raise RuntimeError, msg % (acmd, status, errstr)
> RuntimeError: command failed: /usr/sbin/postalias
> /usr/local/mailman/data/aliases (status: 1, Operation not permitted)
> 
> When I disable my SELinux security I am able to run the genaliases
> command successfully but only as root. I only create a few lists a 
> yearso getting this feature is not a high priority but would be 
> nice.  I
> also must admit I don't know what you mean by "Postfix virtual domain"
> 
> Thanks,
> 
> 
> ----- Original Message -----
> From: Mark Sapiro <[EMAIL PROTECTED]>
> Date: Friday, November 14, 2008 4:34 pm
> Subject: Re: [Mailman-Users] "create a new list" web interface
> To: [EMAIL PROTECTED]
> Cc: Mail List - Mailman <mailman-users@python.org>
> 
> > [EMAIL PROTECTED] wrote:
> > 
> > >When I add: MTA='Postfix' to my mm_cfg.py file mail stops getting
> > >delivered.  I don't see anything suspicous in my logs to help.  I
> > >checked to confirm that the OutgoingRunner hasn't died.  Postfix 
> > appears>to still be livering based on it's logs saying 'sent'.  
> > Anyone else had
> > >this issue?
> > 
> > 
> > What does the postfix log actually say? Does it say "status=sent
> > (delivered to command: /usr/local/mailman/mail/mailman post 
> LISTNAME)"> or does it say "status=sent (delivered to mailbox)" or 
> something else?
> > 
> > After adding MTA = 'Postfix' to mm_cfg.py, you have to run Mailman's
> > bin/genaliases to build the data/aliases and data/aliases.db files.
> > 
> > You also need to add hash:/usr/local/mailman/data/aliases to the
> > alias_maps list in Postfix's main.cf.
> > 
> > Then you need to remove any mailman aliases from /etc/aliases or
> > whereever they were before if not 
> /usr/local/mailman/data/aliases, and
> > run 'postalias /etc/aliases' (or wherever to update the 
> corresponding> .db file.
> > 
> > The above assumes that Mailman's email domain is not a Postfix 
> virtual> domain. If it is, there's more that needs to be done.
> > 
> > Then depending on how you configured mailman, you might run into 
> group> mismatch errors on mail delivery. See the FAQ at
> > <http://wiki.list.org/x/tYA9>.
> > 
> > -- 
> > Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
> > San Francisco Bay Area, California    better 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
> Searchable Archives: http://www.mail-archive.com/mailman-
> users%40python.org/Unsubscribe: 
>
http://mail.python.org/mailman/options/mailman-users/jewel.brueggeman-makda%40washburn.edu
> 
> Security Policy: http://wiki.list.org/x/QIA9
> 
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9

Reply via email to