Sponsored Content
Full Discussion: Problem with mail.
Top Forums UNIX for Dummies Questions & Answers Problem with mail. Post 25176 by RTM on Thursday 25th of July 2002 05:04:49 PM
Old 07-25-2002
Since sendmail.cf has mailhost in it, it's looking for a server called mailhost OR a DNS cname for mailhost.

This is what you need to do:

If you want to fix it in the sendmail.cf file, change mailhost to be the name of the mail server (what ever that is). Post back what it had in there just to make sure it's what you are looking for -

If you want to fix it in DNS, then you have to do a couple of things:
Post back what is in sendmail.cf for mailhost (the whole line).
Set up a MX record and set up mailhost to an IP of a system.

To see this, do a nslookup
% nslookup
Default Server: which1.mycom.com
Address: 10.140.16.20

> set type=mx
> ibm.com


ibm.com preference = 0, mail exchanger = ns.watson.ibm.com
ibm.com nameserver = ns.watson.ibm.com
ibm.com nameserver = ns.austin.ibm.com
ibm.com nameserver = ns.almaden.ibm.com
ibm.com nameserver = internet-server.zurich.ibm.com
ns.watson.ibm.com internet address = 198.81.209.2
ns.austin.ibm.com internet address = 192.35.232.34
ns.almaden.ibm.com internet address = 198.4.83.35
internet-server.zurich.ibm.com internet address = 195.176.20.204

The mail exchange for ibm.com is ns.watson.ibm.com. It's address is 198.81.209.2.

Check out Mr. DNS FAQ for mail questions. Great info in there and the one of the folks that wrote "DNS & Bind" answers most of the questions.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Problem with mail

what I have to write in a shell that every time that it arrives a new e-mail has to perform a program taking some data from the e-mail. (2 Replies)
Discussion started by: mmistero
2 Replies

2. UNIX for Advanced & Expert Users

mail problem !!

Hi, Below a try to send an email to a local user can be seen. I can NOT send e-mail anywhere, but I receive email perfectly. <pre> isgsi01(root)10: mail aris < /home/aris/mail2send dbm map "Alias0": unsafe map file /etc/mail/aliases: No such file or directory </pre> ..... but the... (3 Replies)
Discussion started by: guest100
3 Replies

3. UNIX for Dummies Questions & Answers

mail problem (NOT Mail or Mail.app)

When I try to use the CLI mail, I get the following error. What's wrong? Welcome to Darwin! % mail root Subject: test test . EOT % /etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory Do I just need to change the... (1 Reply)
Discussion started by: chenly
1 Replies

4. OS X (Apple)

mail problem

i have mac os x 2.2 jaguar and Mail wont open any links? When i click on them it just does nothing. does anybody know why/how to fix it? please help me.. thanks, blip (4 Replies)
Discussion started by: Blip
4 Replies

5. UNIX for Dummies Questions & Answers

mail problem

if ping $1 3 then { sleep 1 echo "HELO domain.co.uk" sleep 1 echo "MAIL FROM: mark@domain.co.uk" sleep 1 echo "RCPT TO: markms@domain.co.uk" sleep 1 echo "DATA" echo "This is a test from a file." echo "." echo "quit" } | telnet $1 25 else echo problem fi The above is... (1 Reply)
Discussion started by: markms
1 Replies

6. Shell Programming and Scripting

problem with Mail !

I have a o/p file called a1.txt from a script. I m mailing this file but the problem is that in the mail the format is comming different. Contents of a1.txt ------------------------------------ Meter 090845086LG is now Made AMR Active Meter 090845088LG is now Made AMR Active Meter... (4 Replies)
Discussion started by: ali560045
4 Replies

7. Shell Programming and Scripting

mail problem

hi folks , i am working in UNIX . i was wondered when i gone through below lines in some scripts. Can anyone describe me how this is working . thanks in advance.. /usr/sbin/sendmail -t < $0.email /usr/bin/mailx -s "$EDI_HOST: Report....@ `date`" GROUP_ALERT <<EOF `cat $0.email`... (3 Replies)
Discussion started by: rdhaprakasam
3 Replies

8. Red Hat

Mail Problem. Maybe, it is a DNS Problem!

Hi, i've a redhat linux 9 upadated by redhat from 7 version to 9 version. A couple of days ago i was a problem with my mail, in other words i'm not able to get any email nor to send any email. I've a proxy configuration and i tried to set iptables in order to verify the port. The 110,255 and 995... (1 Reply)
Discussion started by: pintalgi
1 Replies

9. UNIX for Advanced & Expert Users

HP UX mail problem

I am uxing HP UX mailx, I want to send mail with: 1) to list 2) cc list 3) sender address 4) mail body 5) subject 6) attachment I am using : (cat cc_list; cat mail_body; ux2dos file_1 | uuencode attachment.txt)|mailx -m -s "subject" -r sender@abc.com recepient@abc.com cc_list... (2 Replies)
Discussion started by: gautamadak
2 Replies

10. UNIX for Dummies Questions & Answers

Mail Problem

Hi All, I am having a problem that is very similar to the one being discussed here. I am using OS X and am trying to send mail from the OS X Terminal to my GMail account. The mail seems to go through, but gets stuck at Google's servers. I have a log file from the /var/mail directory that... (0 Replies)
Discussion started by: danielsutton
0 Replies
xchkdmp(8)					       JFS utility - dump fsck.jfs log file						xchkdmp(8)

NAME
xchkdmp - dump the contents of a JFS fsck log file created with xchklog SYNOPSIS
xchkdmp [ -f input.file ] [ -V ] DESCRIPTION
xchkdmp dumps the contents of a JFS fsck log file that was created by JFS utility xchklog. If no input file is specified, the default path and file name (<pwd>fscklog.new) is used. The output is written to standard out. OPTIONS
-f input.file Specifies the input file name and path. input.file must be 127 characters or less in length. input.file will be read from the present working directory unless it is fully qualified. -V Print version information and exit (regardless of any other chosen options). EXAMPLES
Dump the contents of the fsck service log in <pwd>fscklog.new: xchkdmp Dump the contents of the fsck service log in /temp/l9651107.log: xchkdmp -f /temp/l9651107.log REPORTING BUGS
If you find a bug in JFS or xchkdmp , please report it via the bug tracking system ("Report Bugs" section) of the JFS project web site: http://oss.software.ibm.com/jfs Please send as much pertinent information as possible, including any xchkdmp error messages and the complete output of running fsck.jfs with the -v option on the JFS device. SEE ALSO
xchklog(8), mkfs.jfs(8), fsck.jfs(8), logdump(8), logredo(8), xpeek(8) AUTHOR
Barry Arndt (barndt@us.ibm.com) xchkdmp is maintained by IBM. See the JFS project web site for more details: http://oss.software.ibm.com/jfs January 11, 2001 xchkdmp(8)
All times are GMT -4. The time now is 08:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy