proposed addition to Roundup README.Debian (was Re: [Pkg-exim4-users] Re: pipe aliases and permissions)

Marc Haber mh+pkg-exim4-users at zugschlus.de
Sun Dec 11 15:25:56 UTC 2005


On Sat, Dec 10, 2005 at 08:09:49PM -0500, Faheem Mitha wrote:
> Note I've made a few minor modifications. In particular, I've removed 
> current_directory and home_directory since they don't do anything and Exim 
> does not like them unset.

I'd set them to some roundup-related directory just in case that the
script or a program called from there dumps core.

> *******************************************************************
> As a mail alias pipe process
> 
> Set up a mail alias called "issue_tracker" as (include the quote marks): 
> "|/usr/bin/python /usr/local/bin/roundup-mailgw <tracker_home>"
> *******************************************************************
> 
> However, this does not work out the box on Debian, using Debian Exim4. 

This suggests that Debian's exim packages are flawed. Your upstream
author is not going to like this.

I'd suggest something like "However, the Debian Exim4 packages don't
allow pipes in alias files by default, and the maintainers have a
point in suggesting a different way to accomplish delivery to
roundup-mailgw".

> This configuration is largely due to Marc Haber, the Debian Exim
> maintainer, and has been lightly edited by me.

Actually Debian Exim4 is maintained by a Team, and I am only a member.

> NB. The roundup_router needs to come before system_aliases, otherwise Exim 
> will complain that ' pipe_transport unset in system_aliases router', and 
> defer the message.

That will only happen if the alias is still in place, which is not
necessary any more. If you remove the alias, the system_aliases router
will decline and anything will be fine.

> ************************************************************************
> /etc/exim4/conf.d/main/000_localmacros
> ************************************************************************
> # Home dir for your Roundup installation
> ROUNDUP_HOME=/var/lib/roundup/trackers
> 
> # User and group for Roundup.
> ROUNDUP_USER=roundup
> ROUNDUP_GROUP=roundup

I'd call that 010_roundup_macros

> ************************************************************************
> /etc/exim4/conf.d/router/050_exim4-config_roundup
> ************************************************************************

I'd call that 050_roundup (exim4-config is the custom for a file
belonging to the exim4-config package, which your file isn't)

> roundup_router:
>   driver = accept
>   # The config file config.ini seems like a more natural choice, but the
>   # file config.py was replaced by config.ini in 0.8, and schema.py needs
>   # to be present too.
>   require_files = /usr/bin/roundup-mailgw:ROUNDUP_HOME/$local_part/schema.py
>   transport = roundup_transport
> ************************************************************************
> /etc/exim4/conf.d/transport/050_exim4-config_roundup
> ************************************************************************

Same thing here.

> roundup_transport:
>   driver = pipe
>   command = /usr/bin/python /usr/bin/roundup-mailgw 
>   ROUNDUP_HOME/$local_part/
>   user = ROUNDUP_USER
>   group = ROUNDUP_GROUP
> ************************************************************************
> 
> If you have followup questions, I suggest you talk to (in addition to 
> myself), the people on pkg-exim4-users at lists.alioth.debian.org, who 
> certainly know much more about all this stuff than I do.
> 
> Thanks.                                                          Faheem.
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

The list is only open to subscribers, so a link to the subscribe web
page would be a good idea.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



More information about the Pkg-exim4-users mailing list