Solaris mail routing to Windows SMTP server (trailing dot)


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Solaris mail routing to Windows SMTP server (trailing dot)
# 1  
Old 08-01-2008
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. Smilie
----- 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  
Old 08-01-2008
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  
Old 08-01-2008
Thank you very much for your reply.

I will forward this on to the Unix guys.

Thanks again. Smilie
# 4  
Old 08-01-2008
have I got your question wrong? Smilie
# 5  
Old 08-01-2008
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?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

OutBound SMTP Server Mail issue

Hi all I have a Live SMTP server for outbound mails ( Mail being sent from my organization to outside domains). A large chunk of mails are not being sent and reside in /var/spool/mqueue directory. The header of there mails are: From: Mail Delivery Subsystem <MAILER-DAEMON> How can I... (0 Replies)
Discussion started by: Junaid Subhani
0 Replies

2. Shell Programming and Scripting

php code - Sending mail with external SMTP server

Here is the code: <?php //new function function loadini($path) { $fp = fopen($path, "r"); $fpcontents = fread($fp, filesize($path)); fclose($fp); return $fpcontents; } $to = "test@test.com"; $nameto = "notme"; $from = "test"; $namefrom = "Who From"; ... (0 Replies)
Discussion started by: galford
0 Replies

3. Solaris

Is a Solaris dhcp server better than windows?

hi, we are moving to dhcp from a static ip and i'm thinking which should best be the DHCP server? i have a windows 2003 server and a solaris 10 running on sun's m5000 server. Note to pinoy43v3r: Your avatar was NSFW. We changed it. (5 Replies)
Discussion started by: pinoy43v3r
5 Replies

4. Shell Programming and Scripting

printing trailing dot

how to print a continuous trailing dot in output like ".........................." while a script is executing. Can anyone help... (23 Replies)
Discussion started by: proactiveaditya
23 Replies

5. UNIX for Dummies Questions & Answers

Mail Server on solaris (newbie)

Hello to all, My company has installed CW LMS 3 on a Solaris 10 server. I want to configure the system as a mail server, so that it sends an e-mail when a network incident occurs. I have created a user account and I have configured Thunderbird Mozilla to retrieve the e-mails. I have configured... (0 Replies)
Discussion started by: kadar
0 Replies

6. Solaris

NTFS under Solaris (switching from windows to Solaris server)

I want just to keep Solaris OS as my default OS . I have installed linux and windows as well but all my critical data is stored on NTFS partition so question is how to mount HDD with NTFS on Solaris (tried FUSE + NTFS-3g but that did`t worked for me system was down) And why Solaris does not... (2 Replies)
Discussion started by: microbot
2 Replies

7. Windows & DOS: Issues & Discussions

Send mail using SMTP

Hi I need to send email from batch script, using SMTP from my exchange server. Can any one send me command line of that should be non interactive. I did using MAPISEND, but i should not use it for some reasons. I have to send this using SMTP for Microsoft Exchange Server. mapisend -u... (2 Replies)
Discussion started by: mohantmk
2 Replies

8. UNIX for Advanced & Expert Users

Configuring Linux box with the smtp mail server

Hi all, I was trying to configure SMTP server with my linux box. I made changes to the /etc/mail/sendmail.cf whereby editing the line DAEMON_OPTIONS(`Port=<port number>,Addr=<mail server name>, Name=MTA')dnl after this ive created a new sendmail.cf file by using the command m4... (4 Replies)
Discussion started by: amit_kv1983
4 Replies

9. UNIX for Advanced & Expert Users

How to configure Linux box with my SMTP mail server

Hi all, I need to send mail to a particular email id using a local mail server.This mail shall contain the content of a file. I don't have any idea how to do it. Can anyone guide me ,where to start proceeding for it. Any guide or study material would appreciated. (1 Reply)
Discussion started by: amit_kv1983
1 Replies

10. IP Networking

SMTP mail

I want to send e-mail from my yahoo account. But mail -s "title" *@yahoo.com < line.txt is from my local address to *@yahoo.com. How can i do this? (1 Reply)
Discussion started by: Euler04
1 Replies
Login or Register to Ask a Question