Re: [Dbmail] [dbmail/smtp] main(): error reading alternate config file

2005-11-09 Thread Jesse Norell
> > > If it does run, > >does dbmail-smtp run from the command line? > > > > > Kinda. I tried: > > dbmail-smtp -d [EMAIL PROTECTED] > > Then I entered a single line of text: > test > > and hit CTRL and D. Run "which dbmail-smtp" and/or "find / -name dbmail-smtp" and make sure you're not

Re: [Dbmail] [dbmail/smtp] main(): error reading alternate config file

2005-11-09 Thread Paul J Stevens
Daniel Kasak wrote: >> If it does run, >> does dbmail-smtp run from the command line? >> >> > Kinda. I tried: > > dbmail-smtp -d [EMAIL PROTECTED] > > Then I entered a single line of text: > test > > and hit CTRL and D. > > In the syslog, I got: > Nov 9 09:58:29 [dbmail/smtp] main(): mim

Re: [Dbmail] [dbmail/smtp] main(): error reading alternate config file

2005-11-09 Thread Daniel Kasak
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

Re: [Dbmail] [dbmail/smtp] main(): error reading alternate config file

2005-11-09 Thread Daniel Kasak
Jesse Norell wrote: --- [DBMAIL] host=localhost sqlsocket=/var/run/mysqld/mysqld.sock user=dbmail pass=dbmailpass db=dbmail [EMAIL PROTECTED] You do still have TRACE_LEVEL in [DBMAIL], for clarity? Yep. Nope, dbmail-util, sorry. OK. dbmail-util -a gives: --- Opening conne

Re: [Dbmail] [dbmail/smtp] main(): error reading alternate config file

2005-11-08 Thread Jesse Norell
On Wed, 2005-11-09 at 09:12 +1100, Daniel Kasak wrote: > Jesse Norell wrote: > > >Hello, > > > > Ok, looks like it is finding and reading your dbmail.conf, > >so back to your original problem (which I thought was being > >able to find/read the file): > > > >[dbmail/smtp] main(): error reading alt

Re: [Dbmail] [dbmail/smtp] main(): error reading alternate config file

2005-11-08 Thread Jesse Norell
On Tue, 2005-11-08 at 22:56 +0100, Paul J Stevens wrote: > Jesse Norell wrote: > > > And make sure not to leave dbmail.conf mode 666. You want > > to run dbmail under its own userid, and have the file mode 600. > > Hear, hear. And run dbmail-smtp setuid! > Even better, have the file owned

Re: [Dbmail] [dbmail/smtp] main(): error reading alternate config file

2005-11-08 Thread Daniel Kasak
Jesse Norell wrote: Hello, Ok, looks like it is finding and reading your dbmail.conf, so back to your original problem (which I thought was being able to find/read the file): [dbmail/smtp] main(): error reading alternate config file Without looking at the source to see where that message is

Re: [Dbmail] [dbmail/smtp] main(): error reading alternate config file

2005-11-08 Thread Paul J Stevens
Jesse Norell wrote: > And make sure not to leave dbmail.conf mode 666. You want > to run dbmail under its own userid, and have the file mode 600. Hear, hear. And run dbmail-smtp setuid! -- Paul Stevens

Re: [Dbmail] [dbmail/smtp] main(): error reading alternate config file

2005-11-08 Thread Paul J Stevens
Daniel, Are you running sendmail in a chroot environment, or is sendmail running it's mailers in a chroot environment? I know from painfull experience postfix makes it *very* easy to run mailers and transports chroot. Daniel Kasak wrote: > dkasak dbmail # strace dbmail-util -a 2>&1 | grep dbmail

Re: [Dbmail] [dbmail/smtp] main(): error reading alternate config file

2005-11-08 Thread Jesse Norell
Hello, Ok, looks like it is finding and reading your dbmail.conf, so back to your original problem (which I thought was being able to find/read the file): [dbmail/smtp] main(): error reading alternate config file Without looking at the source to see where that message is printed, perhaps your

Re: [Dbmail] [dbmail/smtp] main(): error reading alternate config file

2005-11-08 Thread Daniel Kasak
Jesse Norell wrote: 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

Re: [Dbmail] [dbmail/smtp] main(): error reading alternate config file

2005-11-08 Thread Jesse Norell
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

[Dbmail] [dbmail/smtp] main(): error reading alternate config file

2005-11-08 Thread Daniel Kasak
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 m

Re: [Dbmail] dbmail/smtp main(): error reading alternate config file [/etc/dbmail.conf]

2005-04-01 Thread Paul J Stevens
Lorna, Check how dbmail-smtp is called. This was probably setup in master.cf. Does /etc/dbmail.conf exist at all? That is: does 'dbmail-users -l' work? If so, then: Is /etc/dbmail.conf readable for the user that is running dbmail-smtp? Humberto Valiente wrote: Usa esto como guia para conf

Re: [Dbmail] dbmail/smtp main(): error reading alternate config file [/etc/dbmail.conf]

2005-04-01 Thread Humberto Valiente
Usa esto como guia para configurar postfix con mailscanner http://www.sng.ecs.soton.ac.uk/mailscanner/install/postfix.shtml > Hello! > > I have this error in my logs: > dbmail/smtp[2910]: main(): error reading alternate config file > [/etc/dbmail.conf] > > It happened after I installed MailScanner

[Dbmail] dbmail/smtp main(): error reading alternate config file [/etc/dbmail.conf]

2005-04-01 Thread Lorna Sanchez M.
Hello! I have this error in my logs: dbmail/smtp[2910]: main(): error reading alternate config file [/etc/dbmail.conf] It happened after I installed MailScanner + ClamAV + SpamAssassin I have WhiteBox, kernel 2.4, Postfix, SquirrelMail, DBMail (of course!) Behaviour: The mails do not get deliver