Jump to content

procmailrc piping


PhoenixKV

Recommended Posts

Hello,

 

We are using WHMCS on a server that unfortunately doesn't have a GUI to set up forwards to pipe e-mails into the support system.

 

We've been informed by our web host that we can create procmail recipes, however the one that we did create to test (we are using POP for the live ones at the moment - which I want to avoid) isn't filtering into the pipe, or if it is and is failing - its not being logged by procmail.

 

Currently our .procmailrc looks like (sanitized):

 

PATH=/usr/bin:/usr/local/bin                # Path Variables for the procmail session
MAILDIR=/var/spool/mail/[DOMAIN]        # Don't put 'www.' in front of your domain here
LOGFILE=$HOME/procmail.log                  # Keeps a log of email routing
VERBOSE=yes                                  # Verbose Error Reporting --values (no|off yes|on)
COMSAT=no                                   # set to no|off
# SENDMAIL=/usr/bin/sendmail                # sendmail location (comment in procmail only)

:0
* ^To.support3@[DOMAIN].com
| /home/[uSERNAME]/public_html/clients/pipe/pipe.php

 

The procmail.log file shows (sanitized):

 

procmail: Assigning "COMSAT=no"

procmail: Assigning "COMSAT=no"

procmail: No match on "^To.support3@[DOMAIN]"

procmail: Locking "/var/mail/[DOMAIN]/support3.lock"

procmail: Assigning "LASTFOLDER=/var/mail/[DOMAIN]/support3"

procmail: Opening "/var/mail/[DOMAIN]/support3"

procmail: Unlocking "/var/mail/[DOMAIN]/support3.lock"

From chris@[DOMAIN] Thu Aug 5 06:05:21 2010

 

Any assistance on this would be greatly appreciated ... Google searches haven't turned up anything that isn't 500 pages long and easy for a procmail newb.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated