enable logs in imta.cnf and option.dat

Hi,

How do you go about enabling the logs? I read up on the docs but found it rather confusing. Has anybody had any sucess on this?

IMS 5.2 with IDA 1.2 on Solaris

I added logging defaults to the rewrite area within imta.cnf - no good

I added logging master_debug to the channel area within imta.cnf - no good

Any thoughts?

Thanks,

Baldwin

[416 byte] By [707249] at [2007-11-25 8:19:34]
# 1

Assuming you meant SMTP logging:

After adding the "logging" keyword to imta.cnf, did you do a "$serverroot/msg-<instance>/imsimta cnbuild" and did you then restart the MTA?

Afterwards, SMTP logging should be enabled. Look in $serverroot/msg-<instance>/logs/imta/

Hope you meant SMTP logging.

joerg gastner at 2007-7-1 14:30:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2
Hi,Thanks for informing me about that command. Unfortunately, I did try that.I was wondering if I could get a example imta.cnf from somewhere or somebody?Thanks
707249 at 2007-7-1 14:30:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3

After reading your first posting again I stumbled over the words

"...added logging defaults to the rewrite area within imta.cnf..."

You should add this keyword to the channel section. Not to the rewrite section. Just pick a channel you want to have logged and add the word "logging". Or put it in "defaults" like this:

<imta.cnf>

! part II : channel blocks

!

defaults logging

!

</imta.cnf>

to have all channels logged. An example of a sinlge channel being logged would be

<imta.cnf>

!some-channel

tcp_something smtp daemon <host> logging

some-daemon

</imta.cnf>

Hope this works.

Joerg

joerg gastner at 2007-7-1 14:30:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4
great! that worked. I added a couple of lines right under part II. Originally I had it at the end, does the order actually matter?
707249 at 2007-7-1 14:30:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5
A defaults line has to start with the word "defaults". After defaults comes logging. This order matters. Don't know wether it matters where you put your defaults line. The Admin Guide seems to suggest it. (Chapter 8 - "Configuring Channel Defaults")
joerg gastner at 2007-7-1 14:30:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...