Messaging Gateway

 View Only
  • 1.  Attachment size

    Posted Mar 15, 2010 04:55 AM

    Hi,

    We are using SBG 8.0.3 on VmWare ESX server.

    I want to see the attachment size of particular e-mail. Can anyone help me from where can I check the same?

    Thanks in advance to all.


  • 2.  RE: Attachment size

    Posted Mar 15, 2010 10:19 AM
    This is from a tech support call.  Personally, that the GUI logs don't include message size is really sad.

    You need to be on the Command Line "Support" interface.  SSH to your SBG Scanner,  login and then run set-support to enable the support account with a password of your choosing.  Logoff and then login as support.

    tail -f /data/logs/maillog |

     awk '/Received on\:/ {print $18 " " $21 " " $23 " " $25}’

     

    10.20 .65.26:25, 10.20.159.247:56385, tracyjaynes@gmail.com, 3035,

    10.20 .65.26:25, 10.20 .159.247:56385, ALSCPA@aol.com, 3287,

    10.20 .65.27:25, 10.11.81.130:40404, DoNotReply@domain.com, 27168,

        Local i/f       remote port          Sender                     Size

    use $15 for auditID



  • 3.  RE: Attachment size

    Posted Mar 15, 2010 06:46 PM
    Please note that the workaround mentioned above can not be used if Mail Transfer Agent (MTA ) logs are not at "Information" or higher (more logging) level.

    Regards,

    Adnan


  • 4.  RE: Attachment size

    Posted Mar 15, 2010 06:58 PM
    AdnanH - do you have the tech note reference # handy?



  • 5.  RE: Attachment size

    Posted Mar 15, 2010 07:26 PM
    Unfortunately, the technote is not a public facing KB as it involves the use of support account.