- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail problem
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
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
тАО09-08-2004 06:49 AM
тАО09-08-2004 06:49 AM
sendmail problem
Have tried multiple configurations of the sendmail.cf
When testing I got the error message below:
#
# /usr/sbin/sendmail -bv -v -oL10 rhicardo@gmail.com
sh: gmail.com: not found.
#
#
But when I do nslookup, I can resolve the name:
#
# nslookup gmail.com
*** Can't find server name for address 127.0.0.1: No response from server
Name Server: brns1.br-petrobras.com.br
Address: 172.31.9.230
Trying DNS
Non-authoritative answer:
Name: gmail.com
Address: 216.239.57.107
#
Anyone can help me please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 06:56 AM
тАО09-08-2004 06:56 AM
Re: sendmail problem
hosts: files [NOTFOUND=continue TRYAGAIN=continue UNAVAIL=continue] dns
and /etc/resolv.conf?
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 07:00 AM
тАО09-08-2004 07:00 AM
Re: sendmail problem
For some reason i dont think it is sendmail related.
because the
sh: gmail.com: not found.
error only happends when you try to run a commmand. And the command does not exist in your path.
have you tried with any other domains?
or just
sendmail -v rhicardo@gmail.com
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 07:04 AM
тАО09-08-2004 07:04 AM
Re: sendmail problem
Richard thanks for your help
=============================
/etc/nsswitch.conf
=============================
passwd: files
group: files
hosts: dns [notfound=continue tryagain=continue unavail=continue] files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
netgroup: files
automount: files
=============================
/etc/resolv.conf
=============================
domain br-petrobras.com.br
nameserver 127.0.0.1
nameserver 172.31.9.230
nameserver 172.31.9.231
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 07:14 AM
тАО09-08-2004 07:14 AM
Re: sendmail problem
Richard,
Yes, I├В┬┤ve tried others domains and got the same error.
#
# sendmail -v rhicardo@gmail.com
sh: gmail.com: not found.
#
#
It├В┬┤s hard to find a way to so
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 07:31 AM
тАО09-08-2004 07:31 AM
Re: sendmail problem
From your last post it does not look like a sendmail issue.
sendmail -v user@domain.com
should return a line to write an email.
just wondering but what do you get when you do
echo "test" | sendmail -v rhicardo@gmail.com
Or
vi smfile
and put the mail info in there.
To:rhicardo@gmail.com
Subject: test
data
blah blah
cat smfile | sendmail -t
what I would like to see is what happens when sendmail is not the first command and what happends when we take out the user@domain out of the command line string.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 08:16 AM
тАО09-08-2004 08:16 AM
Re: sendmail problem
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 08:24 AM
тАО09-08-2004 08:24 AM
Re: sendmail problem
X.X.X.X yourserver yourserver.yourdomain.com
Where is your sendmail?
which sendmail
Do a what on it or a:
sendmail -d0.1 < /dev/null | grep -i version
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 01:54 AM
тАО09-09-2004 01:54 AM
Re: sendmail problem
Hi everyone !!
The problem is solved!!
In my configuration of stty (stty -a), the "kill" parameter was "@", I changed to "^U".
Can you believe it?
Thank you very much for all your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 02:57 AM
тАО09-09-2004 02:57 AM
Re: sendmail problem
Because of not setting terminal type spefication for @ character it is prompting the contents after it as new command.
Try to set to eol on stty as,
stty eol "^@"
And try to put this on root user profile and /etc/profile for normal users to get rid of this problem for ever.