ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » EmailOutput Node on AIX using Sendmail

Post new topic  Reply to topic Goto page 1, 2  Next
 EmailOutput Node on AIX using Sendmail « View previous topic :: View next topic » 
Author Message
whydieanut
PostPosted: Tue Aug 07, 2012 2:17 am    Post subject: EmailOutput Node on AIX using Sendmail Reply with quote

Disciple

Joined: 02 Apr 2010
Posts: 186

Hi all,

I am trying to use the EmailOutput Node (WMB 7.0.0.3) on AIX (6.1).
Now given that I don't have a separate SMTP server, what are my options?

Can I use Sendmail on AIX?
If so what are the configurations needed to get it working?

I tried using localhost:25 as the SMTPServer but I keep getting the below error:
Code:
'501 5.1.8 Domain of sender address <broker-user-id>@<AIX-host-name> does not exist


I then tried modifying the sendmail.cf file by un-commenting the below line:
Code:
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM
Dj$w.Foo.COM



The error then changed to:
Code:
'Could not connect to SMTP host: localhost, port: 25
A remote host refused an attempted connect operation.


Now the error has automatically gone back to the first one:
Domain of sender address ... does not exist


I can do a telnet to the said server using:
>telnet <IP-address> 25

and I get the following prompt:
Code:
220 ailpw33sta ESMTP Sendmail Tue, 7 Aug 2012 20:58:40 +0530
Back to top
View user's profile Send private message
whydieanut
PostPosted: Tue Aug 07, 2012 2:20 am    Post subject: Reply with quote

Disciple

Joined: 02 Apr 2010
Posts: 186

Sendmail service is active on the server, but doesn't show the port no.

Code:
bash-3.00# ps -ef | grep sendmail
    root 13238336  3539094   0 12:27:12      -  0:00 sendmail: accepting connections
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 07, 2012 2:51 am    Post subject: Re: EmailOutput Node on AIX using Sendmail Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

whydieanut wrote:
Now given that I don't have a separate SMTP server, what are my options?


Get an SMTP server?

whydieanut wrote:
Can I use Sendmail on AIX?




At least, not from that node which is designed to interface with an SMTP server.

It's a fairly straightforward task to build a bridging application in C/C++/Java/Perl/script/etc/etc
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 07, 2012 2:52 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

whydieanut wrote:
Sendmail service is active on the server, but doesn't show the port no.

Code:
bash-3.00# ps -ef | grep sendmail
    root 13238336  3539094   0 12:27:12      -  0:00 sendmail: accepting connections


AFAIK Sendmail doesn't listen on any port, and doesn't expose any SMTP services.

Someone may know better than me.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
whydieanut
PostPosted: Tue Aug 07, 2012 2:56 am    Post subject: Reply with quote

Disciple

Joined: 02 Apr 2010
Posts: 186

Thanks.

So in short, Sendmail can't be used as-is by the EmailOutput Node to send mails.
It requires an SMTP server.
Right?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 07, 2012 4:40 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

whydieanut wrote:
So in short, Sendmail can't be used as-is by the EmailOutput Node to send mails.
It requires an SMTP server.
Right?




I offer this quote from the "Purpose" section as evidence:

Quote:
The EmailOutput node delivers an email message from a message flow to an SMTP server that you specify


As I indicated above, someone may know how to make Sendmail pretend it's an SMTP server. I don't know how, or if, and have never used Sendmail in that way.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 07, 2012 5:22 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Uhm.
Sendmail is an opensource program capable of being an SMTP server, and in fact has at times been the majority stakeholder in SMTP servers exchanging mail across the globe.

That said, it's not very easy to just spin up a copy and go. There are a number of other products (free and open source or otherwise) that can provide a better experience for a less experienced mail administrator, at least in terms of providing a tool to configure sendmail if not in simply providing an easier to configure smtp server.

The difficulty is that you can't necessarily just spin up a mail server and start having emails delivered to people on *other* mail servers. You may have to take a number of steps to get them to decide to trust you, because of the spam problem.

