I logged more detail and here is what I got.
procmail: [26213] Thu Dec 11 10:41:11 2003
procmail: Executing "/usr/sbin/sendmail,-oi,blackberry(_at_)forward(_dot_)com"
procmail: [26213] Thu Dec 11 10:41:12 2003
procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -oi
blackberry(_at_)forward(_dot_)com"
From Daniel Kaliel....
Subject: test
Folder: /usr/sbin/sendmail -oi blackberry(_at_)foward(_dot_)com
procmail: Error while writting to /var/spool/mail/_1ZG,1W2_.servername"
procmail: Couldn't create or rename temp file "/var/spool/mail/il -oi
blackberry(_at_)forward(_dot_)com
procmail: Assigning "LASTFOLDER=/var/spool/mail/USERNAME"
procmail: Opening "/var/spool/mail/USERNAME"
procmail: Aquiring kernel-lock
So it is definately trying to write a tmp file in the spool directory.
Right now the postfix is set to delievery emails to /var/spool/mail however,
I am thinking of changing that to /$HOME/mail/ and see if that helps.
When it was working before. The postfix main.cf stayed the same, except
that in master.cf I had:
smtp inet n - n - - smtpd
-o content_filter=spamassassin:
smtp unix - - n - - smtp
-o content_filter=spamassassin:
spamassassin unix - n n - - pipe
user=filter argv=/usr/local/bin/spamfilter.sh -f ${sender} -- ${recipient}
Then there is a file /usr/local/bin/spamfilter.sh containing:
#!/bin/bash
/usr/bin/spamassassin | /usr/sbin/sendmail -i "$@"
exit $?
I also had a .forward file that contained:
"|IFS='' && exec /usr/bin/procmail || exit 75 #username"
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail