Hi all,

at the moment i had 1.2.8 installed with .deb on a debian woody installation. I want to upgrade to 2.0.3 with my own build. I testing the Upgrade on my local test machine before i make the upgrade on my real mailserver, and on my testing machine the Update work properly. I make notice of every step that i make to Upgrade. If anybody see something that i forgot to do, or that i make wrong, please let it me know.

   * make a backup of the old db an all config files
   * run configure (./configure --prefix=/usr --with-mysql), run make
   * stop the old installation of dbmail with /etc/init.d/dbmail stop
   * remove the old installation with "apt-get remove dbmail-mysql"
   * remove the old startup links form the rc.x directories
   * remove the old initscript of dbmail
   * remove the old configs of dbmail
   * run the migration script
   * run "make install"
   * copy and edit the /etc/dbmail.conf from the 2.0.3 source
   * copy and edit the initscripts from the 2.0.3 source (contrib
     directory) and set the file permissions correct. Change the
     PROGDIR in the initscripts to /usr/sbin, change the DBLIBDIR to
     /usr/lib/dbmail.
   * make an update-rc.d for the new initscripts an set it to start
     after the mysql start at reboot.
   * start dbmail-imapd (i only use imap)

so it works properly on my testing machine.
On my mailserver i use procmail to deliver to the Mailboxes and i use virtual tables with postfix


configuration at the moment

/etc/postfic/virtual
#DOMAIN.DE
domain.de VIRTUAL
[EMAIL PROTECTED] user1
@domain.de user1,user2


/etc/postfix/main.cf
mailbox_transport = procmail
mailbox_command = /usr/bin/procmail -t -a $EXTENSION

/etc/postfix/master.cf
dbmail    unix  -       n       n       -       -       pipe
 flags=  user=dbmail:dbmail argv=/usr/sbin/dbmail-smtp -d ${recipient}

/etc/procmailrc
VERBOSE=on
LOGFILE=/var/log/procmail.log

:0fw
| /usr/bin/spamc

DELIVER="/usr/sbin/dbmail-smtp"
INBOX="$DELIVER -m INBOX -u $USER"
SPAM="$DELIVER -m INBOX/spam -u $USER"

INCLUDERC=/etc/procmail/$USER.procmailrc

:0:
* ^X-Spam-(Status|Flag): YES
| $SPAM

:0:
| $INBOX


/etc/procmail/$USER.procmailrc
:0:
* ^Subject:.*Full.*Disclosure.*
| $DELIVER -m INBOX/fulldisclosure -u user1

:0:
* ^To:[EMAIL PROTECTED]
| $DELIVER -m INBOX/ruscert -u user1

:0:
* ^To:[EMAIL PROTECTED]
| $DELIVER -m INBOX/debian -u user1


is there anything to change after the upgrade to 2.0.3. I dont see a change in the manpage of dbmail-smtp.

Thanks for your help

Bye Christian

Reply via email to