LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Postfix Dovecot Spamassassin (https://www.linuxquestions.org/questions/fedora-35/postfix-dovecot-spamassassin-310774/)

php4u 04-07-2005 12:13 PM

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 main.cf 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!
Ralph
--------------------------------------
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 = policing.net
myhostname = mail.policing.net
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 main.cf file;

home_mailbox = mail

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


Ateo 04-09-2005 02:48 AM

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...


All times are GMT -5. The time now is 09:45 AM.