Hi Keith,
I re-checked everything as you suggested, but it didn't help.
There are still something missing.
Anyway, I know that the mysql part is working.
When I give the following command, root's mailbox can be copied to the database: 'cat /var/spool/mail/root | formail -s /root/dbmail-2.0.0/dbmail-smtp -u root' Now, I'm planning to remove everything, and then start from the very beginning.
Do you know any documentation addres about dbmail other than dbmail.org?
Thanks a lot.
Ahmet Aksoy

Keith Hopkins wrote:

Ahmet Aksoy wrote:

Hi,
I'm new to the list, and dbmail.
I tried to configure my system with Suse 9.1, postfix, and mysql 4.0.18.
I have a dynamic ip address.
I followed the required steps in the INSTALL document.
Everything looks normal, but my incoming mails (both from local, and remote)
don't go to the database.
I can reach them with mail or pine.
What should I do?
Ahmet Aksoy


Double check the postfix install instruction regarding setting up the transport file. Don't forget to run postmap on it.



6.      Configure your MTA

        -- MTA installation for postfix --

        In the master.cf file for postfix add the following:

        dbmail    unix  -       n       n       -       -       pipe
flags= user=dbmail:dbmail argv=/usr/local/sbin/dbmail-smtp -d ${recipient}

at the user= field you can add any user that is allowed to run dbmail-smtp. I suggest adding a user dbmail with a group dbmail and have all dbmail programs be run by that user. The dbmail daemons (pop and imap) will drop their root
        priviledges to the user which is defined in /etc/dbmail.conf.

        and insert into the /etc/postfix/transport file

        <domain>                dbmail:

        for all domains you want dbmail to be destination for.

        Next run postmap /etc/postfix/transport

        Edit /etc/postfix/main.cf and add the line
        transport_maps = hash:/etc/postfix/transport

        do a postfix reload and if everything goes well
        mail should be delivered to dbmail. If not, try running
        postfix with the -v option to see what's going on. If the
problem seems to be in dbmail, try changing the tracelevel in dbmail.conf.
        Tracelevel 5 will return a lot of debugging information.


Reply via email to