![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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. |
|
||||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|