Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: John Lewis on October 31, 2003, 06:43:18 PM

Title: what is default mailbox in 6.0b3?
Post by: John Lewis on October 31, 2003, 06:43:18 PM
I'm having lots of "issues" upgrading to 6.0b3.  This is the most important:

What is the default mailbox for 6.0b3?

I've installed spamassassin and the dungog user-panel rpm's, which enable procmail to process the incoming mail.  Filtering via the procmail rules is working, except I'm not seeing any messages in my inbox or my junkmail folder.  All the other folders are getting mail properly.

My procmail file has this:
# ---------------------------------------
# Default Shell, Program & file locations
# ---------------------------------------
SHELL=/bin/bash
DEFAULT=$HOME/Maildir/
FORMAIL=/usr/bin/formail
MAILDIR=$HOME/Maildir/
PMDIR=$HOME
SENDMAIL=/usr/sbin/sendmail

# ------------
# some logging
# ------------
VERBOSE=no
LOGFILE=$HOME/procmail.log

# -------------------------------
# SpamAssassin Router            
# -------------------------------
:0fw
| /usr/bin/spamc
 

# ----------------------
# start of user recipies
#

:0
* ^TO_.*security-management
$MAILDIR/;security-management/

:0
* ^TO_.*backuppc-users
$MAILDIR/;backuppc-users/

# -------------------------------
# Spamassassin sort to junkmail  
# -------------------------------
:0
* ^X-Spam-Status: Yes
$MAILDIR/junkmail/
 



# --------------------------
# all else goes to the inbox
# --------------------------
:0
$DEFAULT

Should I change the following to the new ;directory's?:

DEFAULT=$HOME/Maildir/;INBOX

and

# -------------------------------
# Spamassassin sort to junkmail  
# -------------------------------
:0
* ^X-Spam-Status: Yes
$MAILDIR/;junkmail/
Title: Re: what is default mailbox in 6.0b3?
Post by: Ergin on November 02, 2003, 09:00:57 PM
The standard e-mail account is your admin account with "root password".
Title: Re: what is default mailbox in 6.0b3?
Post by: Michael Doerner on November 03, 2003, 08:06:47 AM
John,

you have to change the spamassassin sorting/folder as you auspected to be:

# -------------------------------
# Spamassassin sort to junkmail  
# -------------------------------
:0
* ^X-Spam-Status: Yes
$MAILDIR/;junkmail/

and your "Inbox" is wrong although I cannot see what made it that wrong. It shoud be :

# --------------------------
# all else goes to the inbox
# --------------------------
:0
$DEFAULT

where $DEFAULT has been set at the beginning to:
DEFAULT=$HOME/Maildir/

Regards,
Michael Doerner
Title: Re: what is default mailbox in 6.0b3?
Post by: John Lewis on November 03, 2003, 07:40:54 PM
I got it all to work by doing the following:

mkdir /etc/e-smith/templates-user-custom/.procmailrc
cp /etc/e-smith/templates-user/.procmailrc/95saSort /etc/e-smith/templates-user-custom/.procmailrc/.
pico /etc/e-smith/templates-user-custom/.procmailrc/95saSort
   $OUT .= '$MAILDIR' . "/junkmail/\n"; (old)
   $OUT .= '$MAILDIR' . "/;junkmail/\n"; (new)

And leaving everything else as is.  Works fine now.  Or appears to.  Now I I could just figure out how to enable SSL IMAP connections.

Michael's reply above this one is correct...

Thanks.