LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-10-2003, 02:18 PM   #1
rovertus
LQ Newbie
 
Registered: Jul 2003
Distribution: redhat 9.0
Posts: 3

Rep: Reputation: 0
procmail piping to vdelivermail


I'm not quite sure what's happening here I've seen a lot of posts doing the same thing as me, but I'm having no luck! But what I need is to have this thing pipe through spamassassin and then come back w/ a valid Deliver-to: address. I tried:

|preline| procmail -t ./postmaster/.procmailrc

but preline is adding a messed up Deliver to:
(looks like Deliver_to:$DOMAIN-$USER@$DOMAIN)
so I dropped the idea of preline, unless someone knows what's going on with that.
Anyways I would prefer to have procmail run and drop the stuff into vdelivermail so shouldn't this work..





.procmailrc file
------------------
:0fw
| /usr/bin/spamassassin -P -p /www/hosts/acolyte.net/html/user_prefs -C ./.spamassassin/

:0e
{
EXITCODE=$?
}

### DELIVER SPAM
:0
* ^X-Spam-Status: Yes
| /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/$DOMAIN/postmaster.spam

### DELIVER CLEAN
:0
*
| /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/$DOMAIN/postmaster

*----------------*

if I put folders in the place of the vdelivermail calls it works, but it just lags and does nothing if I put it in as above?

Thanks for the help guys!
 
  


Reply


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
Help with piping mijohnst Linux - General 7 10-21-2005 04:14 PM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM
Unzip + Piping iago Linux - Software 2 11-17-2004 02:11 PM
piping data tearinox Linux - Newbie 9 12-09-2003 01:43 PM
Piping Processes (a little different) mackie_lin Programming 4 12-27-2002 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:27 AM.

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