I set up majordomo-1.93 on SunOS4.1.4.
I have a trouble on archiving mail.
concerning sets are as follows.
>>>>>>>>>>>>>>>>>>>>>
/etc/majordomo.cf
@archive_dirs = ( "/var/mail/archive/sample.archive" );
/etc/aliases
sample-outgoing: :include:/var/mail/lists/sample,\
"|/usr/local/lib/majordomo/wrapper archive2.pl\
-f /var/mail/archive/sample.archive/sample -a -d"
>>>>>>>>>>>>>>>>>>>>>
The conversion from /var/mail/archive/sample
to /var/mail/archive/sample.archive/sample.YYMMDD
works without error by following command.
>>>>>>>>>>>>>>>>>>>>
archive2.pl -f /var/mail/archive/sample.archive/sample\
-d -u /var/mail/archive/sample
>>>>>>>>>>>>>>>>>>>>
But i fail to make archive at the moment of delivering mail, as follows.
>>>>>>>>>>>>>>>>>>>>
----- The following addresses have delivery notifications -----
"|/usr/local/lib/majordomo/wrapper archive2.pl -f
/var/mail/archive/sample.archive/sample -a -d" (unrecoverable error)
(expanded from: sample-outgoing)
----- Transcript of session follows -----
Message delivered to mailing list sample-outgoing
Invalid archive directory. Aborting.
ABORT Invalid archive directory. Aborting.
554 "|/usr/local/lib/majordomo/wrapper archive2.pl -f
/var/mail/archive/sample.archive/sample -a -d"... unknown mailer error 2
Message delivered to mailing list sample-owner
>>>>>>>>>>>>>>>>>>>>
I am not wrong about permission of those directories and files.
Thanks in advance...
------
Koji Baba <baba@kddcom.co.jp>
|
|