Sponsored Content
Full Discussion: Sendmail not working
Operating Systems Linux Red Hat Sendmail not working Post 302877066 by jegaraman on Thursday 28th of November 2013 02:06:30 AM
Old 11-28-2013
Sendmail not working

Dear All,

I have a sendmail configured in one of our linux server.

But when I send mail , it is giving the error

DSN Service Unavailable 5.0.0

But the same sendmail configuration is working fine with another SMTP IP.

On the /var/spool/mail/root log , it is saying "Client not Authenicated"

Rgds
Rj
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sendmail not working

Hi I am trying to send mail using sendmail as well as mai option.But its not getting delivered in the recipient address.However on checking systemlog ,i could find the statusas "sent".What might be the issue. Regards S (2 Replies)
Discussion started by: sushovan
2 Replies

2. UNIX for Advanced & Expert Users

Sendmail is not working properly

Hi All, Can any one help me to solve the issue. The Issue is, i have started the sendmail service on my RHEL 4 update 6 box, I am able to send the mail from my box to almost all of the Email Id's except few. Exampe, test mail. . Output is :the message is sent. now if I send the... (2 Replies)
Discussion started by: akhtar.bhat
2 Replies

3. Shell Programming and Scripting

sendmail not working

Hi, I have to send a mail in html format and to do so I am using the below code. INPUT_FILE_DETAILS contains the html code but it doesn't work. Could anyone suggest whats wrong in it. ( echo "From: Team<Team@xy.com>" echo "To: $MAILTO" ... (1 Reply)
Discussion started by: alok1301
1 Replies

4. Red Hat

sendmail not working

Hi, My mails (postfix - apologies about the heading) have suddenly stopped sending, and I am trying to find out why. We use ESMTP mail relay (blacknight), nothing has changed on our side and I am able to ping the IP address of blacknight on port 25. I suspect an issue with the external... (2 Replies)
Discussion started by: Duffs22
2 Replies

5. Shell Programming and Scripting

sendmail not working

Hello people - Need help, My sendmail email is not working, not sure what is wrong here. I am trying with below command and response as below, Thanks for help in advance. Thanks camprod@sgppsr000000060 PROD $ echo "hello"|sendmail -v abc@domain.com abc@domain.com... Connecting to via... (5 Replies)
Discussion started by: chittari
5 Replies

6. Shell Programming and Scripting

sendmail with attachment not working

dear all I have below function which send an email, but if I need to add an attachement it won't work instead it write some jibberish to body of the email begin 644 SIGN_OFF_AP_20120626.csv M4TE'3E]/1D9?4TA%150L351-7T1!5$4L0D]/2RQ35$%455,L5D%25%E012Q# %3U5.5`H` ` end function... (6 Replies)
Discussion started by: manas_ranjan
6 Replies

7. Shell Programming and Scripting

Sendmail script not working

I am facing a peculiar problem in AIX 6.1 I can execute sendmail command using the following script sendmail -f sender -v recepient Body of email ^dThe command executes successfully and mail is sent to the intended recepient but when I try to use the attached script, the mail is not sent... (3 Replies)
Discussion started by: abhilashnair
3 Replies

8. Solaris

Sendmail not quite working after upgrade

We have a machine that we upgraded today. After the upgrade, I am getting connection refused on any emails from a remote host that uses an alias. If I send email directly to a user on the upgraded host, from a remote host, that works fine. If I send email to an alias on the ugraded machine, from... (3 Replies)
Discussion started by: brownwrap
3 Replies

9. Linux

Sendmail not working

Dear All, I am able to send mail to mail ids of internal domain or local domain. But I could not send mails to external domain. It is saying the error 530 5.7.1 Client was not authenticated Kindly help me on this... Rj (1 Reply)
Discussion started by: jegaraman
1 Replies

10. Solaris

Sendmail not working in SUNOS

Hi All i am trying to send a mail from SunOS to my outlook mail but it is not working neither giving any error please suggest # uuencode /tmp/t.txt t.txt | mailx -s test v.com # # uname -a SunOS 5.9 Generic_122300-25 sun4u sparc SUNW,Sun-Fire-V440 (3 Replies)
Discussion started by: scriptor
3 Replies
Log::Handler::Output::Sendmail(3pm)			User Contributed Perl Documentation		       Log::Handler::Output::Sendmail(3pm)

NAME
Log::Handler::Output::Sendmail - Log messages with sendmail. SYNOPSIS
use Log::Handler::Output::Sendmail; my $email = Log::Handler::Output::Sendmail->new( from => 'bar@foo.example', to => 'foo@bar.example', subject => 'your subject', ); $email->log(message => $message); DESCRIPTION
With this output module it's possible to log messages via "sendmail". METHODS
new() Call "new()" to create a new Log::Handler::Output::Sendmail object. The following options are possible: from The sender address (From). to The receipient address (To). cc Carbon Copy (Cc). bcc Blind Carbon Copy (Bcc) subject The subject of the mail. sender This option is identical with "sendmail -f". header With this options it's possible to set your own header. my $email = Log::Handler::Output::Sendmail->new( from => 'bar@foo.example', to => 'foo@bar.example', header => 'Content-Type: text/plain; charset= UTF-8', ); Or my $email = Log::Handler::Output::Sendmail->new( header => { From => 'bar@foo.example', To => 'foo@bar.example', Subject => 'my subject', 'Content-Type' => text/plain; charset= UTF-8', } ); Or my $email = Log::Handler::Output::Sendmail->new( header => [ 'From: bar@foo.example', 'To: foo@bar.example', 'Subject: my subject', 'Content-Type: text/plain; charset= UTF-8', ] ); sendmail The default is set to "/usr/sbin/sendmail". params Parameters for "sendmail". The default is set to "-t". maxsize Set the maximum size of the buffer in bytes. All messages will be buffered and if "maxsize" is exceeded the buffer is flushed and the messages will be send as email. The default is set to 1048576 bytes. Set 0 if you want no buffering and send a mail for each log message. debug Set 1 if you want to enable debugging. The messages can be fetched with $SIG{__WARN__}. log() Call "log()" if you want to log a message as email. $email->log(message => "this message will be mailed"); If you pass the level then its placed into the subject: $email->log(message => "foo", level => "INFO"); $email->log(message => "bar", level => "ERROR"); $email->log(message => "baz", level => "DEBUG"); The lowest level is used: Subject: ERROR ... You can pass the level with "Log::Handler" by setting message_pattern => '%L' flush() Call "flush()" if you want to flush the buffered messages. validate() Validate a configuration. reload() Reload with a new configuration. errstr() This function returns the last error message. DESTROY
"DESTROY" is defined and called "flush()". PREREQUISITES
Carp Params::Validate EXPORTS
No exports. REPORT BUGS
Please report all bugs to <jschulz.cpan(at)bloonix.de>. If you send me a mail then add Log::Handler into the subject. AUTHOR
Jonny Schulz <jschulz.cpan(at)bloonix.de>. COPYRIGHT
Copyright (C) 2007-2009 by Jonny Schulz. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-11-21 Log::Handler::Output::Sendmail(3pm)
All times are GMT -4. The time now is 02:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy