[sork] Problem with sork and smrsh

Craig Richardson crichard@maccs.mq.edu.au
Sun, 01 Sep 2002 16:48:09 +1000


Hi There,

I have recently installed vacation 2.0, IMP3.1 and Horde 2.1 on a production
machine after having successfully tested this setup on a test machine.

The test machine worked great, no problems, everything worked first time.

The production machine however is a different matter.

If you set the vacation .forward with the sork module you get this response
in the mailer logs.

Sep  1 14:18:26 currawong2 sendmail[31291]: g814IQL31290: g814IQL31291: DSN:
/home/tester/.forward: line 1: "|/usr/bin/vacation tester"... Address
<tester@maccs.mq.edu.au> is unsafe for mailing to programs

However I do have the appropriate sym link set in my /etc/smrsh directory
because when I set the vacation .forward with the vacation program (ie not
with sork) it works fine.

[tester@currawong2 tester]$ diff .forward.vacation .forward.sork
1c1
< \tester, "|/usr/bin/vacation tester"
---
> \tester, "|/usr/bin/vacation tester"
\ No newline at end of file

As you can see both sork and vacation appear to generate the exact same
.forward file, however I have noticed sork generates more .vacation.* files.

Does anyone have any idea what might be causing this?  I'm especially
confused by this because vacation messages are working when you donšt use
sork to set them?

- here are the configs for both test and production machines
Red Hat 7.3
apache 1.3.23-14
php 4.1.2-7.3.4
vacation-1.2.6-1 (red hat)
Horde 2.1
IMP 3.1
Vacation 2.0 (sork)

And here is the full output from the server logs for each mail transaction.

- Successfull vacation message (.forward set manually with "vacation").

Sep  1 14:12:40 currawong2 sendmail[31203]: g814CeL31203:
from=<crichard@maccs.mq.edu.au>, size=525, class=0, nrcpts=1,
msgid=<B997D0D8.CB1%crichard@maccs.mq.edu.au>, proto=ESMTP, daemon=MTA,
relay=c5a194m.maccs.mq.edu.au [137.111.48.194]

Sep  1 14:12:40 currawong2 sendmail[31206]: g814Ce931206: from=tester,
size=233, class=0, nrcpts=1,
msgid=<200209010412.g814Ce931206@currawong2.psy.mq.edu.au>,
relay=3Dtester@localhost

Sep  1 14:12:40 currawong2 sendmail[31204]: g814CeL31203:
to="|/usr/bin/vacation tester", ctladdr=<tester@maccs.mq.edu.au> (592/599),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=60198, dsn=2.0.0,
stat=Sent

Sep  1 14:12:40 currawong2 sendmail[31204]: g814CeL31203: to=\tester,
ctladdr=<crichard@maccs.mq.edu.au> (535/535), delay=00:00:00,
xdelay=00:00:00, mailer=local, pri=60198, dsn=2.0.0, stat=Sent

Sep  1 14:12:40 currawong2 sendmail[31209]: g814Ce931206:
to=3Dcrichard@maccs.mq.edu.au, ctladdr=tester (592/599), delay=00:00:00,
xdelay=00:00:00, mailer=local, pri=30233, dsn=2.0.0, stat=Sent
 

- Unsuccessfull vacation message (.forward set with sork/vacation)

Sep  1 14:18:26 currawong2 sendmail[31290]: g814IQL31290:
from=<crichard@maccs.mq.edu.au>, size=519, class=0, nrcpts=1,
msgid=<B997D233.CB5%crichard@maccs.mq.edu.au>, proto=ESMTP, daemon=MTA,
relay=c5a194m.maccs.mq.edu.au [137.111.48.194]

Sep  1 14:18:26 currawong2 sendmail[31291]: g814IQL31290: to=\tester,
ctladdr=<crichard@maccs.mq.edu.au> (535/535), delay=00:00:00,
xdelay=00:00:00, mailer=local, pri=30198, dsn=2.0.0, stat=Sent

Sep  1 14:18:26 currawong2 sendmail[31291]: g814IQL31290: g814IQL31291: DSN:
/home/tester/.forward: line 1: "|/usr/bin/vacation tester"... Address
<tester@maccs.mq.edu.au> is unsafe for mailing to programs

Sep  1 14:18:26 currawong2 sendmail[31291]: g814IQL31291:
to=<crichard@maccs.mq.edu.au>, delay=00:00:00, xdelay=00:00:00,
mailer=local, pri=30298, dsn=2.0.0, stat=Sent


--
Craig Richardson, BSc
Systems Administrator
Macquarie Centre for Cognitive Science
Email : crichard@maccs.mq.edu.au
Phone: +61 2 9850 6730
Fax : +61 2 9850 6059
Office : C5A409