POSTFIX TROUBLES ? ================= Evan. I am in the midst of waiting out a lengthy compile so I will jot you a few notes. If you have already tried all of the following, and it seems basic to you, so be it. I use a lot of Postfix on Linux/BSD/Solaris. I have only seen what you describe on a SunOs install. Just lucky I guess. You didn't say what OS you are using. You apparently have decided to use dbmail-smtp and not LMTP. dbmail-1.2.9? The 2.x pre-release branch is quite stable and makes a daemon LMTP available.
1) Let's try fixing your existing setup. If you haven't already, run the following and watch for errors, checking your mail system as you go. # /etc/postfix/post-install create-missing # postfix set-permissions # postfix check Then execute dbmail-smtp to make sure it's working. You should get this or like it back: bash-2.05# ./dbmail-smtp Usage: /usr/local/sbin/dbmail-smtp -n [headerfield] for normal deliveries (default: "deliver-to") /usr/local/sbin/dbmail-smtp -m "mailbox" for delivery to a specific mailbox /usr/local/sbin/dbmail-smtp -d [addresses] for delivery without using scanner /usr/local/sbin/dbmail-smtp -u [usernames] for direct delivery to users /usr/local/sbin/dbmail-smtp -r return path for address of bounces and other error reports /usr/local/sbin/dbmail-smtp -f config file for alternate configuration file 2) Make sure that dbmail-smtp is speaking to the database. If postfix speaks to dbmail-smtp and dbmail-smtp is not speaking to the db properly, it will show in your logs. Prepare to monitor your troubleshooting efforts by opening a shell and doing tail -f /var/log/maillog or tail -f /var/log/syslog or tail -f var/log/messages or Whatever it takes to watch the last ten lines of your MTA action. Before you press on, try sending an email through postfix to a local user and watch the log. Your answer may be there. 3) There are a number of ways to configure postfix transport. Primarily 'main.cf' hands off a service keyword which is then searched in 'master.cf' by postfix. 'Master.cf' provides the nitty gritty details which you will plug into it. Another option is transport.db/pag/dir. If you use hash transport mapping you add to the troubleshooting regimen so don't. In your case you would tell postfix to look in master.cf for the 'dbmail-smtp' service command. For your troubleshooting, comment out all other "transport" in main.cf configs and use only the following line for transport in main.cf: : mailbox_transport = dbmail-smtp 4) add exactly what is uncommented below to your master.cf: # ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== dbmail-smtp unix - n n - - pipe flags= user=dbmail:dbmail argv=/usr/local/sbin/dbmail-smtp -d ${recipient} 5) This should get you up and running. If not, make tidy/clean and rebuild a robustly featured postfix, and rebuild dbmail for your database and watch for errors. best... Mike ----- Original Message ----- From: "Evan Oberholster" <[EMAIL PROTECTED]> To: <dbmail@dbmail.org> Sent: Wednesday, July 21, 2004 2:07 AM Subject: [Dbmail] Please help! > I am trying to setup dbmail with postfix but postfix does not seem to > wnat to pass on the email to dbmail-stmpd. anybody know of how-to's that > i can read i am really lost because i am still a newbie to dbmail and > postfix. > > Thanks, > Evan > _______________________________________________ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail >