Enabling Logs - imta.cnf file

cnbuild command is giving following error when i have added logging keyword to default notices in imta.cnf file.

imta.cnf file

- -

! part II : channel blocks

!

defaults notices 1 2 4 7 copywarnpost copysendpost postheadonly noswitchchannel immnonurgent maxjobs 7 defaulthost dataone.in

logging dataone.in

!

-

Error:

root@ndlbbpa1-a-fixed # ./imsimta cnbuild

14:55:08.94: Error in mm_init -- no official host name for channel logging -- line #79 in file IMTA_CONFIG_FILE

any help

Thanks in Advance

[582 byte] By [bsnl-nib] at [2007-11-26 10:12:47]
# 1

! part II : channel blocks

!

defaults notices 1 2 4 7 copywarnpost copysendpost postheadonly noswitchchannel immnonurgent maxjobs 7 defaulthost dataone.in logging

dataone.in

!

If this wraps funny,

there should be one line, starting with "defaults", and ending with "logging".

that's it.

jay_plesset at 2007-7-7 2:01:27 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2
Hi JayI'm using messaging server 6.2 and my tcp_local_slave.log- file is increasing tremendously so can u tell me the way to disable the same.Thanks in advance
bsnlnib at 2007-7-7 2:01:27 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
Hi,Sounds like one of your channels has slave_debug enabled. You can stop the logging by removing the slave_debug keyword from the channel definition in imta.cnf, then run ./imsimta cnbuild; ./imsimta restart.Cheers,Shane.
shane_hjorth at 2007-7-7 2:01:27 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4

Hi Shane

one more thing

My MTA's mail.log_current file output is as follows

23-Dec-2006 14:56:28.17 6592.13.51 tcp_local-Y TCP|0.0.0.0||68.165.91.250|25 SMTP/5staroutlet.com/5staroutlet.com

23-Dec-2006 14:56:28.21 65f9.9.45 tcp_local-O TCP|10.16.18.19|59531|202.242.187.72|25 SMTP/tmd.ac.jp/goldengate.tmd.ac.jp

23-Dec-2006 14:56:28.23 658d.1e.76 tcp_local+C TCP|10.16.18.38|25|59.92.85.60|1219 SMTP

23-Dec-2006 14:56:28.37 65de.5.46 tcp_local-O TCP|10.16.18.19|59537|202.88.236.138|25 SMTP/ksebnet.com/mail.ksebnet.com

23-Dec-2006 14:56:28.37 65f9.1c.46 tcp_local-O TCP|10.16.18.19|59458|203.124.150.194|25 SMTP/kapoorlampshades.com/eatspam.system3hosting.com

23-Dec-2006 14:56:28.44 5155.84.492 tcp_local-O TCP|10.16.18.19|59538|65.202.215.51|25 SMTP/sourcefire.com/mx.sourcefire.com

23-Dec-2006 14:56:28.49 658d.1f.77 tcp_local+O TCP|10.16.18.38|25|59.94.99.130|1259 SMTP

23-Dec-2006 14:56:28.51 65cc.15.40 tcp_local-C TCP|10.16.18.19|59345|91.121.3.126|25 SMTP/nanobody.net/mail.nanobody.net

23-Dec-2006 14:56:28.55 65d0.5.43 tcp_local-X TCP|10.16.18.19|57914|213.186.33.32|25 SMTP/graceful-dragon.com/mx0.ovh.net No greeting status received; trying next MX

23-Dec-2006 14:56:28.55 6592.13.52 tcp_local-Y TCP|0.0.0.0||68.165.91.250|25 SMTP/5staroutlet.com/5staroutlet.com

23-Dec-2006 14:56:28.57 65dc.12.30 tcp_local-C TCP|10.16.18.19|59419|213.36.80.90|25 SMTP/libertysurf.fr/mx.libertysurf.net

