From: p d. t. <pdo...@an...> - 2004-02-07 06:25:24
|
Kah, >>>Now we face another problem, setting up the maildroprc. it produces th= e >>>following error: >>> >>>I0 R bash: -c: line 1: unexpected EOF while looking for matching `'' >>>I0 R bash: -c: line 2: syntax error: unexpected end of file >>>I0 R maildrop: error writing to mailbox. >>>I0 R maildrop: Unable to deliver to mailbox. > > we solved the problems. > > In fact the error EOF error was caused by this line using different > quote marks in maildroprc: > > original: cc "| mailbot -t vacation.txt -A 'From: $LOGNAME' -A 'Subject= : > $SUBJECT' /usr/sbin/sendmail -f ''" > > modified to: cc '| mailbot -t vacation.txt -A "From: $LOGNAME" -A > "Subject: $SUBJECT" /usr/sbin/sendmail -f ""' Thanks for following up. That's pretty strange, but I suppose these things are just going to be finicky, little things different on each server. FWIW, I just found that a maildrop installation wanted yet another variation on the same line: cc "| mailbot -t vacation.txt -A 'From: $LOGNAME' -s '$SUBJECT' /usr/sbin/sendmail -t -f ''" Cheers, Paul |