Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-10-2003, 03:18 PM   #1
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
| /usr/bin/spamassassin -P -p /www/hosts/ -C ./.spamassassin/


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

| /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!


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

All times are GMT -5. The time now is 02:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration