hellkvist.org Forum Index hellkvist.org
Discussions about the free software on hellkvist.org
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

No "recmail.log" been created???

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> Peffisaur
View previous topic :: View next topic  
Author Message
joe
Guest





PostPosted: Sun May 16, 2004 5:45 am    Post subject: No "recmail.log" been created??? Reply with quote

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 Smile
Back to top
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Sun May 16, 2004 8:28 am    Post subject: Reply with quote

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

Code:
|/usr/bin/procmail
- 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
View user's profile Send private message Visit poster's website
joe
Guest





PostPosted: Thu May 20, 2004 9:40 am    Post subject: Reply with quote

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 Smile
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> Peffisaur All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group