Re: mail issues on CentOS

Tim Holloway <timh-kiPKLF+HnOy1Z/[email protected]> Mon, 17 Dec 2012 10:39:38 -0500
Newsgroups gmane.org.user-groups.jaxlug
Message-ID <[email protected]>
I'm not sure I see the "cloud" part of this.

Assuming that it's the CentOS machine that's at issue (you didn't
actually say!), then its log claims that it delivered mail to an
intranet server (172.21.1.223). So as far as I can deduce, if it ever
went into the cloud, it would have done so downstream from that point.

My best guess is that 172.21.1.223 is failing to relay. This MIGHT be
because I notice that your CentOS machine seems to resolve to
"localhost.localdomain" but the redhat machine just says "localhost",
which leaves the possibility that its domain name is something more
acceptable.

If 172.21.1.223 is running sendmail, relaying is not enabled by default.
You have to explicitly let it know what sources are permitted to send
mail to be relayed.

   Tim

On Mon, 2012-12-17 at 08:55 -0500, Robert Mckennon wrote:
> Interesting issue... my company mail account (Exchange) was migrated
> to the "Infamous Cloud".  Ever since then I have not been receiving my
> daily emails from this one Linux server.  (no other unix or linux
> boxes are having this issue).
> 
> I've checked the /var/log/maillog file and it looks almost exactly
> like the maillog file from my RedHat box.  It appears that the mail IS
> going out to the relay, but I'm just not getting it.
> 
> 
> CENTOS MAILLOG
> Dec 17 04:02:07 CentOS_x64 sendmail[882]: qBH92780000882: from=root,
> size=931, class=0, nrcpts=1,
> msgid=<201212170902.qBH92780000882@CentOS_x64.idea.com>,
> relay=root@localhost
> Dec 17 04:02:07 CentOS_x64 sendmail[884]: qBH927h8000884:
> from=<root@CentOS_x64.idea.com>, size=1203, class=0, nrcpts=1,
> msgid=<201212170902.qBH92780000882@CentOS_x64.idea.com>, proto=ESMTP,
> daemon=MTA, relay=localhost.localdomain [127.0.0.1]
> Dec 17 04:02:07 CentOS_x64 sendmail[882]: qBH92780000882: to=root,
> ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
> pri=30931, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
> (qBH927h8000884 Message accepted for delivery)
> Dec 17 04:02:08 CentOS_x64 sendmail[885]: qBH927h8000884:
> [email protected], ctladdr=<root@CentOS_x64.idea.com> (0/0),
> delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=31431,
> relay=jaxn705.idea.com. [172.21.1.223], dsn=2.0.0, stat=Sent (
> <201212170902.qBH92780000882@CentOS_x64.idea.com> Queued mail for
> delivery)
> 
> REDHAT MAILLOG
> Dec 17 04:02:11 fl192-rhel4 sendmail[4181]: qBH9275o004181: from=root,
> size=1390, class=0, nrcpts=1,
> msgid=<201212170902.qBH9275o004181-T6qfOKaVMFBVE8gpsI84KlaTQe2KTcn/@public.gmane.org>,
> relay=root@localhost
> Dec 17 04:02:11 fl192-rhel4 sendmail[4542]: qBH92BiP004542:
> from=<root-T6qfOKaVMFBVE8gpsI84KlaTQe2KTcn/@public.gmane.org>, size=1666, class=0, nrcpts=1,
> msgid=<201212170902.qBH9275o004181-T6qfOKaVMFBVE8gpsI84KlaTQe2KTcn/@public.gmane.org>, proto=ESMTP,
> daemon=MTA, relay=localhost [127.0.0.1]
> Dec 17 04:02:11 fl192-rhel4 sendmail[4181]: qBH9275o004181: to=root,
> ctladdr=root (0/0), delay=00:00:04, xdelay=00:00:00, mailer=relay,
> pri=31390, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
> (qBH92BiP004542 Message accepted for delivery)
> Dec 17 04:02:12 fl192-rhel4 sendmail[4543]: qBH92BiP004542:
> [email protected], ctladdr=<root-T6qfOKaVMFBVE8gpsI84KlaTQe2KTcn/@public.gmane.org>
> (0/0), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=31885,
> relay=jaxn705.idea.com. [172.21.1.223], dsn=2.0.0, stat=Sent (
> <201212170902.qBH9275o004181-T6qfOKaVMFBVE8gpsI84KlaTQe2KTcn/@public.gmane.org> Queued mail for
> delivery)
> 
> I checked the mail queue with the "mailq" command and it's empty.
> 
> 
> So, since it appears to be delivering the mail to the relay, can I
> assume that the issue is not on this one server?  (I'm not an Email
> guru).
> 
> 
> Rob.
> 
> ---------------------------------------------------------------------
> Archive      http://marc.info/?l=jaxlug-list&r=1&w=2
> RSS Feed     http://www.mail-archive.com/[email protected]/maillist.xml
> Unsubscribe  [email protected]



---------------------------------------------------------------------
Archive      http://marc.info/?l=jaxlug-list&r=1&w=2
RSS Feed     http://www.mail-archive.com/[email protected]/maillist.xml
Unsubscribe  [email protected]