The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
sending mail via smtp elko.hasse UNIX for Dummies Questions & Answers 2 11-21-2007 05:41 AM
Copy Folders from Sun Solaris to Windows server. chandu_kalari SUN Solaris 3 07-12-2006 05:43 PM
SMTP mail Euler04 IP Networking 1 10-10-2005 12:54 PM
SMTP going to Junk Mail saabir UNIX for Advanced & Expert Users 3 02-23-2004 06:56 PM
Routing e-mail help Fairlady-Z UNIX for Dummies Questions & Answers 3 11-30-2001 11:22 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-01-2008
M2TTJ M2TTJ is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 3
Solaris mail routing to Windows SMTP server (trailing dot)

Hello,
Firstly, appologies, i am a windows man but i'm picking things up really quickly.!
We have some Unix boxes on our estate that route mail to a Windows SMTP server. This doesn't seem to work and after looking at the message headers it looks like the mail is getting bounced.
----- Transcript of session follows -----
... while talking to mailrelay.XXXX.local.:
>>> HELO unix011.XXXX.local.
<<< 501 5.5.4 Invalid Address
554 5.0.0 Service unavailable

Now, i think it's because of the trailing dot in the address from the unix box. Am i correct? and if so, how can this be rectified?
The mail routing is working, it's just the Unix boxes failing to connect. The unix guys dont really know and i just want to fix it.

Any help would be great. Many thanks.
  #2 (permalink)  
Old 08-01-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,062
1)Make sure that the server has a Fully Qualified Domain Name (FQDN).
2)route ADD "network" MASK "subnet mask" "gateway ip"
3)make sure you have mailhost defined in your naming system (local files, NIS, NIS+, DNS, etc.).

Our change was to the sendmail.cf file as follows:

1. Peform the following on the subject systems.

# cd /etc/mail/cf/cf
# cp sendmail.mc `hostname`.mc
# cp submit.mc `hostname`.submit.mc

2. modify `hostname.mc as follows:

Change the current entry, listed below, to reflect the new entry listed
below:

Current entry:

define(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl

New entry:
define(`SMART_HOST', `mailhost$?m.$m$.')dnl

3. After the change:
# make `hostname`.cf `hostname`.submit.cf

4. Make a backup of the existing sendmail files in /etc/mail.
# cd /etc/mail
# cp sendmail.cf sendmail.cf~
# cp submit.cf submit.cf~

5. Copy the newly edited files.
# cd /etc/mail/cf/cf
# cp `hostname`.cf /etc/mail/sendmail.cf
# cp `hostname`.submit.cf /etc/mail/submit.cf

restart sendmail daemon/service
  #3 (permalink)  
Old 08-01-2008
M2TTJ M2TTJ is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 3
Thank you very much for your reply.

I will forward this on to the Unix guys.

Thanks again.
  #4 (permalink)  
Old 08-01-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,062
have I got your question wrong?
  #5 (permalink)  
Old 08-01-2008
M2TTJ M2TTJ is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 3
no, i dont think so. i'm a windows guy and the issue with the way Soraris is talking to the SMTP server. It's leaving the trailing dot. Does your answer fix this?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:56 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0