Opened 12 years ago

Closed 12 years ago

#244 closed defect (fixed)

SpamFilter is disabled/undef, but external mails fail to get through

Reported by: birgit-nietsch@… Owned by: bas
Priority: major Milestone:
Component: email2trac Version: 2.0.2
Keywords: Cc:


I have set up and tested email2trac and came across this problem: Mails from inside our network are nicely being processed into tickets, but mails from external mail servers will bounce:

<>: Command died with status 1:
    "/usr/local/bin/run_email2trac --project=example --ticket_prefix=XXX". Command
    output: -Metadata-Version: 1.0 -Name: TracSpamFilter -Version: 0.4.6
    -Summary: Plugin for spam filtering -Home-page: -Author: Edgewall Software
    -Author-email: -License: BSD -Download-URL: -Description: UNKNOWN -Keywords:
    trac plugin -Platform: UNKNOWN -Classifier: Framework :: Trac -Classifier:
    License :: OSI Approved :: BSD License saving email to
    /tmp/tmpO0gAmo.email2trac writing body to /tmp/tmpnNgKeZ.email2trac

This always happens, no matter what I do with any spam filter options. Even if any spam filters are switched off/undefined, external mails will still be bounced.

Here is my email2trac.conf:

parentdir: /srv/trac/projects
debug: 0
umask: 022
disabled_spam_level: 5
disabled_spam_header: X-Spam-Score
reply_all : 0
mailto_link: 0
umask: 022
email_header: 0
trac_version: 0.12.2
enable_syslog : 1
alternate_notify_template :
alternate_notify_template_update :
disabled_drop_spam : 0
verbatim_format: 1
strip_signature: 0
email_quote: >
strip_quotes: 0
ignore_trac_user_settings: 0
disabled_black_list: MAILER-DAEMON@
drop_alternative_html_version: 1
ticket_permission_system: trac
html2text_cmd: /usr/bin/links -dump

project: /srv/trac/projects/example
ticket_permission_system: update_restricted_to_participants
disabled_drop_spam : 0
disabled_spam_level: 5

I'm using trac 0.12.2 on OpenSUSE 11.4 and I've built email2trac with: ./configure --sysconfdir=/etc --with-trac_user=wwwrun --enable-python --with-mta-user=nobody

Attachments (0)

Change History (3)

comment:1 Changed 12 years ago by Birgit Nietsch <birgit-nietsch@…>

OK, after uninstalling and rebooting, I now keep getting bounces like this when sending mails from an external server:

<>: Command died with status 1:
    "/usr/local/bin/run_email2trac --project=example --ticket_prefix=XXX". Command
    output: saving email to /tmp/tmp4XOw8j.email2trac writing body to

Mails from inside our domain are happily accepted and turned into tickets, regardless from the owner being a trac user or not.

comment:2 Changed 12 years ago by Birgit Nietsch <birgit-nietsch@…>

Well. It now works. With

  • ticket_permission_system: none.

Either I misunderstood your documentation, or your documentation differs slightly from the behaviour of your software.

comment:3 Changed 12 years ago by bas

  • Resolution set to fixed
  • Status changed from new to closed

I will close this ticket

Add Comment

Modify Ticket

Change Properties
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.