Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 04-07-2005, 01:13 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 15

Rep: Reputation: 0
Postfix Dovecot Spamassassin

I am trying to configure Postfix with Dovecot and Spamassasin on FC3. Previously, I had them working on an older version of Redhat, using the standard IMAPD. But, the new version of Linux come with Dovecot so here we are.

I can see my IMAP folders using my email client or Squirrelmail. But, my email seems to be staying in /var/spool/mail/(user), so I can't see it. I have tried various configuration changes with negative results. I do not see (unless I missed it) anything on the Dovecot site, referring to Postfix and and any necessary changes to the file to conform with Dovecot.

So, the problems seem to be;
1) can not receive mail (see it)

2) Do i still need a procmailrc file to route mail through spamd?

3) Will I be using a .forward file, and if so, how?

thanks in advance!
dovecot.conf =

default_mail_env = maildir:%h/Maildir
Postconf -n =

[root@www ~]# postconf -n
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain, www.$mydomain, ftp.$mydomain
mydomain =
myhostname =
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
sample_directory = /usr/share/doc/postfix-2.1.5/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550

update -
I am able to view my inbox email now, after editing the dovecot.conf file;

default_mail_env = mbox:~/Maildir/:INBOX=/var/spool/mail/%u

and the postfix file;

home_mailbox = mail

....still need to hook up Spamassassin, any suggestions?

Last edited by php4u; 04-07-2005 at 03:06 PM.
Old 04-09-2005, 03:48 AM   #2
Registered: Sep 2004
Distribution: Ubuntu,Gentoo, OSX
Posts: 136

Rep: Reputation: 15
To use spamassassin, you'll need to pass the message from postfix to a mail/content filter. I personally suggest maildrop stand-alone since you're not using courier for your MTA. I don't like procmail one bit after comparing how they are written. Maildrop may be a bigger package but it handles resources better...

Last edited by Ateo; 04-09-2005 at 03:50 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
postfix dovecot Maildir Danny Regan Debian 3 11-15-2005 05:08 PM
Postfix Dovecot Help BigAppleFan Linux - Newbie 7 08-15-2005 06:08 PM
Spamassassin setup with Postfix, Dovecot and Amavisd snurckle Linux - General 2 04-07-2005 01:16 PM
Postfix and Dovecot umbraeOtheisles Linux - Software 3 11-23-2004 08:36 AM
mysql, postfix, dovecot & spamassassin dadams Fedora 1 10-18-2004 09:40 PM

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

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