
I hate to be such a newb, but mail configuration is new to me. I think
what your saying I should do is to copy /opt/otrs/.procmailrc.dist to
/etc/.procmailrc
I found that the path to PostMaster.pl is ./opt/otrs/bin/PostMaster.pl
And my the contents of /opt/otrs/.procmailrc.dist are as follows:
| formail -I "X-OTRS-ArticleKey1: Test" | formail -I
"X-OTRS-ArticleValue1: True!"
# --
# Example for assigning the "email domain as customer ID" automaticaly.
# --
#:0hc
#CUSTOMERID=|formail -X "From:"|perl -e '$i=<STDIN>; $i=~s/^From:
//;$i=~s/\(.*?\)//;$i=~s/<(.*?)>/$1/;$i=~s/ //g;$i=~s/.*@(.*)/$1/;print $i'
#
#:0 fhw :
#| formail -I "X-OTRS-CustomerNo: $CUSTOMERID"
# --
# Backup of all incoming emails.
# It's always better to have a backup of all incoming emails!
# --
:0 c :
$SYS_HOME/var/INBOX.Backup.$MONTHFOLDER
# --
# Pipe all email into the PostMaster process.
# --
:0 :
| $SYS_HOME/bin/PostMaster.pl
# --
# spool all the rest (which the PostMaster.pl can't process!)
# If the database is down or the PostMaster.pl exit was not '0'!
# --
:0 :
$SYS_HOME/var/spool/.
# --
# end of .procmailrc
# --
So I'm guessing that after copying .procmailrc.dist to /etc/.procmailrc
I need to edit ./procmailrc replacing $SYSHOME with the appropriate path
values. Or am I way off base here?
Thanks,
-Joel
----- Original Message -----
From: Jeff Baughn
You need to copy /opt/otrs/.procmailrc.dist to .procmailrc and make sure the procmail filters are set up to pipe your mail through the PostMaster.pl script.
Good luck!
-Jeff
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/

Hi Joel, On Thu, Aug 11, 2005 at 02:10:53PM -0600, berg@san.rr.com wrote:
I hate to be such a newb, but mail configuration is new to me. I think what your saying I should do is to copy /opt/otrs/.procmailrc.dist to /etc/.procmailrc
No. If you are fetching the mail into the mailbox of the OTRS user, the .procmailrc of the OTRS user is parsed and processed. Copying the .procmailrc into /etc would make the procmailrules global and all mails that your system recives will be forwarded to OTRS. Just rename the file to .procmailrc and make sure, that fetchmail is executed by the OTRS user or that a globaly running fetchmail delivers the mails to the OTRS user. Best regards, Christian -- ((otrs)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
participants (2)
-
berg@san.rr.com
-
Christian Schoepplein