![]() |
running procmail on rented server space
I am trying to set up mutt with fetchmail and procmail on server space that's not mine. I have access to /home/myusername but not to /var/spool/myusername. Everything seems to work well, but I
have no idea where fetchmail (or procmail) is dropping off my mail. If I use this .fetchmailrc file: Quote:
my mail's been downloaded to. If I use this .fetchmailrc file: Quote:
Quote:
Quote:
|
As far as the black-holing of mail, have a look at the output of the 'env' command and look for: MAIL=/
Caveat, look for any .forward files in the home directory that are forwarding your mail 'elsewhere'. You may not be able to change the path as you want, but you should be able to find where it's going with that. I've had a similar issue today myself with 'vanishing' mail. For a moment it reminded me of Exchange...... chuckle... |
It doesn't help. I've tried to change MAIL to /home/myusername/mail, but procmail still tries to create /var/spool/mail/myusername, but it doesn't have permission to do so (I am not the superuser). env reads MAIL correctly as /home/myusername/mail, but the complaint
Quote:
|
When I had my issue this is how I debugged it and the notes I made to 'self' - they may help you.
First thing to note, if mail is trying to be delivered to the wrong place, either your .procmailrc file is missing (not in the right place - /home/user/.procmailrc), not named correctly (missing . at the start), has incorrect directives that stop it doing what you want or is not being read for some reason. The first thing I would do is backup your current .procmailrc and create a fresh test version containing the correct directives for your system. First make a note of your shell: Code:
which sh Code:
printenv MAIL Code:
mkdir /home/user/newmailbox Code:
SHELL=/bin/sh Code:
Return-Path: <test@procmail.local> Code:
less message.test | /usr/bin/procmail -d user The debug info should help if things go wrong, but you will hopefully see something like 'You have new mail...' pop up on the cli. Check the contents of /home/user/newmailbox looking for the test message: Code:
-rw------- 1 user user 6.1K 2010-02-27 09:27 msg.6AcE |
All times are GMT -5. The time now is 10:26 PM. |