Sun has shipped a /etc/mail/sendmail.cf with mailhost.
For example it has
Code:
O FallbackSmartHost=mailhost$?m.$m$.
Most elegantly, you have a mailhost in your DNS, and a proper domain (or search with your domain first) in /etc/resolv.conf.
But putting mailhost in /etc/hosts is also possible.
Of course it is possible to override this by putting a hostname after the DS in /etc/mail/semdmail.conf
Hi all,
My problem is on :
SunOS "MY_HOSTNAME" 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-60
I get the following message on the console login screen:
sendmail: MAA 23665: SYSERR: putoutmsg (NO-HOST): error on output channel sending "550 none...User unknown": I/O error.
Does anyone... (11 Replies)
I'm a newbie trying to update an old sendmail 8.6 to 8.12.3
ftp'ed sendmail.org and got sendmail.8.12.3.tar.gz
file size matches but when i:
tar xvf sendmail.8.12.3.tar.gz
i get:
tar: directory checksum error
tried getting others... ie. 8.12.2...
ftp'ed using binary and saved in... (1 Reply)
I have faced the following error :
Feb 8 11:56:10 test sendmail: unable to qualify my own domain name (test) -- using short name
I searched the forum and tested the required in the posts , but it doesn't work ...
I have changed the IP and local host in /etc/hosts to be as follows :
... (1 Reply)
Hi expert ,
When i trying to start sendmail i getting the following error : pls help me
# ./sendmail start
# 451 4.0.0 /etc/mail/sendmail.cf: line 77: fileclass: cannot open /etc/mail/local-host-names: World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 472: fileclass: cannot... (6 Replies)
I am running SCO openserver 6 with sendmail as my mta I have a customer that sends me mail and occasionally some of them get bounced by my machine with a too many hops error. the header shows that it hops around their servers several times before getting to me and I know this is something that they... (3 Replies)
Hi all,
When ever i open unix, periodically after every 3 minutes(approximately) i get the below error.
"Dec 29 23:56:01 "domain name" sendmail: unable to qualify my own domain name ("domain name") -- using short name".
This is interrupting me while writing a program.
Please... (2 Replies)
When I try to send mail, sendmail delays a lot. After monitoring syslog, I noticed that sendmail starts with this first message... waits a minute and gives the second message... waits another minute and then sends off the email. How do I correct this in sendmail or completly disable it. I'm sending... (0 Replies)
Hi, i'm having this error in my aix development server... i dont know what to do, anyone can helpme out with this???
I'll be so gratefull.
---- start of message
Message from syslogd@aixdes1 at Mon Aug 9 08:36:03 2010
...
aixdes1 mail:crit sendmail: My unqualified host name (aixdes1)... (4 Replies)
Hi i am having a probleme with my sendmail server. using it as a mta to send out email.
keem on getting this error message back.
----- The following addresses had permanent fatal errors ----- <XXX@XXXX.co.za>
(reason: 554 Denied (Mode: normal))
----- Transcript of session... (1 Reply)
Discussion started by: sakie
1 Replies
LEARN ABOUT DEBIAN
bsmtp
BSMTP(1) Network backup, recovery and verification BSMTP(1)NAME
bsmtp - Bacula's SMTP client (mail submission program)
SYNOPSIS
bsmtp [options] <recipient> <...>
DESCRIPTION
bsmtp is a simple mail user agent designed to permit more flexibility than the standard mail programs typically found on Unix systems, and
to ease portability. It can even run on Windows machines. It is used by the Director daemon to send notifications and requests to the oper-
ator.
OPTIONS -8 Encode the mail in UTF-8.
-c Set the Cc: header.
-d nn Set debug level to nn.
-dt Print timestamp in debug output.
-f Set the From: header. If not specified, bsmtp will try to use your username.
-h mailhost:port
Use mailhost:port as the SMTP server. (default port: 25)
-s Set the Subject: header.
-r Set the Reply-To:: header.
-l Set the maximum number of lines to be sent. (default: unlimited)
-? Show version and usage of program.
USAGE
recipients is a space separated list of email addresses.
The body of the email message is read from standard input. Message is ended by sending the EOF character (Ctrl-D on many systems) on the
start of a new line, much like many 'mail' commands.
The actual, automated behavior of bsmtp will depend on the mail-related configuration of the Director in the Messages resource of bacula-
dir.conf.
Interactive use of bsmtp is pertinent to manually test and ensure these configuration bits are valid. This is highly recommended.
CONFIGURATION
These commands should each appear on a single line in the configuration file.
Messages {
Name = Standard
mailcommand = "/home/bacula/bin/bsmtp -h mail.domain.com -f "(Bacula) <%r>"
-s "Bacula: %t %e of %c %l" %r"
operatorcommand = "/home/bacula/bin/bsmtp -h mail.domain.com -f "(Bacula) <%r>"
-s "Bacula: Intervention needed for %j" %r"
mail = sysadmin@site.domain.com = all, !skipped
operator = sysop@site.domain.com = mount
console = all, !skipped, !saved
}
home/bacula/bin is replaced with the path to the Bacula binary directory, and mail.domain.com is replaced with the fully qualified name of
an SMTP server, which usually listen on port 25.
ENVIRONMENT
If the -h option is not specified, bsmtp will use environment variable SMTPSERVER, or 'localhost' if not set.
NOTES
Since bsmtp always uses a TCP connection rather than writing to a spool file, you may find that your From: address is being rejected
because it does not contain a valid domain, or because your message has gotten caught in spam filtering rules. Generally, you should spec-
ify a fully qualified domain name in the from field, and depending on whether your SMTP gateway is Exim or Sendmail, you may need to modify
the syntax of the from part of the message.
If bsmtp cannot connect to the specified mail host, it will retry to connect to localhost.
BUGS
If you are getting incorrect dates (e.g. 1970) and you are running with a non-English locale, you might try setting the LANG="en_US" envi-
ronment variable.
AUTHOR
This manual page was written by Jose Luis Tallon <jltallon@adv-solutions.net>, revised and edited by Lucas B. Cohen <lbc@members.fsf.org>.
SEE ALSO bacula-dir(8)Kern Sibbald 6 December 2009 BSMTP(1)