Anyone have any thoughts on how to get procmail to run in stand-alone mode
w/ a cron maybe?

Cheers,

*********************************
Jake Covert
Infrastructure Analyst
Electronic Data Systems
PSIC Support Group
(586) 986-9698  Work
(586) 518-3859  Pager
http://www.eds.com
*********************************


-----Original Message-----
From: Covert, Jake 
Sent: Friday, February 21, 2003 4:06 PM
To: '[EMAIL PROTECTED]'
Subject: Problem w/ procmail and sendmail


I'm have a little difficulty configuring sendmail and procmail to deliver
email into otrs.

I have a different machine acting as NIS master that is setup to receive all
my mail(MTA=sendmail).  it puts the mail in an NFS auto-mounted folder:

/var/spool/mail/otrs
or
/var/mail/otrs (really just linked to above)

The user otrs is an NIS id at this point.

so sitting on my request box (linux 8), I can see my mail spool and when I
send an email to [EMAIL PROTECTED], it puts mail into the mail file fine.

I know that PostMaster.pl is working fine as well.  If I pipe a test.box
email into it, it will generate a ticket.  (will recreate follow up tickets
as well, if ticket number is referenced).

I have a .procmailrc file in my home directory.  Below is what I think is
it's main config part:
==========================================
#SYS_HOME=/opt/otrs/
#SYS_HOME=$HOME
SYS_HOME=/opt/otrs/

SHELL=/bin/sh
PATH=/bin:/usr/bin:/usr/local/bin
MONTHFOLDER=`date +%Y-%m`
YEARFOLDER=`date +%Y`
MAILDIR=/var/mail/otrs
LOGFILE=$SYS_HOME/var/log/procmail-$MONTHFOLDER.log
VERBOSE=on
==========================================

Here's what I think might be the problem.  Sendmail (on my NIS master)
receives the email, finds the user, and puts the mail into the right spool
file.

Now the NIS master that has sendmail running on it, is an Sun Solaris box
that I'm pretty sure doesn't have procmail running on it, so it might not be
able to understand any .procmailrc config files.

(by the way, the home directory of the otrs user is an auto-mount as well.
(/opt/otrs locally and /home/otrs to all the other machines.  I just have
/opt/otrs exported out in /etc/exports and have it mapped in the
nis-auto_homes map))

How can I get procmail to run on my otrs system independent of the box that
is doing sendmail?



Any help would be much appreciated.

Jake Covert
---------------------------
[EMAIL PROTECTED]
www.jakecovert.com
---------------------------
_______________________________________________
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

Reply via email to