Here is my problem:
I created the file
/home/bdt/.procmailrc as:
PATH=/bin:/usr/bin:/sbin:/usr/sbin
VERBOSE=yes
SHELL=/bin/sh
MAILDIR=/home/bdt
:0c
! jerome(_at_)killine(_dot_)com
:0
! bdt(_at_)killine(_dot_)com
When I test it with the command line (as user "bdt"):
procmail -m .procmailrc <test.txt
The log gives me an error "Couldn't chdir to "/home/bdt":
the log file is:
procmail: Skipped ""
procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -oi
jerome(_at_)killine(_dot_)com"
procmail: Skipped ""
procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -oi
bdt(_at_)killine(_dot_)com"
Subject: test
Folder: /usr/sbin/sendmail -oi bdt(_at_)killine(_dot_)com 831
procmail: Executing "/usr/sbin/sendmail,-oi,jerome(_at_)killine(_dot_)com"
procmail: Executing "/usr/sbin/sendmail,-oi,bdt(_at_)killine(_dot_)com"
Except this error, the mail is send to bdt and jerome (which is fine)
BUT:
When I send an email to "bdt", it is only sent to "bdt", there is no copy
created for user "jerome"
What have I done wrong?
Is it something in sendmail.cf?
Please, Help
--------------------------------------
Benoit Dumont
Tradorg, Lda
Av. da India, 30B
1300-299 Lisboa
Tel. (351) 21 362 52 08
Fax. (351) 21 362 51 99