[Mailman-Users] Mailman, exim, & cron setup

Dean Arpajian arpajian at syr.edu
Thu Aug 16 21:50:21 CEST 2001


(sorry about the wrong subject line in previous post)

Hello...
have two (hopefully) small problems with an install

exim panic log gives me:

2001-08-16 13:18:33 15XQmv-0000Xn-00 Neither the system_aliases
director nor the address_pipe transport set a uid for local delivery
of |/var/lib/mailman/mail/wrapper mailcmd jokesters

these lines are included in my /etc/aliases file:

mailman: postmaster
mailman-owner: mailman
mailman-request: mailman
mailman-admin: mailman

## jokesters mailing list
## created: 16-Aug-2001 mailman
jokesters:               "|/var/lib/mailman/mail/wrapper post jokesters"
jokesters-admin:         "|/var/lib/mailman/mail/wrapper mailowner jokesters"
jokesters-request:       "|/var/lib/mailman/mail/wrapper mailcmd jokesters"
owner-jokesters:         jokesters-admin
jokesters-owner:         jokesters-admin

and in exim.conf has these:

######################################################################
#                    MAIN CONFIGURATION SETTINGS                     #
######################################################################

# home dir for mailman
MAILMAN_HOME=/usr/lib/mailman
# wrapper script for mailman
MAILMAN_WRAP=MAILMAN_HOME/mail/wrapper
# user and group for mailman
MAILMAN_UID=mailman
MAILMAN_GID=mailman


then in the transports section:

# Transports section
#
# Three transports for list mail, request mail and admin mail
# respectively
# Mailman is installed in MAILMAN_HOME
# Mailman is configured to be invoked as user mailman
list_transport:
           driver = pipe
           command = MAILMAN_WRAP post ${lc:$local_part}
           current_directory = MAILMAN_HOME
           home_directory = MAILMAN_HOME
           user = MAILMAN_UID
           group = MAILMAN_GID

list_request_transport:
           driver = pipe
           command = MAILMAN_WRAP mailcmd ${lc:$local_part}
           current_directory = MAILMAN_HOME
           home_directory = MAILMAN_HOME
           user = MAILMAN_UID
           group = MAILMAN_GID

list_admin_transport:
           driver = pipe
           command = MAILMAN_WRAP mailowner ${lc:$local_part}
           current_directory = MAILMAN_HOME
           home_directory = MAILMAN_HOME
           user = MAILMAN_UID
           group = MAILMAN_GID

# end of transports section fragment

then directly after the system_aliases in directors:

list_owner_director:
   driver = smartuser
   require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.db
   suffix = "-owner"
   new_address = "${lc:$local_part}-admin@${domain}"

owner_list_director:
   driver = smartuser
   require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.db
   prefix = "owner-"
   new_address = "${lc:$local_part}-admin@${domain}"

list_admin_director:
   driver = smartuser
   suffix = -admin
   require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.db
   transport = list_admin_transport

list_request_director:
   driver = smartuser
   suffix = -request
   require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.db
   transport = list_request_transport

list_director:
   driver = smartuser
   require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.db
   transport = list_transport

# End of directors fragment

So any hints as to what I am doing wrong?

Also I get the following cron nasties (first one happens during a cgi submit, second one is periodic):

Traceback (innermost last):
  File "/var/lib/mailman/cron/run_queue", line 46, in ?
    main()
  File "/var/lib/mailman/cron/run_queue", line 39, in main
    lockfile.lock()
  File "/usr/lib/mailman/Mailman/LockFile.py", line 186, in lock
    os.link(self.__lockfile, self.__tmpfname)
OSError: [Errno 13] Permission denied

Traceback (innermost last):
  File "/var/lib/mailman/cron/gate_news", line 119, in ?
    main()
  File "/var/lib/mailman/cron/gate_news", line 58, in main
    mlist = MailList.MailList(name, lock=0)
  File "/usr/lib/mailman/Mailman/MailList.py", line 62, in __init__
    self.Load()
  File "/usr/lib/mailman/Mailman/MailList.py", line 810, in Load
    raise Errors.MMBadListError, 'Failed to access config info'
MMBadListError: Failed to access config info


Any (hopefully verbose) help would be appreciated...

tia,

-dean






More information about the Mailman-Users mailing list