Hi Sharon,

Thanks for the excellent suggestions!

Fyi, the command, C:\>STAF local LOG QUERY MACHINE
{STAF/Config/MachineNickname} LOGNAME email, returned the following
response:

Response
--------
Date-Time         Level Message
----------------- -----
-------------------------------------------------------
20110801-16:48:34 Info  [local://local:82] SEND TO [john.an...@company.com]
CC [] BCC [] FROM STAFEmailService@stafswin2008r2 SUBJECT Test Message
CONTENTTYPE text/plain
20110801-16:48:34 Info  [local://local:82] 220 usindmail01.company.com ESMTP
Sendmail 8.14.1/8.14.1; Mon, 1 Aug 2011 19:57:45 -0400 (EDT)
20110801-16:48:34 Info  [local://local:82] 250 usindmail01.company.com Hello
usindnetf5-vlan4float.corp.company.com [10.74.12.196], pleased to meet you
20110801-16:48:34 Error [local://local:82] 553 5.1.8
STAFEmailService@stafswin2008r2... Domain of sender address
STAFEmailService@stafswin2008r2 does not exist


The server sending the STAF email is: stafswin2008r2. DNS nslookup can
resolve "stafswin2008r2" to a valid IP address.

What else do I need to resolve the sender's address,
STAFEmailService@stafswin2008r2?

Thanks in advance for your help.

Regards,
John Andoh





On Mon, Aug 1, 2011 at 4:09 PM, Sharon Lucas <luc...@us.ibm.com> wrote:

> Can you ping your mail server by host name from the machine where the Email
> service is registered?  e..g ping mail.company.com
>
> If this doesn't work, then you need to resolve this problem (which has
> nothing to do with STAF) before you can use it as a mail server for the STAF
> Email service.
>
> If this does work, then do the following:
>
> Make sure you are you using the latest version of the Email service which
> is V3.3.5. You can check the version by running: STAF local EMAIL VERSION
>
> Are there are any errors in your Email service log? You can view the log by
> running:
>
>     STAF local LOG QUERY MACHINE {STAF/Config/MachineNickname} LOGNAME
> email
> See section "Using Telnet to Debug Mail Server Problems" in the STAF Email
> Service User's Guide
> <http://staf.sourceforge.net/current/email.html#ToC_Telnet>at
> http://staf.sourceforge.net/current/email.html#Header_Telnet and try to
> submit the same email request via telent.  It should fail the same way the
> STAF Email service fails.  If so, you will need to investigate why your mail
> server is unable to send the email.
>
> --------------------------------------------------------------
> Sharon Lucas
> IBM Austin,   luc...@us.ibm.com
> (512) 286-7313 or Tieline 363-7313
>
>
>
>
> From:        John Andoh <john.an...@gmail.com>
> To:        Sharon Lucas/Austin/IBM@IBMUS
> Cc:        staf-users@lists.sourceforge.net
> Date:        08/01/2011 05:40 PM
> Subject:        [staf-users] STAF send mail not working...
> ------------------------------
>
>
>
> Hi Sharon, et al:
>
>  Fyi, the send mail portion of STAF is not working on my server.
>
>
>
>  The STAF mailserver is configured as follows:
>
>
>
>  service EMAIL library JSTAF execute
> {STAF/Config/STAFRoot}/services/email/STAFEmail.jar  PARMS MAILSERVER *
> mail.company.com* <http://mail.company.com/>
>
>
>
>  But, sending mails get these error messages:
>
>
>
>
>
> *C:\>*
>
>  *C:\>staf local email send to **john.an...@company.com*<john.an...@hds.com>
> * subject "Test Message" message "Hello and Welcome to STAF/STAX"*
>
>  *Error submitting request, RC: 4001*
>
> *Additional info*
>
> *---------------*
>
>  *Socket IO Error: java.net.UnknownHostException: 
> **mail.company.com*<http://mail.company.com/>
> * Mailserver: **mail.company.com* <http://mail.company.com/>* Port: 25*
>
> * *
>
> *C:\>*
>
>
>
>
>
>  *C:\>nslookup **mail.company.com* <http://mail.company.com/>
>
> *Server:  **dns.company.com* <http://dns.company.com/>
>
>  *Address:  123.45.34.254*
>
> * *
>
> *Non-authoritative answer:*
>
> *Name:    **mail.company.com* <http://mail.company.com/>
>
>  *Address:  10.12.34.124*
>
> *Aliases:  **mail.company.com* <http://mail.company.com/>
>
>
>
>
>
>  DNS is working OK. Firewall rules have been updated to allow send mails
> from the STAF server
>
>  So, I don’t know what is going on.
>
> Please help! Thanks!
>
>
> Regards,
> John Andoh
>
> ------------------------------------------------------------------------------
> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> staf-users mailing list
> staf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/staf-users
>
>
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to