23-Dec-2006 14:56:28.60 65c3.0a.44 tcp_local-X TCP|10.16.18.19|57925|158.194.120.4|25 SMTP/risc.upol.cz/raven.upol.cz Error reading SMTP packet

23-Dec-2006 14:56:28.60 65b8.2.42 tcp_local-X TCP|10.16.18.19|57959|203.199.199.198|25 SMTP/niot.res.in/mail.niot.res.in Error reading SMTP packet

23-Dec-2006 14:56:28.66 65c3.5.45 tcp_local-X TCP|10.16.18.19|57923|64.46.38.35|25 SMTP/svco.in/axenetworks.in Error reading SMTP packet

23-Dec-2006 14:56:28.66 65b8.2.43 tcp_local-O TCP|10.16.18.19|59549|203.199.199.198|25 SMTP/niot.res.in/mail.niot.res.in

23-Dec-2006 14:56:28.78 6597.19.40 tcp_notify-Y TCP|0.0.0.0||66.150.161.57|25 SMTP/park.funnel.revenuedirect.com.akadns.net/park.funnel.revenuedirect.com.aka dns.net

23-Dec-2006 14:56:28.78 65f7.1f.57 tcp_local-Y TCP|0.0.0.0||216.57.210.200|25 SMTP/yourdomain.com/yourdomain.com

23-Dec-2006 14:56:28.78 658d.1f.78 tcp_auth+U TCP|10.16.18.38|25|59.94.99.130|1259 SMTP Switched to channel tcp_auth rollmill@dataone.in 235 2.7.0 LOGIN authentication successful.

23-Dec-2006 14:56:28.85 65f7.20.58 tcp_local-O TCP|10.16.18.19|59542|200.47.199.5|25 SMTP/kel-ediciones.com/mail.kel-ediciones.com

23-Dec-2006 14:56:28.88 65c3.0a.46 tcp_local-O TCP|10.16.18.19|59548|158.194.120.4|25 SMTP/risc.upol.cz/raven.upol.cz

23-Dec-2006 14:56:28.89 6592.13.53 tcp_local-Y TCP|0.0.0.0||68.165.91.250|25 SMTP/5staroutlet.com/5staroutlet.com

The output looks different and there is no Enqueing and dequeing of messages. it is simply opening the connection(o),closing(c) and rejecting(x) connection.

1. How i can solve this problem?

Thanks in Advance

bsnlnib at 2007-7-7 2:01:27 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5
SMTP/niot.res.in/mail.niot.res.in Error reading SMTP packetThis means that an external system stopped sending you data, and your server timed out.I suspect network problems, rather than Messaging Server problems.
jay_plesset at 2007-7-7 2:01:27 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 6

Thanks Jay

1) But can you expalin me how to identify these types of errors as a network problem?

2) In the below output what is the meaning for + and-symbols ?

- -

23-Dec-2006 14:56:28.49 658d.1f.77 tcp_local + O TCP|10.16.18.38|25|59.94.99.130|1259 SMTP

23-Dec-2006 14:56:28.51 65cc.15.40 tcp_local - C TCP|10.16.18.19|59345|91.121.3.126|25 SMTP/nanobody.net/mail.nanobody.net

- -- -

bsnlnib at 2007-7-7 2:01:27 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 7

Hi,

> 1) But can you expalin me how to identify these types

> of errors as a network problem?

Experience. These kinds of errors ("Error reading SMTP packet") relate to low-level network problems. Historically we have seen these errors when there have been network issues of one kind or another that is causing the transmission to take so long that the network connection has been closed.

> 2) In the below output what is the meaning for + and

>-symbols ?

Please refer to the Messaging Server Admin guide for explanation of logging ("MTA Logging Example: Inbound Connection Logging"):

http://docs.sun.com/app/docs/doc/819-2650/6n4u4dtv9?a=view

In summary, - is outgoing and + is incoming connections.

Regards,

shane.

shane_hjorth at 2007-7-7 2:01:27 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...