And it's hard to believe that any site that had paid for a copy of broker to run on AIX would not have their own mail servers, nor be willing to expose them to said Broker for the purposes of fulfilling their business requirements.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Aug 07, 2012 5:30 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

mqjeff wrote:
Uhm. Sendmail is an opensource program capable of being an SMTP server, and in fact has at times been the majority stakeholder in SMTP servers exchanging mail across the globe.


Oh, so thats where spam comes from. I always wondered.

roadrunner wrote:
Beep, beep.


Ptchew....
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Aug 07, 2012 5:49 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The other thing to remember is, that unless the AIX box is completely blocked off from the network, there's no particular reason that the EmailOutput node has to talk to a mail server that's running on the AIX box itself.

So it may be easier to run a test mail server on some other box on some other OS than to configure sendmail on AIX just because sendmail is already installed.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Aug 07, 2012 5:53 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Get yourself a SMTP Email Server that is a whole lot easier to setup than Sendmail.

I tend to opt for Axigen. you can get a free (limited use) license for it. Easy to setup and comes with a nice web admin interface.

I install it into a Linux VM and more or less forget about it. It works pretty much OOTB.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 07, 2012 6:17 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
The other thing to remember is, that unless the AIX box is completely blocked off from the network, there's no particular reason that the EmailOutput node has to talk to a mail server that's running on the AIX box itself.




When I said "Get an SMTP server" it might have been clearer to say "Get access to an SMTP server"

I found it unlikely that your organization doesn't possess one somewhere.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Aug 07, 2012 8:34 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Vitor wrote:
[
I found it unlikely that your organization doesn't possess one somewhere.


Whilst that might be true, getting 'permission' to connect an unapproved email client to something like Exhange is another matter totally. From personal experience on one organisation this proved to be impossible to acheive so the Broker team went out and bought their own SMTP Server.
Then the Exchange team tried to nuke the project saying that the newly purchased system should be managed by them. It took action at the IT Director level to tell them in no uncertain terms that they were to leave it well alone. Company Politics Doh!

_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 07, 2012 8:39 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

smdavies99 wrote:
Vitor wrote:
[
I found it unlikely that your organization doesn't possess one somewhere.


Whilst that might be true, getting 'permission' to connect an unapproved email client to something like Exhange is another matter totally. From personal experience on one organisation this proved to be impossible to acheive so the Broker team went out and bought their own SMTP Server.
Then the Exchange team tried to nuke the project saying that the newly purchased system should be managed by them. It took action at the IT Director level to tell them in no uncertain terms that they were to leave it well alone. Company Politics Doh!


So the IT Director could get them to keep their hands off the SMTP server you bought, but couldn't get them to let you just use their servers instead? Interesting.

Did you happen to couch all of your discussion about sending email in terms of technical needs, rather than 'business requirements'?

"We have an identified business need to send these notification emails that our file system is 75% full".
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Aug 07, 2012 8:47 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

mqjeff wrote:

So the IT Director could get them to keep their hands off the SMTP server you bought, but couldn't get them to let you just use their servers instead? Interesting.

Did you happen to couch all of your discussion about sending email in terms of technical needs, rather than 'business requirements'?


Ironic isn't it? The Director had signed off on the purchase of the SMTP server... Egg on face perhaps. Bt the email team basically said that nothing other than Outlook would be allowed to connect to their precious Exchange Server. Lots of business reasons were given but they refused to budge. It wasn't in their SLA and that was that.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 07, 2012 9:10 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

smdavies99 wrote:
mqjeff wrote:

So the IT Director could get them to keep their hands off the SMTP server you bought, but couldn't get them to let you just use their servers instead? Interesting.

Did you happen to couch all of your discussion about sending email in terms of technical needs, rather than 'business requirements'?


Ironic isn't it? The Director had signed off on the purchase of the SMTP server... Egg on face perhaps. Bt the email team basically said that nothing other than Outlook would be allowed to connect to their precious Exchange Server. Lots of business reasons were given but they refused to budge. It wasn't in their SLA and that was that.


Let me guess the punchline.

You used the SMTP server you bought to send email to Exchange addresses.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » EmailOutput Node on AIX using Sendmail
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.