LinuxQuestions.org
Review your favorite Linux distribution.
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-19-2004, 08:35 PM   #1
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Rep: Reputation: 30
very close on email


Im working on a Postfix-Procmail-Fetchmail-Courier IMAP server.... Outgoing mail works fine.
But incoming mail is not being going to my squirrelmail inbox. Although I can check this via evolution. It looks like mail is being delivered to /usr/bin/procmail via this file in the logs:
Oct 19 20:04:08 www postfix/local[16005]: F398A4EED1: to=<username@domain.com>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail)

My postfix main.cf file has these two lines
mailbox_command = /usr/bin/procmail
home_mailbox = Maildir/

So I guess my question is... hmm what the hell is my question?...
Is IMAP receiving my emails?
Why are they being sent into /usr/bin/procmail and not Maildir/ ?
How can I get these emails sent into my ~/Maildir?

thnx.
 
Old 10-19-2004, 09:40 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I believe the mailbox_command is what you use when you have procmail deliver mail to the appropriate folder within your Maildir. The procmail portion is setup in a .procmailrc (IIRC) in each users homedir. If you don't have this file, or have not setup procmail at all yet, then either read up on it quickly and institute it accordingly, OR comment out the line for mailbox_command and restart postfix. From there, your IMAP server, courier, should be setup to deliver the mail into your Maildir.
Check your /etc/courier-imap/imapd file to ensure your have:
MAILDIR=Maildir
setup correctly.

Again, restart courier-imap afterwards.

Cool
 
Old 10-19-2004, 09:41 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
A follow up:
Procmail is an excellent powerful tool for mail sorting. Should you need this, and your client side filters aren't sufficient, certainly read up on the usage of procmail.

Cool
 
Old 10-19-2004, 10:01 PM   #4
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Original Poster
Rep: Reputation: 30
exactly right I didnt have the procmailrc setup.

Thank you so much.
 
  


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
What email program can work with email header on pop3 server TruongAn Linux - Software 0 01-13-2005 11:48 AM
How do I configure postfix master to forward all email to an email server ? hello321_1999 Linux - Software 1 11-18-2004 04:43 AM
How to Import Microsft outlook Email in any Red hat 9 Email mobassir Linux - Software 2 07-28-2003 10:42 AM
How to Import Microsft outlook Email in any Red hat 9 Email Software mobassir Linux - Software 0 07-26-2003 04:08 AM
How do I: convert my fetchmail email file to separate email files? ancientt Linux - Software 1 02-03-2003 02:14 PM

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

All times are GMT -5. The time now is 10:51 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