04-06-2006
first of all let me thank dsbeerf I solve a problem...
simply I could fing mail server so in etc/hosts I put:
IP mail.domain.com mailhost
but I use exactly word mailhost. And it works...perfect...but when I tried to to that on the other solaris machine (same one, that same one machine also can ping mail server) I get other message:
Apr 5 11:54:05 a1mmdpp sendmail[877]: [ID 702911 mail.alert] unable to qualify my own domain name (a1mmdpp-mdppcore) --
using short name
so I was wondering considering that it is same machine and in etc/hosts I put same stuff..what might be...
Thanks to everyone..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, Gurus,
I need some help with sending mail out from my UNIX server:
It is running Solaris 2.6 and the sendmail version is 8.8.
Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null
Version 8.8.8+Sun
Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET
... (5 Replies)
Discussion started by: b5fnpct
5 Replies
2. UNIX for Dummies Questions & Answers
Using Mailx command i.e
mailx -s "subject" chinni@hotmail.com < \tmp\chin
this command executed sucessfully but not able to receive the mail in chinni@hotmail.com
please help. (1 Reply)
Discussion started by: chinnigd
1 Replies
3. UNIX for Dummies Questions & Answers
Hi !!
I'm trying to send myself a mail from my Solaris server, i had tryed with this commands:
mail -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt
mailx -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt
sendmail -F "test" address "irasela.yahoo.com" -t... (1 Reply)
Discussion started by: irasela
1 Replies
4. Shell Programming and Scripting
Hello,
I am new to perl and need to create a script that will read a file and pull a name from the file and send e-mail.
How can I use the following awk statement in a perl script?
grep UNIXadmins /root/mail.conf | awk '{ print $2}'
and use the output to send a e-mail.
Any help would... (1 Reply)
Discussion started by: DC Heard
1 Replies
5. UNIX for Advanced & Expert Users
Hi All,
I have a requirement to send and email of body html with an attachment.
concatinating uuencode output to the mail body with mailx command works, but as my Email body is of HTML type i use sendmail.
my command to send HTML body is as below:
export MAILTO="recipient@domain.com"... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies
6. UNIX for Dummies Questions & Answers
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies
7. UNIX for Advanced & Expert Users
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies
8. UNIX for Advanced & Expert Users
Hi all,
I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix.
How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies
9. Shell Programming and Scripting
Hello,
I am using centos-6.2
I have apache server,php5 on my system and I want to send mail using sendmail on my system.
when I try to send mail from shell that time mail is succesfully sent to respective address()
but when I try to send it through webbrowser I am not able to send it.... (1 Reply)
Discussion started by: Kiran ursal
1 Replies
10. UNIX for Advanced & Expert Users
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
LEARN ABOUT CENTOS
mailaddr
MAILADDR(7) Linux User's Manual MAILADDR(7)
NAME
mailaddr - mail addressing description
DESCRIPTION
This manual page gives a brief introduction to SMTP mail addresses, as used on the Internet. These addresses are in the general format
user@domain
where a domain is a hierarchical dot-separated list of subdomains. These examples are valid forms of the same address:
eric@monet.berkeley.edu
Eric Allman <eric@monet.berkeley.edu>
eric@monet.berkeley.edu (Eric Allman)
The domain part ("monet.berkeley.edu") is a mail-accepting domain. It can be a host and in the past it usually was, but it doesn't have to
be. The domain part is not case sensitive.
The local part ("eric") is often a username, but its meaning is defined by the local software. Sometimes it is case sensitive, although
that is unusual. If you see a local-part that looks like garbage, it is usually because of a gateway between an internal e-mail system and
the net, here are some examples:
"surname/admd=telemail/c=us/o=hp/prmd=hp"@some.where
USER%SOMETHING@some.where
machine!machine!name@some.where
I2461572@some.where
(These are, respectively, an X.400 gateway, a gateway to an arbitrary internal mail system that lacks proper internet support, an UUCP
gateway, and the last one is just boring username policy.)
The real-name part ("Eric Allman") can either be placed before <>, or in () at the end. (Strictly speaking the two aren't the same, but
the difference is beyond the scope of this page.) The name may have to be quoted using "", for example, if it contains ".":
"Eric P. Allman" <eric@monet.berkeley.edu>
Abbreviation.
Many mail systems let users abbreviate the domain name. For instance, users at berkeley.edu may get away with "eric@monet" to send mail to
Eric Allman. This behavior is deprecated. Sometimes it works, but you should not depend on it.
Route-addrs.
In the past, sometimes one had to route a message through several hosts to get it to its final destination. Addresses which show these
relays are termed "route-addrs". These use the syntax:
<@hosta,@hostb:user@hostc>
This specifies that the message should be sent to hosta, from there to hostb, and finally to hostc. Many hosts disregard route-addrs and
send directly to hostc.
Route-addrs are very unusual now. They occur sometimes in old mail archives. It is generally possible to ignore all but the "user@hostc"
part of the address to determine the actual address.
Postmaster.
Every site is required to have a user or user alias designated "postmaster" to which problems with the mail system may be addressed. The
"postmaster" address is not case sensitive.
FILES
/etc/aliases
~/.forward
SEE ALSO
binmail(1), mail(1), mconnect(1), aliases(5), forward(5), sendmail(8), vrfy(8)
RFC 2822 (Internet Message Format)
COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
4.2 Berkeley Distribution 2004-09-15 MAILADDR(7)