The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Axigen, A Fresh Approach for Mail Server Admins - Server Watch iBot UNIX and Linux RSS News 0 07-12-2007 02:20 PM
Mail Server ravneet UNIX for Dummies Questions & Answers 4 07-07-2004 05:10 AM
can not send mail from unix server to company/yahoo mail b5fnpct UNIX for Dummies Questions & Answers 5 11-22-2002 05:24 PM
Help on mail server irwan UNIX for Dummies Questions & Answers 1 07-11-2001 06:14 PM
Mail server bobmking UNIX for Dummies Questions & Answers 1 06-13-2001 09:17 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 4 Weeks Ago
Registered User
 

Join Date: Aug 2008
Posts: 4
Question Not able to mail from one Server to another

One of my unix servers are not having SMTP access, for other unix machine SMTP is enabled, so i tried to send the message by using 'mail' option from one unix machine to another.

But now 'mail' option is not working, i am not able to send message to any of my server by using mail command.

When i checked and found that message i send was hanging in /var/spool/mqueue directory.

when typed command 'mailq' there are 128 requests.

Please help me in solving this as early as possible,
Thanks in advance
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 4 Weeks Ago
ynilesh's Avatar
Registered User
 

Join Date: Oct 2007
Location: Bangalore, India.
Posts: 162
Can you please paste one mail output here ?
Does your domain resolve where you are trying to send mail ?

Please paste what error you are getting in maillo.

- nilesh
Reply With Quote
  #3 (permalink)  
Old 4 Weeks Ago
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,105
Probably the sendmail logs would be a better place to look for an explanation. The mailq output usually includes an indication of why a message was deferred, although it might be truncated (there's a "verbose" option or something to turn off the truncation, but I don't remember exactly what it's called).

Anyway, if SMTP is disabled, you should not be surprised that mail is not working. SMTP is what is used for delivering mail over a network.
Reply With Quote
  #4 (permalink)  
Old 4 Weeks Ago
Registered User
 

Join Date: Aug 2008
Posts: 4
Arrow

SMTP is enabled, but messages are struck in the /var/spool/mqueue

(root@ashwini)#cat qfm76GwhD800772
V4
T1218041923
K0
N0
P30039
I10/6/7055
Fb
$_appalagx@localhost
Sappalagx
Aappalagx@ashwini.xxxxx.com
RPFD:appalagx
H?P?Return-Path: <g>
H??Received: (from appalagx@localhost) by ashwini.xxxxx.com (AIX5.2/8.11.6p2/8.11.0) id m76GwhD800772 for appalagx; Wed, 6 Aug 2008 11:28:43 -0530
H?D?Date: Wed, 6 Aug 2008 11:28:43 -0530
H?F?From: "Girish_appalaraju@xxxxx.com" <appalagx>
H?x?Full-Name: Girish_appalaraju@xxxxx.com
H?M?Message-Id: <200808061658.m76GwhD800772@ashwini.xxxxx.com>
H??To: appalagx
H??Subject: fjafjkla

Above is one mail struck in /var/spool/mqueue directory.
Please have a look into it.
Reply With Quote
  #5 (permalink)  
Old 4 Weeks Ago
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,105
Please show the verbose mailq output for this message. Also please post anything you can find for this queue id in Sendmail's log.
Reply With Quote
  #6 (permalink)  
Old 4 Weeks Ago
ynilesh's Avatar
Registered User
 

Join Date: Oct 2007
Location: Bangalore, India.
Posts: 162
Did u try to telnet to 25/110 port on destination mail server.

Code:
telnet "target host ip" 25/110
Does you nameserver resolve's target mail domain name ?

- nilesh
Reply With Quote
  #7 (permalink)  
Old 4 Weeks Ago
Registered User
 

Join Date: Aug 2008
Posts: 4
firstly thank u for ur response, i dont have that much knowledge on Unix or servers as truly not able to understand some of ur technical words .

mailq out put i got...


(appalagx@ashwini) /home/ashwini/appalagx $ mailq
/var/spool/mqueue (141 requests)
----Q-ID---- --Size-- -----Q-Time----- ------------Sender/Recipient------------

m76IQ52613690X 0 Wed Aug 6 12:56 jogaragx
jogaragx
m76IcFu853142X 7 Wed Aug 6 13:08 jogaragx
jogaragx
m76IhV8630650X 7 Wed Aug 6 13:13 jogaragx
jogaragx
m76Hp6f797366X 10 Wed Aug 6 12:21 jogaragx
jogaragx
m76GjoN526964X 10 Wed Aug 6 11:15 gullasx
gullasx
m76HxpN374558X 11 Wed Aug 6 12:29 jogaragx
jogaragx
m76GwhD800772X 7 Wed Aug 6 11:28 appalagx
appalagx
m75MlIl429350X 5 Tue Aug 5 17:17 appalagx
appalagx
m76HwJR687976X 15 Wed Aug 6 12:28 jogaragx
jogaragx
m75N14i948802X 16 Tue Aug 5 17:31 gullasx
appalagx
m75N1JP961656X 14 Tue Aug 5 17:31 deviax
appalagx
m76Fu73870334X 181 Wed Aug 6 10:26 daemon
oracle

Sorry nilesh i'm not able to get you,

i jst tried the given command in 'run' by giving my host ip, cmd prompt appeared and vanished.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:56 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0