Strange,
I've never seen DBMail log to screen, only to /var/log/maillog or
/var/log/mail.log
Does /var/log/maillog exist on your system? Is your MTA loggin to it?
Does the user dbmail runs as have to be in a special group to be able to
log to maillog?
Ilja
Privat-MIS wrote:
Hey,
I'm running the 1.2.x release of dbmail and it works like a dream,
gogogo, easy to configure etc.
But all the logs are posted to the screen.
POP trace level is 1, and IMAP is 0, SMTP is 0, but it still posts like
14 lines each time a new messege arrive. Here are a scrren dump:
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): starting procedure
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): found [DBMAIL] tag
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): no value specified
for service item [].
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): item [host] value
[192.168.1.1] added
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): item [user] value
[xxx] added
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): item [pass] value
[xxx] added
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): item [db] value
[dbmail] added
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): no value specified
for service item [].
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): item [TRACE_LEVEL]
value [0] added
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): service [DBMAIL]
added
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): config for [DBMAIL]
read, found [5] items
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): starting procedure
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): found [SMTP] tag
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): item [SENDMAIL]
value [/usr/sbin/sendmail] added
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): item
[DBMAIL_FROM_ADDRESS] value [EMAIL PROTECTED] added
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): item [POSTMASTER]
value [EMAIL PROTECTED] added
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): item [AUTO_NOTIFY]
value [no] added
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): item [AUTO_REPLY]
value [yes] added
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): item [TRACE_LEVEL]
value [0] added
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): service [SMTP] added
Mar 18 12:24:36 fw dbmail/smtp[9207]: ReadConfig(): config for [SMTP]
read, found [6] items
Mar 18 12:24:36 fw dbmail/smtp[9207]: GetConfigValue(): searching value
for config item [trace_level]
Mar 18 12:24:36 fw dbmail/smtp[9207]: GetConfigValue(): found value [0]
Mar 18 12:24:38 fw dbmail/smtp[9207]: insert_messages(): message
id=17343, size=4070 is inserted
Its not a big problem, but a pain in the ass when I'm working on the
server and there arrives a lot of messeges. Is it possible to log them
to /var/log/maillog or something simmilar..
I'm running OpenBSD 3.3-Stable
Its running with Postfix and PostgreSQL, need more info, just ask
// Kind Regards
// Syska
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail