Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-14-2008, 03:48 PM   #1
LQ Newbie
Registered: Mar 2006
Location: North Carolina
Distribution: Open Suse
Posts: 17

Rep: Reputation: 0
Postfix w/ spamassassin is sending extra copies of email


I'm running postfix+dovecot -> with virtual users pulled from an SQL database on my mail server. All was working 95% correctly (there are always those little things that annoy you) anyway, I've had this system up and working this way for several months. I recently added Spamassassin to the system. I got everything working correctly, and mail continued to flow both in and out of the system. Spam was starting to be identified. The problem came in that when a user sent mail out or when mail was sent to an account on this server the sending party would receive a duplicate copy of the e-mail they just sent.

Anybody ever seen this before, and any suggestions on how to correct the problem?

*** file from postfix *****
smtp inet n - n - - smtpd
-o content_filter=spamassassin

unix - n n - - pipe
flags=R user=spamuser argv=/usr/bin/spamc -e /usr/sbin/sendmail -io
-f $(sender) $(recipient)

**** from spamassassin ******

# Add your own customisations to this file. See 'man Mail::SpamAssassin::Conf'
# for details of what can be tweaked.

# do not change the subject
# to change the subject, e.g. use
# rewrite_header Subject ****SPAM(_SCORE_)****
rewrite_header subject **** Suspected SPAM ****

# Set the score required before a mail is considered spam.
required_score 4.00

# uncomment, if you do not want spamassassin to create a new message
# in case of detecting spam
report_safe 0
dns_available yes



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
Blacklist Email Sending on Postfix carlosinfl Linux - Server 1 04-15-2010 04:14 PM
spamassassin not sending to procmail ryedunn Linux - Software 4 06-13-2007 10:45 PM
Why is PostFix sending mail using the email address of the smtp account? taigon Linux - Server 34 02-09-2007 01:09 AM
LXer: Book review: Setup and Run a Small Office Email Server Using Postfix, Courier, Procmail, Squirrelmail, Clamav and Spamassassin LXer Syndicated Linux News 0 08-24-2006 09:21 AM
postfix: Relay copies of the same mail jignesh.vasani Linux - Software 1 05-15-2006 03:35 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:45 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
Open Source Consulting | Domain Registration