Ok. I see your point. Those trace calls are totally redundant since CreateSocket is verbose enough already. I've removed those calls from imapd.c/pop3d.c/lmtpd.c both in 2.0 branch and in head.


Wolfram A. Kraushaar wrote:
Hi Paul,

I'm referring to line 175/176 in imapd.c (2.0 branch)
trace(TRACE_ERROR,
                      "main(): socket created, starting server");

The two other daemons (pop3d/lmtpd) have
trace(TRACE_DEBUG,
                      "main(): socket created, starting server");

at this point.

When changing TRACEL_LEVEL to 2 in dbmail.conf, I just didn't expect to see such verbose messages in the log so I thought the TRACE-LEVEL set in imapd.c at line 175 might be wrong?

--
Wolfram


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul J Stevens
Sent: Samstag, 18. September 2004 20:29
To: DBMAIL Developers Mailinglist
Subject: Re: [Dbmail-dev] imapd.c in 2.0 branch

Wolfram,

What are you referring to. There's no socket creation in imapd.c. All socket creation for pop/imap/lmtp takes place in server.c (CreateSocket in the 2.0 branch)

And yes. Socket creation in imap is definitely an error condition. If the daemon can't bind to the imap port, game's up.


Wolfram A. Kraushaar wrote:

Socket creation in imap isn't an error condition, is it?
What about setting it to TRACE_DEBUG like in pop3d and lmtpd?

--
Wolfram

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev



--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev


_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev



--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to