procmail
[Top] [All Lists]

Procmail and Lsoft Listserv

2001-10-18 00:28:24
Setup:
Sun E250, Solaris 8, Sendmail 8.12.1, Procmail 3.22, Listserv 1.8d Listserv 
list set up in /etc/aliases as follows:
foo-list:         "|/usr/local/bin/lsv_amin -t foo-list"

Problem:
Set up procmail as an intermediary between sendmail and listserv through the 
use of /etc/aliases. I have tried using the following in /etc/aliases
foo-list:         "|IFS=' '&&exec /usr/local/bin/procmail -t 
/usr/local/listserv/.procmailrc||exit 75 #foo-list"
Currently it appears to send, but nothing is written to the procmail log, and 
listserv never sees the message. Furthermore, the clone that appears to be 
created never gets sent to the address mentioned. All other mail is working 
fine. Any help would be greatly appreciated.

Supporting Documentation:
###################################################
/usr/local/listserv/.procmailrc file:
###################################################
VERBOSE=yes
SHELL=/usr/local/bin/bash
MAILDIR=/usr/local/listserv/Mail
PMDIR=/usr/local/listserv/.procmail
LOGFILE=$PMDIR/log
LINEBUF=16234
COMSAT=no
INCLUDERC=/usr/local/listserv/.procmail/rc.listserv
###################################################
rc.listserv file:
###################################################
:0:
| /usr/local/bin/lsv_amin -t foo-list 
:0 B: * unsubscribe solaris-test.*
| /usr/lib/sendmail listserv(_at_)lists(_dot_)domain(_dot_)com 
:0 B: * is on vacation
| /usr/lib/sendmail jluros(_at_)lists(_dot_)domain(_dot_)com
###################################################

Output from the queue run:
###################################################
Running /data/mqueue/f9H5dpmA016399 (sequence 7 of 7)
<foo-list(_at_)lists(_dot_)domain(_dot_)com>... aliased to "|IFS=' '&&exec 
/usr/local/bin/procmail /usr/local/listserv/.procmailrc||exit 75 #foo-list"
"|IFS=' '&&exec /usr/local/bin/procmail /usr/local/listserv/.procmailrc||exit 
75 #foo-list"... Connecting to prog...
"|IFS=' '&&exec /usr/local/bin/procmail /usr/local/listserv/.procmailrc||exit 
75 #foo-list"... Sent
Oct 16 22:39:57 lists sendmail[16407]: [ID 801593 mail.info] f9H5dpmA016399: 
f9H5dswO016407: clone: owner=owner-foo-list
Oct 16 22:39:58 lists sendmail[16407]: [ID 801593 mail.info] f9H5dswO016407: 
to="|IFS=' '&&exec /usr/local/bin/procmail 
/usr/local/listserv/.procmailrc||exit 75 #foo-list", 
ctladdr=<foo-list(_at_)lists(_dot_)domain(_dot_)com> (1/0), delay=00:00:07, 
xdelay=00:00:01, mailer=prog, pri=121474, dsn=2.0.0, stat=Sent
Oct 16 22:39:58 lists sendmail[16407]: [ID 801593 mail.info] f9H5dswO016407: 
to="|IFS=' '&&exec /usr/local/bin/procmail
/usr/local/listserv/.procmailrc||exit 75 #foo-list", 
ctladdr=<foo-list(_at_)lists(_dot_)domain(_dot_)com> (1/0), delay=00:00:07, 
xdelay=00:00:01, mailer=prog, pri=121474, dsn=2.0.0, stat=Sent
###################################################

Thanks Again!
Jason Luros
PS If it's not Lsoft, it's not LISTSERV.

<Prev in Thread] Current Thread [Next in Thread>