Server error: 501 #5.1.3 in UNIX


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Server error: 501 #5.1.3 in UNIX
# 1  
Old 02-06-2012
Server error: 501 #5.1.3 in UNIX

HI All ,

I am getting below errors .

Server error:501#5.1.3 Partial domain NOT allowed:'' or

Error IN sending mail Server error:501#5.1.3 Partial domain NOT allowed:'
I am using unix script to call filename.csv and send into outlook mail as attachment.Though file is present but i never receive the mail .

This issue is not permanent .Sometimes i find no error ,it executes successfully with smtp server. Not sure what is the rootcause as no logs are captured . Is it because of server/outlook/network issue ? please guide
# 2  
Old 02-06-2012
What Operating System and version are you using? What Shell do you use?
What mail client do you use?
Can you post the script which is failing?
Is there only one mail relay server involved here?

Ps. You probably have a space character in the addressee email address.

Last edited by methyl; 02-06-2012 at 07:56 AM..
# 3  
Old 02-06-2012
Hi Methyl ,

Using UNIX-HP F-secure SSH Client 5.3 ( Ksh )

Mail Client - Windows 7 using Microsoft office outlook3.

Code snippet failing :
Code:
&Exact::SendMail::sendMailMessage(
            $Exact::Config::MAIL_TO_ADDRESS,
            "File_Info",
            "Counts | $PERIOD",
            $mailBody,
            $FILE_NAME);
 
        &Exact::Logging::debug(__FILE__, __PACKAGE__,"Mail sent.");
print $dec;
} catch Error with {
        my $err = shift;
        &Exact::Logging::Trace::endWithError(__FILE__,$err);
    die;
} finally {
        $globTrDbHandle->disconnect;

I verified sending mail to 'MAIL_TO_ADDRESS' , it works fine .
I face issue with 3 out of 5 , when same script is run @different intervals/days. Its not problem with code . any help appreciated

Last edited by Franklin52; 02-06-2012 at 09:12 AM.. Reason: Please use code tags for data and code samples, thank you
# 4  
Old 02-06-2012
Sorry, I meant the mail client on the unix box. Though it looks like it is going to be "sendmail", but I am not 100% sure because "sendmail" is always lower-case.

The code you post is completely alien to me. What computer language is this? (Update: It's Perl).

I don't recognise your description of your unix Operating System (seems more like a PC terminal emulator with a virus scanner). Is the unix Operating System HP-UX? If so, you should be able to find the outgoing email logged in /usr/adm/syslog/mail.log including the actual email address which triggered the 501 error.
One way to trigger this error is to send to say "microsoft .com" (note the extra space character).

Last edited by methyl; 02-06-2012 at 10:26 AM.. Reason: worked out what language it is
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find and delete files and folders which are n days older from one unix server to another unix server

Hi All, Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older. Please note that I need to delete files on remote unix server.So, probably i will need to use sftp, but question is how can i identify files and folders which are 'N'... (2 Replies)
Discussion started by: sachinkl
2 Replies

2. Shell Programming and Scripting

Perl / SOAP error 'code=501'

Hi, I've got the following errors when running a Perl script: Any help will be greatly appreciated! (0 Replies)
Discussion started by: aixlover
0 Replies

3. Shell Programming and Scripting

Error in installing mysql on unix server

Hi , I am trying to install mysql but getting below error $# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) can anyone provide me this file 'mysql.sock' Thanks (6 Replies)
Discussion started by: aish11
6 Replies

4. SCO

Crash error on my unix server

Hi there. Well i have a really bad problem with my server: UnixWare Version 5 Release 7 The system crash :wall: and show the error: Panic: Kernel-mode address fault on user address 0x00000004 :eek: If anyone knows about the reason of this error please give me a help Sorry by my english.... (3 Replies)
Discussion started by: danilosevilla
3 Replies

5. UNIX and Linux Applications

Error while connecting to MySQl Server 5.1.34 on UNIX platform.

Hi, I have MySQL 5.1.34 installed on Solaris and Linux machine. MySQl installed Solaris Machine - A.A.A.A Remote Machine - B.B.B.B I have user in mysql.user as below: | user | password | host |... (2 Replies)
Discussion started by: amit_27
2 Replies

6. Shell Programming and Scripting

Connecting to multiple unix server from unix server using shell script

Hi Gurus, I'm a unix newbie and I would like to connect to multiple unix servers from unix server using shell script i.e from server a to server b,c,d etc. I want to copy the files from unix server a to server b, c, d. I can access staright using ssh without the need to have password and user... (5 Replies)
Discussion started by: sexyTrojan
5 Replies

7. UNIX for Dummies Questions & Answers

Receiving error on Unix server-- java.lang.UnsatisfiedLinkError: registerNatives

Hi all, This is my first shell script, so I'm hoping the problem is that I'm just missing something, and not something bigger. I have a Java application that I wrote in WSAD that reads data from an Excel file and inserts values into a DB2 database. I'm able to run it successfully in WSAD. I... (4 Replies)
Discussion started by: loveToBlade
4 Replies
Login or Register to Ask a Question