How to configure sendmail to send messages
Antonio Olivares
olivares14031 at yahoo.com
Sun Jan 14 17:46:59 UTC 2007
--- Alexander Dalloz <ad+lists at uni-x.org> wrote:
> Antonio Olivares schrieb:
>
> >Dear list,
> >
> > I have a problem sending messages from command
> line
> >in two of my machines. I believe I have sendmail
> >installed but do not know how to test if it is
> there?
> >
> >
> /usr/lib/sendmail -bt -d0 < /dev/null
>
[olivares at localhost Documents]$ /usr/lib/sendmail -bt
-d0 < /dev/null
Version 8.13.8
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP
LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASLv2
SCANF SOCKETMAP STARTTLS
TCPWRAPPERS USERDB USE_LDAP_INIT
============ SYSTEM IDENTITY (after readcf)
============
(short domain name) $w = localhost
(canonical domain name) $j = localhost.localdomain
(subdomain name) $m = localdomain
(node name) $k = localhost.localdomain
========================================================
ADDRESS TEST MODE (ruleset 3 NOT automatically
invoked)
Enter <ruleset> <address>
> [olivares at localhost Documents]$
> If it is Sendmail, then this command will print out
> some basic information.
>
> ls -al /usr/lib/sendmail /etc/alternatives/mta
>
> [olivares at localhost Documents]$ ls -al
/usr/lib/sendmail /etc/alternatives/mta
lrwxrwxrwx 1 root root 27 Oct 28 16:31
/etc/alternatives/mta -> /usr/sbin/sendmail.sendmail
lrwxrwxrwx 1 root root 30 Oct 28 16:31
/usr/lib/sendmail -> /etc/alternatives/mta-sendmail
[olivares at localhost Documents]$
/usr/sbin/sendmail.sendmail appears in red
/etc/alternatives/mta-sendmail appears in red,
designating that it is missing or wrongly configured.
> >I want to update a machine on linux counter but
> mail
> >does now work, and I get a dead.letter on my home
> >directory. I have tried doing the following, but
> to
> >no avail
> >
> >[olivares at localhost Documents]$ /bin/mail -s "test
> >mail" olivares14031 at yahoo.com
> >
> >Test message please disregard.
> >
> >.
> >Cc:
> >[olivares at localhost Documents]$
> >/home/olivares/dead.letter... Saved message in
> >/home/olivares/dead.letter
> >
> >
> Looks like Sendmail being misconfigured. The default
> would either
> succeed in sending mail out or in saving a bounce
> for postmaster / root.
>
> >
> >Any help/advice will be greatly appreciated.
> >
> >
> Check your /var/log/maillog.
[olivares at localhost Documents]$ su -
Password:
[root at localhost ~]# cat /var/log/maillog
Jan 14 11:54:01 localhost sendmail[30218]: alias
database /etc/aliases rebuilt by olivares
Jan 14 11:54:01 localhost sendmail[30218]:
/etc/aliases: 76 aliases, longest 10 bytes, 765 bytes
total
Jan 14 11:54:41 localhost sendmail[2953]:
l0EHsbfs002953: from=olivares, size=4797, class=0,
nrcpts=1,
msgid=<200701141754.l0EHsbfs002953 at localhost.localdomain>,
relay=olivares at localhost
Jan 14 11:54:42 localhost sendmail[3450]:
l0EHsgCU003450: ruleset=check_mail,
arg1=<olivares at localhost.localdomain>, relay=localhost
[127.0.0.1] (may be forged), reject=553 5.5.4
<olivares at localhost.localdomain>... Real domain name
required for sender address
Jan 14 11:54:42 localhost sendmail[2953]:
l0EHsbfs002953:
to=machine-registration at counter.li.org,
ctladdr=olivares (500/500), delay=00:00:05,
xdelay=00:00:01, mailer=relay, pri=34797,
relay=[127.0.0.1] [127.0.0.1], dsn=5.6.0, stat=Data
format error
Jan 14 11:54:42 localhost sendmail[3450]:
l0EHsgCU003450: from=<olivares at localhost.localdomain>,
size=4797, class=0, nrcpts=0, proto=ESMTP, daemon=MTA,
relay=localhost [127.0.0.1] (may be forged)
>
> >Thanks,
> >
> >Antonio
> >
> >
> Alexander
>
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
>
Steve, I also did your suggestions. Service was not
active and I activated it with your suggestion(s)
service sendmail start
as root.
To set it to run automatically enter:
chkconfig sendmail on
Thanks,
Antonio
____________________________________________________________________________________
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
More information about the fedora-list
mailing list