Visit Jeremy's Blog.
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 11-03-2006, 01:26 AM   #1
Registered: Oct 2006
Posts: 75

Rep: Reputation: 15
Question Auto reply with postfix and procmail . my setting dosnt's work.?

I'm using Postfix and Spamassassin.

I'm trying to make an auto-reply mail to mail sender when spamassassin mark the mail as spam mail

I've been searching for time. And I found that I have to do ths by creating a .procmailrc in user's home directory.

I"ve tried 2 actions
first I delete the spam mail by follow code and it works.(I found this code from internet)

*^X-Spam-Status: Yes

then, I try to use the following code for auto reply.(which I found in the same site)

*^X-Spam-Status: Yes
|( formail -rI"This is known as a junk mail"; \
echo "Your mail has been administratively rejected."; \
echo "It was NOT received." \
) | $SENDMAIL -oi -t

But the autoreply script dosent work..
Is the code wrong or I need to set something?
(I'm not sure is that code only work for sendmail but not postfix?)
Old 11-03-2006, 10:16 AM   #2
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,248
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Why would you want to autoreply to spam ? there are sevreal reasons NOT to do this.. And I really can't think of any GOOD resons to respond to it..

1. replying to a SPAM Message may verify your emai laddress to the Spammers so you start getting MORE SPAM

2. The From addressess on Most SPAM messages are invalid so replying to these messages will fill up your queue, The messages will sit in your mail queue until they finally time out and are dropped.

3. if you recieve 50,000 spam messages a day and reply to them all, you are doubling the load the SPAM puts on your mail server. Why would you want to double something that is bad to begin with ?

Do yourself a favor and mark or throw away spam, NEVER waste your time or computing resources responding to it.


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
Mail auto reply novis Linux - Software 2 05-08-2006 10:44 AM
procmail auto-reply for non-wanted attachment file types make Linux - Software 1 09-26-2005 03:52 AM
Vacation Auto reply elainepearl Linux - Software 0 07-17-2003 04:26 AM
Auto reply jayakrishnan Linux - General 1 03-28-2002 05:39 AM
Auto Out-Of-Office-Reply using Sendmail rjohnson Linux - Software 2 03-27-2002 05:02 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:55 PM.

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