Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-26-2004, 04:17 PM   #1
Registered: Mar 2004
Location: Tokyo, Japan
Distribution: Backtrack 5 R3
Posts: 145

Rep: Reputation: 15
Exim/spamassassin problems

I've posted this before, but I'm going to be specific this time (I've been told that helps! :-)

I'm running exim 3.x (can't tell which version) and I installed SpamAssassin 2.63. This machine is in our DMZ and it forwards mail to an Exchange server on our internal network.

I installed SA and the daemon runs fine and I tested it using spamc and that worked. When I tried to add it to exim.conf, exim stopped forwarding mail to and from Exchange (no mail to or from the company was delivered). When I copied the backup exim.conf file over the modified one, mail worked again.

This is what I added to my exim.conf file:

Under transports:
# SpamAssassin
driver = pipe

command = /usr/sbin/exim -oMr spam-scanned -bS
transport_filter = /usr/local/bin/spamc

bsmtp = all

home_directory = "/tmp"
current_directory = "/tmp"

# must use a privileged user to set $received_protocol
# in the second exim process!
user = mail
group = mail

return_path_add = false

log_output = true
return_fail_output = true

prefix =
suffix =

Under directors:

# SpamAssassin

# do not use this director when verifying a local-part at SMTP-time

# When to scan a message :
# - it isn't already flagged as spam
# - it isn't already scanned
# - it didn't originate locally (as long as I don't harbor spammers :-))
condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}} {!eq {$received_protocol}{local}} } {1}{0}}"
driver = smartuser
transport = spamcheck
Old 04-27-2004, 06:01 AM   #2
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
After looking at this, I have no idea what you're doing. I didn't have to do anything to my exim.conf in order to make this work. Also, I use exim 4 instead of 3. I just followed the instructions for sa-exim and it works fine.

Sorry :-\

Last edited by Technoslave; 05-06-2004 at 10:07 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spamassassin, Exim, delay problems jademan83 *BSD 0 05-16-2005 05:23 PM
Exim4/ sa-exim/Spamassassin - Flags as Spam but Still Accepts jonwatson Linux - Software 4 11-29-2004 07:18 PM
exim is failed !!! error:package exim is not installed apache Linux - Software 0 06-24-2004 06:55 AM
Building Exim 4.30 problems! astott Linux - Networking 0 02-17-2004 09:56 PM
exim problems ! help please ! Mr.Bingles Debian 1 12-01-2003 08:11 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration