11-01-2013
Sounds more like the message is coming from the smart relay host. Some outbound server's require that you provide authentication by receiving inbound mail before accepting outbound.
If you remove the smart relay, some mail will go, but you will need a reverse dns entry to eliminate bounce.
10 More Discussions You Might Find Interesting
1. Linux
Does sendmail support IMAP? (1 Reply)
Discussion started by: erhan_j
1 Replies
2. Shell Programming and Scripting
How can I know the version of the SENDMAIL currently being used by our system?
The particular point of interest is the &REPLYTO parameter.
Any information or knowledge on use of the REPLYTO parameter would be appreciated. (1 Reply)
Discussion started by: tads98
1 Replies
3. Programming
hi,
i am using sendmail function to send the mail for mail client.
when i am sending mime content with attaching with body for the images.
the image is not displaying in the mail box.
all the mime content stuff is displaying.
all the headers are proper.
hope the reply for this (0 Replies)
Discussion started by: nagineni
0 Replies
4. Shell Programming and Scripting
Ok I have a txt file being mailed out from a script using mail function. However I need to add from field to it. So I thought of sendmail.
Can anyone, tell me the correct way to format sendmail for a
to field
from field
subject
text attachment for the body?
Chris (8 Replies)
Discussion started by: chrchcol
8 Replies
5. Solaris
Hi,
I've disable my sendmail service via svcadm and also remark port 25 in /etc/services. However, i keep getting makeconnection: service "smtp" unknown in /var/adm/messages. What actually causes it? Pls kindly advice (16 Replies)
Discussion started by: ahlude
16 Replies
6. HP-UX
Hi,
Is it possible to send mail from HP-UX server to internet mail addresses(like gmail or hotmail) thro' sendmail or elm options. If yes, kindly guide the steps and give the syntax.
Thanks in Advance!!
Sridhar (1 Reply)
Discussion started by: sridharr83
1 Replies
7. SCO
Did anyone know or can provide some instructions on how to setup smtp
for sendmail.
All I need to do is email files from sco thru my ISP smtp provider.
please help (3 Replies)
Discussion started by: miles556
3 Replies
8. Red Hat
Dear All
how the root user i.e root@localhos.localdomain can be masqueraded in sendmail i want to masquerade the above to say test@test.com
Regards and thanks in advance (3 Replies)
Discussion started by: surfer24
3 Replies
9. HP-UX
Hello, our email server is HP-UX 11.31 and is running Sendmail and Cyrus-IMAP. We need to implement mail routing based on domain, for only a specific small group of domains. It sounds like /etc/mail/mailertable is the file where we put the routing information for each domain.
I found this nice... (2 Replies)
Discussion started by: lupin..the..3rd
2 Replies
10. Solaris
Hi all,
I have read about sendmail running as 2 separate process.
1 as a MSP, and the other as the real daemon or MTA.
In my current configuration,
the sendmail-client is disabled.
Both submit.cf and sendmail.cf are left as default untouch
I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies
LEARN ABOUT DEBIAN
log::handler::output::sendmail
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)