- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail config for workflow mailer
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 01:47 AM
тАО03-06-2009 01:47 AM
currently iam configuring workflow mail for EBS 11.5.10.2, but i ned to configure senmail for that purpose , my OS is HP UX 11.11
we do have a seperate mail server in our organisation , can i send mail directly from my Unix server to mail clients configured with the mail server which i suppose is configured with some version of linux, we use outlook express as a mail client on windows platform
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 03:40 AM
тАО03-06-2009 03:40 AM
Re: sendmail config for workflow mailer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 03:44 AM
тАО03-06-2009 03:44 AM
Re: sendmail config for workflow mailer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 04:25 AM
тАО03-06-2009 04:25 AM
Re: sendmail config for workflow mailer
vi /etc/rc.config.d/mailsvrs
Set the sendmail variable to 1 so the daemon auto starts.
/sbin/init.d/sendmail start
Configure sendmail.cf file to this:
DSrelayserver_hostname
replace relayserver_hostname with the hostname or IP address of a system that is configured to relay smtp traffic inside your organization.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 04:28 AM
тАО03-06-2009 04:28 AM
Re: sendmail config for workflow mailer
i dont intend to send mails outside my organisation, plz tell me how do start mail from HP UX server to LAN windows based clients
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 04:31 AM
тАО03-06-2009 04:31 AM
Re: sendmail config for workflow mailer
whenevr i try starting sendmail i get this error
/sbin/init.d/sendmail start
Mar 6 17:46:27 test sendmail[28950]: problem creating SMTP socket
Mar 6 17:47:12 test sendmail[28950]: NOQUEUE: SYSERR(root): opendaemonsocket: server SMTP socket wedged: exiting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 04:35 AM
тАО03-06-2009 04:35 AM
Re: sendmail config for workflow mailer
What SEP replied to you earlier is what is needed. Why did you assume he was telling you how to send email outside your organization?
If you have done what SEP suggested, you will need to talk to your exchange administrator to allow your EBS host to relay mail to the exchange system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 04:38 AM
тАО03-06-2009 04:38 AM
Re: sendmail config for workflow mailer
but what about the error i have mentioned
iam unable to start sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 05:15 AM
тАО03-06-2009 05:15 AM
Re: sendmail config for workflow mailer
Sendmail is probably running already. You need to stop it and restart it.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 06:26 AM
тАО03-06-2009 06:26 AM
Re: sendmail config for workflow mailer
DSmail-relay-hostname
in your sendmail.cf file
Make sure you talk to the administrators of this mail relay host and have them add the ip address of your server to their authorized mail forwarders list (or whatever they are calling it). Otherwise, you will get mailbox not available messages every time you try to send a message
Hope this clears it.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 09:52 AM
тАО03-06-2009 09:52 AM
Re: sendmail config for workflow mailer
so i rebooted the server
now i am getting a diffrent error
# /sbin/init.d/sendmail start
/sbin/init.d/sendmail[54]: /etc/mail/sendmail.pid: Cannot find or open the file.
# Mar 6 23:07:43 test prngd[3051]: Will not touch /var/run/egd-pool: no socket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 10:07 AM
тАО03-06-2009 10:07 AM
Re: sendmail config for workflow mailer
i have EBS running on this server
but ps -ef | grep applmgr returns no value
also
./a1 returns
ps -ef |grep java
0
ps -ef |grep oracle
0
ps -ef |grep LOCAL=NO
0
ps -ef |grep applmgr
0
but there are processes running on server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 11:06 AM
тАО03-06-2009 11:06 AM
Re: sendmail config for workflow mailer
"ps -ef |grep sendmail" will tell you what is running. Also check the bottom of /var/adm/syslog/mail.log for errors or status.
On another thought what is the SMTP requirement of EBS? Does it use the local SMTP or does it have an SMTP server configuration? If it is the latter, you could probably point EBS directly to the exchange SMTP relay server.
"ps -ef |more" look in detail fro running processes to see what is running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 09:50 PM
тАО03-06-2009 09:50 PM
Re: sendmail config for workflow mailer
sendmail is running but when i try to stop it, it gives the error
# /sbin/init.d/sendmail stop
/usr/sbin/killsm[7]: /etc/mail/sendmail.pid: cannot open
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 10:36 PM
тАО03-06-2009 10:36 PM
Re: sendmail config for workflow mailer
the only problem is iam not able to send mail thru HP UX
i changed mailservs and sendmail.cf as suggested
and then use
sendmail user@domain.com
but i never recieve this email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 11:51 PM
тАО03-06-2009 11:51 PM
Re: sendmail config for workflow mailer
my mail server IP is 192.168.0.221 , no idea abt its hostname
HP UX server IP , from here i want to send an email 192.168.0.93
my desktop ip , from where i want to recieve a mail sent from 192.168.0.93 is 192.168.0.33
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 03:41 AM
тАО03-07-2009 03:41 AM
Re: sendmail config for workflow mailer
So as I suspected before the EBS is sending directly to the exchange server bypassing the local HP-UX sendmail.
Now let's verify the HP-UX sendmail.
Your desktop IP is not involved here. You still have to send email from HP-UX to the exchange server.
1) Did you put "DS192.168.0.221" in /etc/mail/sendmail.cf?
what is the output of
2) ps -ef | grep sendmail
3) ll /etc/mail/sendmail.cf
4) cat /etc/mail/sendmail.pid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 08:56 AM
тАО03-07-2009 08:56 AM
Re: sendmail config for workflow mailer
2 # ps -ef | grep sendmail
root 20721 15271 0 22:09:06 pts/tb 0:00 grep sendmail
root 9604 1 1 15:09:18 ? 0:17 sendmail: accepting connections on port 25
3 # ll /etc/mail/sendmail.cf
-r--r--r-- 1 bin bin 94367 Mar 6 17:56 /etc/mail/sendmail.cf
4 # cat /etc/mail/sendmail.pid
9604
/usr/sbin/sendmail -bd -q30m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 02:06 PM
тАО03-07-2009 02:06 PM
Re: sendmail config for workflow mailer
echo TESTMAIL | sendmail -v email.address@yourdomain.com
where "email.address" is a valid recipient and "yourdomain.com" is your email domain in your 192.168.0.221 email system. Post the output of the above command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2009 08:01 AM
тАО03-08-2009 08:01 AM
Re: sendmail config for workflow mailer
khannapaper.com: Name server timeout
meakin.singh@khannapaper.com... Transient parse error -- message queued for future delivery
meakin.singh@khannapaper.com... queued
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2009 10:03 AM
тАО03-08-2009 10:03 AM
Re: sendmail config for workflow mailer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2009 10:10 PM
тАО03-08-2009 10:10 PM
Re: sendmail config for workflow mailer
khannapaper.com: Name server timeout
meakin.singh@khannapaper.com... Transient parse error -- message queued for future delivery
meakin.singh@khannapaper.com... queued
#
sir,
this is the only output iam getting after running this command, is there some log generated ? id so , plaz tell me the location and i can post it here for your reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 03:45 AM
тАО03-09-2009 03:45 AM
Re: sendmail config for workflow mailer
Also post the contents of /etc/resolv.conf. It looks like your server can not resolve any names (host/domain)
Do you have a DNS server in your environment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 03:53 AM
тАО03-09-2009 03:53 AM
Re: sendmail config for workflow mailer
1. i dont have this file /etc/resolv.conf
2. i guess there is a DNS server , its ip is 192.168.0.120
3. lines from mail.log
Mar 9 17:07:01 test sendmail[3731]: RAA03729: to=root, ctladdr=root (0/3), delay=00:00:01, xdelay=00:00:01, mailer=local, stat=Sent
Mar 9 17:07:01 test sendmail[3736]: RAA03734: to=root, ctladdr=root (0/3), delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
Mar 9 17:07:01 test sendmail[3741]: RAA03739: to=root, ctladdr=root (0/3), delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
Mar 9 17:08:00 test sendmail[3834]: RAA03834: from=root, size=208, class=0, pri=30208, nrcpts=1, msgid=<200903091138.RAA03834@test.khannapaper.com>, relay=root@localhost
Mar 9 17:08:00 test sendmail[3836]: RAA03834: to=root, ctladdr=root (0/3), delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
Mar 9 17:08:54 test sendmail[3895]: RAA03895: to=meakin.singh@khannapaper.com, delay=00:00:00, mailer=relay, relay=192.168.0.221, stat=Transient parse error -- message queued for future delivery
Mar 9 17:08:54 test sendmail[3895]: RAA03895: from=root, size=9, class=0, pri=30009, nrcpts=1, msgid=<200903091138.RAA03895@test.khannapaper.com>, relay=root@localhost
Mar 9 17:08:54 test sendmail[3895]: RAA03895: to=meakin.singh@khannapaper.com, delay=00:00:00, mailer=relay, stat=queued
Mar 9 17:09:01 test sendmail[3917]: RAA03917: from=root, size=208, class=0, pri=30208, nrcpts=1, msgid=<200903091139.RAA03917@test.khannapaper.com>, relay=root@localhost
Mar 9 17:09:01 test sendmail[3919]: RAA03917: to=root, ctladdr=root (0/3), delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 04:20 AM
тАО03-09-2009 04:20 AM
SolutionIf not, the try the following "cp /etc/nsswitch.files /etc/nsswitch.conf" If that fails, Create a /etc/nsswitch.conf" file and in it you put the following lines
passwd: files
group: files
hosts: files
ipnodes: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
Then try the sendmail test again.
The /etc/nsswitch.conf file must be readable by everybody, permission mode 644.