RE: [Dbmail] Problems with initial config of DBmail, postfix fails to start w/ no errors
Hello Eli, You mention "The dbmail user can access the database ...", but then have postfix running the dbmail transport as user bin. Is that the same user? Ie. when you ran install-dbmail.sh you told it you were going to be running as user bin, group bin? If not, and you actually made a dbmail user, that's likely your problem. If that's not the case, do you have an entry in your main.cf pointing to the transport file? Something like: transport_maps = hash:/etc/postfix/transport Also, your master.cf entry has a "0" for the private field, which offhand I don't know if that's valid. All mine have either "-" or "n". Try changing that to "-" and give it a shot. You'll probably want to set flags=R there, while you're in the file (for setting Return-Path address properly). Later, Jesse Original Message From: Eli Stair To: dbmail@dbmail.org Subject: [Dbmail] Problems with initial config of DBmail, postfix fails to start w/ no errors Sent: Wed, 27 Nov 2002 17:02:20 -0500 > Hello. I'm testing out dbmail for use with Postfix for the first time, and > am > having quite a time of it. Aside from the documentation issues (how long > since > INSTALL reflected the install procedure closely?) I'm having a final issue > with > postfix not starting up after making the modifications in INSTALL. > > Even when running postfix with -vv I get no errors, nor any when running with > check -vv. However upon postfix start, the process never takes off. I get > only this: "postfix/postfix-script: starting the Postfix mail system", and > "tardis postfix: succeeded" in syslog. DBmail is not apparently logging > anything as it never gets called by Postfix, as least that's how I understand > it. > > This is after following procedure, adding dbmail to a working postfix config. > System and software are: Mandrake 9.1,Kernel 2.5.49,MySQL 3.23.53,Postfix > 1.11, > DBmail current (today 11-27-02 CVS) > > The dbmail user can access the database via mysql -u dbmail dbmail -p, can use > dbmail-adduser to add users. DBmail is installed as user/group bin:bin, > reflected in master.cf > > My thanks for any recommendations, suggestions, etc. I'm guessing that I'm > simply missing a procedure somewhere that isn't in the docs. > > Cheers, > > /eli > > -Changes made in process: > main.cf~~ > alias_database = hash:/etc/postfix/aliases > transport_maps = hash:/etc/postfix/transport > master.cf~~ > > dbmail unix0 n n - - pipe > flags= user=bin:binargv=/usr/local/sbin/dbmail-smtp -d ${recipient} > > transport~~~ > <{MYDOMAIN}> dbmail: > > -- > CAUTION: Repeated use of finger can cause a system to become overloaded, > which can cause it to stop responding. > --Infinite wisdom from the font that is ISS 6.2.1 > ___ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail > -- End Original Message -- -- Jesse Norell [EMAIL PROTECTED]
Re: [Dbmail] Problems with initial config of DBmail, postfix fails to start w/ no errors
Jesse, thanks for your response... That worked and postfix is accepting and delivering mail again, but not to DBmail. Mail is still going into my /var/spool/mail/ It seems to be not calling dbmail-smtp for some reason, and I don't have any experience with Postfix, just testing it because it was documented for use with DBMail. Nothing in the install setup seems to clearly specify to use dbmail _instead_ of the default delivery method... Thanks, /eli These are the services running from Postfix: root 13:51 0:00 /usr/lib/postfix/master postfix 13:51 0:00 pickup -l -t fifo -u -c postfix 13:51 0:00 nqmgr -l -n qmgr -t fifo -u -c > You mention "The dbmail user can access the database ...", > but then have postfix running the dbmail transport as user > bin. Is that the same user? Sorry, I was unclear about that :) The dbmail binaries are installed and run as bin:bin, but the database account is dbmail... > Also, your master.cf entry has a "0" for the private field, > which offhand I don't know if that's valid. All mine have > either "-" or "n". Try changing that to "-" and give it > a shot. That was that issue, postfix fires right up now. Now I know that even insanely verbose output doesn't catch everything. My typo. -- CAUTION: Repeated use of finger can cause a system to become overloaded, which can cause it to stop responding. --Infinite wisdom from the font that is ISS 6.2.1
Re: [Dbmail] Problems with initial config of DBmail, postfix fails to start w/ no errors
I have a line in main.cf: mailbox_transport = dbmail jbw Eli Stair wrote: Jesse, thanks for your response... That worked and postfix is accepting and delivering mail again, but not to DBmail. Mail is still going into my /var/spool/mail/ It seems to be not calling dbmail-smtp for some reason, and I don't have any experience with Postfix, just testing it because it was documented for use with DBMail. Nothing in the install setup seems to clearly specify to use dbmail _instead_ of the default delivery method... Thanks, /eli These are the services running from Postfix: root 13:51 0:00 /usr/lib/postfix/master postfix 13:51 0:00 pickup -l -t fifo -u -c postfix 13:51 0:00 nqmgr -l -n qmgr -t fifo -u -c You mention "The dbmail user can access the database ...", but then have postfix running the dbmail transport as user bin. Is that the same user? Sorry, I was unclear about that :) The dbmail binaries are installed and run as bin:bin, but the database account is dbmail... Also, your master.cf entry has a "0" for the private field, which offhand I don't know if that's valid. All mine have either "-" or "n". Try changing that to "-" and give it a shot. That was that issue, postfix fires right up now. Now I know that even insanely verbose output doesn't catch everything. My typo.
Re: [Dbmail] Problems with initial config of DBmail, postfix fails to start w/ no errors
That would be the missing config line. Thanks very much for humoring questions that are basic in nature but eluded me! Cheers, /eli Joby Walker <[EMAIL PROTECTED]> wrote: > I have a line in main.cf: > > mailbox_transport = dbmail > > jbw -- CAUTION: Repeated use of finger can cause a system to become overloaded, which can cause it to stop responding. --Infinite wisdom from the font that is ISS 6.2.1