LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2006, 07:43 AM   #1
etam
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
fetchmail - postfix - imap


my first post, hi to all.

i have a problem with fetchmail, postfix and courier-imap. fetchmail work correctly and put mail in a file stored in /var/mail but if i open courier-imap with telnet he says don't found maildir. i think the problem is in postfix. The mail that i receive must store in /var/mail/USER/in-out-ecc.., right? how must configure postfix to shunt the mail in the right maildir?

Sorry for my bad english...
 
Old 10-22-2006, 06:23 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Hi, etam.

Fetchmail is not the one putting the mail in /var/mail. It's postfix. But, it sounds like your first problem is not having a maildir where courier-imap expects it. Courier-imap is probably looking for it in $HOME/Maildir. You can verify this with either
Code:
authtest etam
or
Code:
authtest etam@domain
depending on whether you authenticate with your full address or not (you did configure courier-authlib, right?). Once you know the location, the maildir needs to be created, using something like maildirmake. Finally, you have to arrange to have mail delivered to that maildir. If postfix is doing the delivery itself -- i.e. if it's not calling an outside delivery agent, such as maildrop -- then postfix needs to be told where to deliver. In the simplest case, you are using the postfix 'local' delivery agent. In that case, assuming your maildir is $HOME/Maildir, you would have the following in main.cf:
Code:
home_mailbox = Maildir/
 
Old 10-23-2006, 12:35 PM   #3
etam
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Original Poster
Rep: Reputation: 0
no. i didn't configure courier-authlib. how can i do it?

debian:~# authtest etam
-bash: authtest: command not found
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fetchmail for imap el_pajaro! Linux - Server 3 09-05-2006 07:14 PM
fetchmail from imap to imap? martsari Linux - Networking 1 07-03-2006 11:48 AM
Postfix and Fetchmail query gugabaga Linux - Software 2 03-09-2006 05:02 PM
Fedora + IMAP + Squirrelmail + Fetchmail + Procmail murphy23 Linux - Software 2 03-30-2004 08:47 AM
IMAP and fetchmail / postfix / procmail / spamc etc... fordboy0 Linux - Networking 2 09-17-2003 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration