Hello,

  Don't know where Gentoo expects it; Debian would be looking
for /etc/dbmail/dbmail.conf, and the default location is
/etc/dbmail.conf.  If you chmod 600, make sure the file is
owned by whatever user dbmail is running as (and you'd do
well to make sure that's not root).  If you still can't
figure it out, you could try running under strace to see
where it's looking for the config file.
Eg. "strace dbmail-util -a 2>&1 | grep dbmail.conf"

Jn


On Tue, 2005-11-08 at 14:54 +1100, Daniel Kasak wrote:
> Greetings.
> 
> I'm unable to get DBMail & sendmail talking to each other.
> 
> I've followed instructions at 
> http://www.dbmail.org/dokuwiki/doku.php?id=sendmail_howto
> I took the 2nd route:
> 
> define(`LOCAL_MAILER_PATH’, `/usr/sbin/dbmail-smtp’)dnl
> define(`LOCAL_MAILER_ARGS’, `dbmail-smtp -d $u’)dnl
> 
> in my /etc/mail/sendmail.mc
> 
> Now I'm getting:
> 
> [dbmail/smtp] main(): error reading alternate config file
> 
> in my syslog whenever I send an email ... and the email doesn't get 
> delivered.
> 
> My dbmail.conf file is in /etc/ as suggested:
> -rw-r--r-- 1 root root 3481 Nov 8 14:39 /etc/dbmail.conf
> 
> Those permissions were set by a Gentoo ebuild, however before I 
> discovered the ebuild, I compiled everything myself and ran:
> chmod 0600 /etc/dbmail.conf
> 
> This didn't help ... hence trying out the Gentoo ebuild.
> 
> Where should I put the dbmail.conf / how do I prevent the above error/
> 
> Dan
> 
-- 
Jesse Norell - [EMAIL PROTECTED]
Kentec Communications, Inc.

Reply via email to