Mailing Problem


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Mailing Problem
# 1  
Old 11-24-2005
Mailing Problem

I have a Unix server with SunOS 5.8 installed on it. I have set a cron job which will send mail across the two different networks. As of now i can only send mails to the abc.com who owns the server but would also like to send it to xyz.com is there any setting or parameter wherein i need to add "xyz.com"

Thanks in advance.
Nimish
# 2  
Old 11-28-2005
how do you verify that xyz.com is not being emailed? if your email setup can send an email to abc.com, there is no reason it cannot send email to other domains ... it is entirely possible, however, that xyz.com is filtering your server's emails and not letting it pass through their firewall ...
# 3  
Old 12-02-2005
telnet xyz.com 25

You should get a 220 header:

220 xyz.com ESMTP Postfix (2.0.6) (Mandrake Linux)

Type 'quit' to end the session

221 Bye
Connection closed by foreign host.

That tells you that you can resolve xyz.com and that they're accepting e-mail from your server.

If it times out, someone's blocking e-mail (port 25) or they don't have e-mail listening on xyz.com (smtp's down). Maybe you need mail.xyz.com. If you can't resolve xyz.com, you'll need to check your /etc/hosts files or ensure that DNS is properly functioning.

Carl
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Mailing Script

Hi, I am totally New to This Scripting Area.We have developed some reports in Bo and User need those reports to be sent through Unix Server (SFTP). Can any one provide me script for transfering File from one location to other with the requirement like if that file fails to reach destination... (4 Replies)
Discussion started by: Sashanth_S
4 Replies

2. UNIX for Dummies Questions & Answers

Mailing in unix

is there any option to mail the value from top command directly to the user.. i want the value of cpu usage from six different servers to be send in a single mail.. thanks, Arun Manas:b: (3 Replies)
Discussion started by: arunmanas
3 Replies

3. Shell Programming and Scripting

mailing problem in unix

I have a mailing problem in UNIX.... MAILT="$1" MAILTO=`echo $MAILT | tr ';' ','` CONTENT="/var/www/html/notifier/mailnotify_ccdb.html" SUBJECT="$2" CC="man@abc.com" BCC="ant@abc.com" ( echo "To : ${MAILTO}" echo "Cc : ${CC}" echo "Subject: $SUBJECT" echo "MIME-Version: 1.0" ... (3 Replies)
Discussion started by: rdhanek
3 Replies

4. Shell Programming and Scripting

HTML mailing

Hi All, I have a comma separated file as below. file-1 ---------- a,b,c d,e,f g,h,i . . . I want to send the above file in Mail in HTML format with all the values of each column in separate cells i.e. the body of the mail should be in tabular format & each field should be separate... (2 Replies)
Discussion started by: 46019
2 Replies

5. Shell Programming and Scripting

issue with mailing

hi i run a mailing script daily using rsh i receive the mail sometimes but sometimes receive the permission denied error. could not understand the cause of permission denied because it sometimes runs properly and i am able to receive the mail Please Advice (4 Replies)
Discussion started by: mad_man12
4 Replies

6. Shell Programming and Scripting

Mailing script

Hi, I have a file lets say FILE1. FILE1 ------ name,age charlie,25 harry,29 david,32 Pls help me writing a mailing script.... which will mail the content of file in the body of the mail & it will look something like below in two columns. name age charlie 25 harry 29... (1 Reply)
Discussion started by: 46019
1 Replies

7. UNIX for Advanced & Expert Users

problem mailing HTML code in cron file.

Hi All, I have written a script which sends mail using “sendmail” command and mail contains HTML code. When I run scripts on terminal it is working properly, but when I try to run this script through a crontab file it sends blank mail with proper subject. crontab file detail : 00 05... (1 Reply)
Discussion started by: abhishek.mind
1 Replies

8. UNIX for Dummies Questions & Answers

Mailing an attachment

Hi, I need to compress (zip) a flat file and mail the same as an attachment. I had tried the following piece of code. But when i open the attachment in mail, the data is incorrect (displays all junk characters). tar cf abc.tar abc.txt compress abc.tar uuencode abc.tar.Z abc1.wri | mailx... (4 Replies)
Discussion started by: gayath3
4 Replies

9. Shell Programming and Scripting

Mailing an attachment

Hi, I need to compress (zip) a flat file and mail the same as an attachment. I had tried the following piece of code. But when i open the attachment in mail, the data is incorrect (displays all junk characters). tar cf abc.tar abc.txt compress abc.tar uuencode abc.tar.Z abc1.wri | mailx -s... (0 Replies)
Discussion started by: gayath3
0 Replies

10. UNIX for Dummies Questions & Answers

Mailing an attachment

Hi, I'm fairly new to using Unix and I was just wondering can someone please tell me the simplest way to mail and attachement using the mail command using Solaris? I have tried using uuencode file name | mail johndoe@ttp.ie but it hasn't worked. I have been mailing the file to myself using... (4 Replies)
Discussion started by: gerwhelan
4 Replies
Login or Register to Ask a Question