Modify ↓
Opened 16 years ago
Closed 16 years ago
#19 closed defect (fixed)
mysterious problem
Reported by: | "James Switzer" <greatflamingfoo@…> | Owned by: | bas |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | email2trac | Version: | 0.9.5 |
Keywords: | Cc: | quinn@… |
Description
for some reason the run_email2trac wrapper is failing. the email2trac script works with the same input if run as root. $run_email2trac --project=dummy < dummy.eml returns 254 -------- /etc/email2trac.conf ----------- [dummy] project: /home/scdev/trac/projects/dummy debug: 1 umask: 022 spam_level: 3 reply_all: 1 mailto_link: 0 umask: 022 email_comment: > email_header: 0 trac_version: 0.10 enable_syslog: 1 alternate_notify_template: drop_spam: 0 verbatim_format: 1 strip_signature: 0
Attachments (0)
Change History (8)
comment:1 Changed 16 years ago by James Switzer
- id set to 19
comment:2 Changed 16 years ago by bas
- Status changed from new to assigned
James,
Which MTA do you use? It must be a permission problem. So how did you configure email2trac:
trac_user and mta_user.
Regards
comment:3 Changed 16 years ago by James Switzer
I'm sorry, I'm fairly new to trac. I've searched the email2trac and trac docs and can't find any references to trac_user or mta_user. as far as the mta goes, we are using qmail. The relevant alias was: dummy@strangecode.com -> '|/usr/bin/run_email2trac --project=dummy' as a work around the alias was changed to: dummy@strangecode.com -> '|sudo -u apache /usr/bin/email2trac --project=dummy' which seems to work. jamess On 8/7/07, email2trac <email2trac@sara.nl> wrote: > #19: mysterious problem > --------------------------------------------------------+----------- -------- > Reporter: "James Switzer" <greatflamingfoo@gmail.com> | Owner: bas > Type: defect | Status: assigned > Priority: major | Component: email2trac > Version: 0.9.5 | Resolution: > Keywords: | > --------------------------------------------------------+----------- -------- > Changes (by bas): > > * status: new => assigned > > Comment: > > James, > > Which MTA do you use? It must be a permission problem. So how did you > configure email2trac: > trac_user and mta_user. > > > Regards > > -- > Ticket URL: <https://subtrac.sara.nl/oss/email2trac/ticket/19#comment:2> > email2trac <https://subtrac.sara.nl/oss/email2trac> > Documentation server for email2trac
comment:4 Changed 16 years ago by bas
Did you read the email2trac docs. mta_user is the userid of qmail and trac_user is the userid of apache. You have to specify it with the configure script of email2trac. Then run_email2trac will switch from the qmail userid to the apache userid.
comment:5 Changed 16 years ago by James Switzer
Is this the URL for the current docs? https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracConfiguration because I don't see those options anywhere on that page.
comment:6 Changed 16 years ago by Bas van der Vlies
> {{{ > > Is this the URL for the current docs? > https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracConfiguration > because I don't see those options anywhere on that page. > }}} > I think you have to start with the installation manual :-): * https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracInstallation
comment:7 Changed 16 years ago by jamess
Ah, that looks like it might be the problem. We used the RPM build method so I didn't read the rest of it very carefully. Thanks.
comment:8 Changed 16 years ago by bas
- Resolution set to fixed
- Status changed from assigned to closed
Close this ticket
Note: See
TracTickets for help on using
tickets.
This message has 0 attachment(s)