- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SENDMAIL configuration (urgent)
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
тАО02-13-2009 12:13 AM
тАО02-13-2009 12:13 AM
SENDMAIL configuration (urgent)
im a newbe on HP_UX systems
the hp_ux 11iv3 is installed on a server
can someone help me in the sendmail configuration to be activated in order to sendmail to XXX.com
in other words i need to enable mails to be forwarded to an address xxx.com
what is the configuration needed for doing this task.
i have the hostname and ip address of the mail server,if there any needed information that are missing plz let me know
your help is urgently needed
thx and best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 12:25 AM
тАО02-13-2009 12:25 AM
Re: SENDMAIL configuration (urgent)
- add ip and hostname of mail server
2) edit /etc/sendmail.cf:
Dj$.yourdomain.com
DSmailserver
3)testing by "sendmail -v user@hotmail.com test"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 06:14 AM
тАО02-13-2009 06:14 AM
Re: SENDMAIL configuration (urgent)
when executing the following commond
sendmail -v tandra@cis.com.lb test
i have the following output:
WARNING: local host name (Training) is not qualified; see cf/README: WHO AM I?
test... Warning: alias database /etc/mail/aliases.db out of date
test... User unknown
thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2009 10:41 AM
тАО02-14-2009 10:41 AM
Re: SENDMAIL configuration (urgent)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2009 12:38 PM
тАО02-14-2009 12:38 PM
Re: SENDMAIL configuration (urgent)
Some configuration is required on the receiving smtp relay server.
Not qualified probably means that the receiving host is expecting mail from a fully qualified domain name that can be confirmed on a DNS server.
Having this server in the access file with OK or RELAY defined should get around this issue.
http://www.hpux.ws/?p=5
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
тАО02-14-2009 06:14 PM
тАО02-14-2009 06:14 PM
Re: SENDMAIL configuration (urgent)
You have three common errors in your setup:
QUOTE
sendmail -v tandra@cis.com.lb test
WARNING: local host name (Training) is not qualified; see cf/README: WHO AM I?
test... Warning: alias database /etc/mail/aliases.db out of date
test... User unknown
END QUOTE
a) /etc/mail/aliases database is old.
Recreata by running command newaliases(M).
b) "Local host name not qualified" means you
do not have Fully Qualified Doman Name (FQDN)
for your host in /etc/hosts. Most probably,
you have something like:
X.Y.Z.Q myhost
You should have something like
X.Y.Z.Q myhost.mydom.dom myhost
c) Finally, you used sendmail
with wrong syntax. To dry-run check
email delivery, simply run
/usr/lib/sendmail -bv tandra@cis.com.lb
I think you wanted to pass Subject:
header to sendmail, and this is not the way
to do it.
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2009 01:32 AM
тАО02-16-2009 01:32 AM
Re: SENDMAIL configuration (urgent)
plz check my steps and let me know if there something wrong,
1)
The hostname of the mail server: cis-mail.cismail.com.lb
The ip of the email server is 192.168.244.18
The hostname of the hp_ux server: Training
The ip and hostname of the mail server are edited in the hosts file
2)
Domain name:cisw2kdf.com.lb
Hostname of the mail server:cis-mail.cismail.com.lb
In the sendmail.cf file the following information are edited
#DJ$.cisw2kdf.com.lb
#DScis-mail.cismail.com.lb
3)
in the aliases file I added
#Unix Administration
Root :unix_admin
Unix_admin :tandra@cis.com.lb
Then save and exit
4)
When I try to run newaliases command
The following error appear:
# newaliases
/etc/mail/sendmail.cf: WARNING: dangerous write permissions
WARNING: local host name (Training) is not qualified; see cf/README: WHO AM I?
/etc/mail/aliases: 9 aliases, longest 22 bytes, 134 bytes total
5)
When the command sendmail ├в v tandra@cis.com.lb test is executed,
I have the following output:
WARNING: local host name (Training) is not qualified; see cf/README: WHO AM I?
When the command sendmail ├в bv tandra@cis.com.lb test is executed
I have the following output:
tandra@cis.com.lb... deliverable: mailer esmtp, host cis.com.lb., user tandra@cis.com.lb
am Waiting for your replies. It├в s an urgent case.
thx
best regards,
tandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2009 04:51 AM
тАО02-16-2009 04:51 AM
Re: SENDMAIL configuration (urgent)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2009 05:04 AM
тАО02-16-2009 05:04 AM
Re: SENDMAIL configuration (urgent)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2009 06:51 AM
тАО02-16-2009 06:51 AM
Re: SENDMAIL configuration (urgent)
Restart sendmail after changes.
Also, make sure you have your /etc/hosts entry something like
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 12:02 AM
тАО02-17-2009 12:02 AM
Re: SENDMAIL configuration (urgent)
the same errors still exist!
are there any steps that could be taken?
thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2009 11:53 PM
тАО02-18-2009 11:53 PM
Re: SENDMAIL configuration (urgent)
is there any update concerning this issue!
its realy an urgent case..and i need some help!
thx and regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 01:22 AM
тАО02-19-2009 01:22 AM
Re: SENDMAIL configuration (urgent)
Also paste the contents of /etc/hosts file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 02:00 AM
тАО02-19-2009 02:00 AM
Re: SENDMAIL configuration (urgent)
the hosts file contain the following information:
#
192.168.244.198 Training
192.168.250.14 cis-mail.cismail.com.lb cis-mail
192.168.250.6 cis2ks2.cisw2kd2.cis.com cis2ks2
127.0.0.1 localhost loopback
thxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 02:30 AM
тАО02-19-2009 02:30 AM
Re: SENDMAIL configuration (urgent)
Dj$w.cisw2kdf.com.lb
DScis-mail.cismail.com.lb
in the above explanation you have pointed the domain to be cisw2kdf.com.lb and with the sendmail.cf it is cisw2kd.com.lb, please check and fix
Also, with your /etc/hosts make entry like
192.168.244.198 Training.cisw2kd.com.lb Training
Restart sendmail and test.
Let me know how it goes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 03:08 AM
тАО02-19-2009 03:08 AM
Re: SENDMAIL configuration (urgent)
i have always the same errors..
# sendmail -bv tania@cis.com.lb
tanios_trad@cis.com.lb... deliverable: mailer esmtp, host cis.com.lb., user t
anios_trad@cis.com.lb
# sendmail -v tania@cis.com.lb
WARNING: local host name (Training) is not qualified; see cf/README: WHO AM I
?
is there any additional steps to be performed ?
thxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2009 01:47 AM
тАО02-20-2009 01:47 AM
Re: SENDMAIL configuration (urgent)
Have you carefully read my previous post:
QUOTE
b) "Local host name not qualified" means you
do not have Fully Qualified Doman Name (FQDN)
for your host in /etc/hosts. Most probably,
you have something like:
X.Y.Z.Q Training
You should have something like
X.Y.Z.Q Training.mydom.dom Training
END QUOTE
By the way, why are you using upper-case
characters for hostname? Stick to
lower-case.
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 02:39 PM
тАО02-24-2009 02:39 PM
Re: SENDMAIL configuration (urgent)
Steps..
1. Change /etc/mail/sendmail.cf
#Dj$w.Foo.COM
Dj$mi.dominio.com
# "Smart" relay host (may be null)
DS
DSserver_mail
2. copy nsswitch.file to nsswitch.conf in /etc
3. Test
mailx -s "TEST" user_name@domain.com