--- Alexander Dalloz <ad+lists@xxxxxxxxx> 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@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@localhost Documents]$ > If it is Sendmail, then this command will print out > some basic information. > > ls -al /usr/lib/sendmail /etc/alternatives/mta > > [olivares@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@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@localhost Documents]$ /bin/mail -s "test > >mail" olivares14031@xxxxxxxxx > > > >Test message please disregard. > > > >. > >Cc: > >[olivares@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@localhost Documents]$ su - Password: [root@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@xxxxxxxxxxxxxxxxxxxxx>, relay=olivares@localhost Jan 14 11:54:42 localhost sendmail[3450]: l0EHsgCU003450: ruleset=check_mail, arg1=<olivares@xxxxxxxxxxxxxxxxxxxxx>, relay=localhost [127.0.0.1] (may be forged), reject=553 5.5.4 <olivares@xxxxxxxxxxxxxxxxxxxxx>... Real domain name required for sender address Jan 14 11:54:42 localhost sendmail[2953]: l0EHsbfs002953: to=machine-registration@xxxxxxxxxxxxxx, 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@xxxxxxxxxxxxxxxxxxxxx>, 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@xxxxxxxxxx > 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