| View previous topic :: View next topic |
| Author |
Message |
joe Guest
|
Posted: Sun May 16, 2004 5:45 am Post subject: No "recmail.log" been created??? |
|
|
I’m sending emails with attachments from joe@yahoo.com to
p-53b16f3f@domain.com who has a “msisdn” DB entry “joe”.
The mail is been diverted to an email account named MMS@domain.com successfully
The .procmailrc file is stored in the /home/peffisaur_user/mail/domain.com/MMS/ folder and .htaccess & .procmailrc are been stored with the other php web pages
I have temporally loosened the chmod permissions to 777 for the 3 above files & the msgstore folder.
After an email has been diverted to the MMS@domain.com email account there is no file created named recmail.log in the /home/peffisaur_user/tmp folder and the attached image isn’t been stored in the msgstore folder
Please tell me where I have gone wrong
Thanks in advance  |
|
| Back to top |
|
 |
Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Sun May 16, 2004 8:28 am Post subject: |
|
|
If you don't get an entry in the log file the message is simply not routed to procmail. I don't know how you are trying to set your system up but the .procmailrc should be directly in a home directory in your system and not with the PHP files, such as /home/peffisaur_user in your case. Then you need to set up your email server so that all unrouted emails (emails that doesn't have a receiver in your system - perhaps all except peffisaur_user) is directed to the peffusaur_user. Then check the log files and spool-files to see where the message actually gets routed. Depending on your system there might also be needed to create a .forward file in the same directory as the .procmailrc. The oontent of the .forward should then simply be
- if that is where your procmail binary is located.
This question is more like a procmail set up question so perhaps you can get help from email lists or FAQ's about procmail. I am no procmail expert I'm afraid. |
|
| Back to top |
|
 |
joe Guest
|
Posted: Thu May 20, 2004 9:40 am Post subject: |
|
|
so i have the mail filter sending the messages to |/home/peffisaur_user/.procmailrc
The .filter file contents are
$header_to: begins "p"+++++++|/home/peffisaur_user/.procmailrc
and i've placed the .forward file in this directory also with the contents you stated above. I feel i should have sorted this out by now but linux isn't my strong IT area
Thanks again  |
|
| Back to top |
|
 |
|