07-18-2002
Problem with mail
Hello!
I have to servers with Solaris 2.7.
I mail from first to second ( mailx user@dev < letter ).
But mail not arrive to second. It return by daemon with explanation:
....
--- Transcript of session follows ---
550 5.1.2 user@dev... Host unknown (Name server: mailhost.serv.dom: host not found)
....
"ping dev" - work without any problem.
dev written in /etc/hosts. There is no DNS adjusted (no resolv.conf, etc)
telnet dev 25 - work without any problem also (I can send mail through smtp by the hand, using protocol)
I tried sendmail -d , and in the output it said that can't resolv "dev".
When I try to use exact ip -address , all like with "dev".
Thank you.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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. UNIX for Dummies Questions & Answers
Hello!
I have two servers with Solaris 2.7
I send mail from first to second.
The first is also dns. It's known as "ns.oldb.pkb", second is "dev.pkb".
Ping works successful from 1 to 2 and vice verse.
But when I am trying on first server :
sendmail -v user@dev.pkb < /etc/motd
it is... (3 Replies)
Discussion started by: Colf
3 Replies
5. OS X (Apple)
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
6. UNIX for Dummies Questions & Answers
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
7. Shell Programming and Scripting
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
8. Shell Programming and Scripting
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
9. Red Hat
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
10. UNIX for Advanced & Expert Users
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
comsat(8) System Manager's Manual comsat(8)
NAME
comsat - The biff server
SYNOPSIS
comsat
DESCRIPTION
The comsat server receives reports of incoming mail and notifies users who request this service. comsat is invoked by the inetd(8) daemon
when it receives messages on a datagram port associated with the biff(1) service specification in /etc/services(4). The datagram contains
a 1-line message of the form: user@mailbox-offset If the user specified is logged in and the associated terminal has the owner execute bit
turned on (with biff y), offset is used as a seek offset into the file named in mailbox. The first 7 lines or 560 characters of the mes-
sage are printed on the user's system. The message excludes mail header lines other than the From or Subject lines.
The comsat command always tries to convert incoming mail messages from the mail interchange codeset to the user's application codeset. It
determines the mail interchange code first by checking the mail message itself to see if it contains the required information. Otherwise,
the system-wide default mail interchange code in the file /usr/lib/mail-codesets will be used. If no such system file exists, no codeset
conversion will be performed.
The determination of the user's application code in each terminal session is by one of the following methods. The application codeset
defined in the user's Asian tty driver. The codeset name stored in the ~/.codesetdevname file, where devname is the name of the terminal
device for the current terminal session. You can obtain the value of devname by issuing the tty command. For example, if the tty command
returns /dev/ttys8, use ttys8 as the value for devname. The lang valued option defined in $HOME/.mailrc or /usr/share/lib/Mail.rc.
FILES
Specifies the command path. Includes information about logged-in users and their associated ttys. File containing mailx subcommands to
customize mailx for a specific user. File containing mailx subcommands to change mailx for all users on the system.
RELATED INFORMATION
Commands: biff(1), inetd(8), mailx(1), mh(1)
Files: services(4), inetd.conf(4), tty(7) delim off
comsat(8)