LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   fetchmail question (https://www.linuxquestions.org/questions/linux-software-2/fetchmail-question-592285/)

fakie_flip 10-16-2007 11:44 AM

fetchmail question
 
How can I get fetchmail to download emails to /var/spool/mail/myuser instead of to a mbox file in my home directory? I have googled and looked in the fetchmail man page. Where is the answer?

Drax946 10-16-2007 12:54 PM

From the docs I've just read about fetchmail, I don't use it myself but was curious, it seems that fetchmail acts as a kind of glue or bridge between two services. The first service being the remote POP3 or IMAP is pretty obvious. The second it is local mail delivery system which isn't so obvious.

Fetchmail grabs the remote mail and sends it to port 25 (the SMTP port) on the localhost. So whatever is listening to port 25 is where your solution is. On my Debian server there is exim4 there which can be configured I believe to do what you want. I had to switch this to Maildir delivery (opposite of what you are wanting if I read your post correctly) for use with IMAP so I could read email from any of my other systems.

I hope this points you in the right direction.

fakie_flip 10-16-2007 03:14 PM

I'm also using Exim 4. In which configuration file did you switch the Maildir delivery?

Drax946 10-16-2007 05:00 PM

You may want to check out:

Quote:

man update-exim4.conf.conf

update-exim4.conf - Generate exim4 configuration files.


All times are GMT -5. The time now is 09:52 PM.