[ale] odd email issue

David Tomaschik david at systemoverlord.com
Wed Jun 15 09:00:19 EDT 2011


On Wed, Jun 15, 2011 at 8:52 AM, Geoffrey Myers
<lists at serioustechnology.com> wrote:
> Robert Coggins wrote:
>> On 6/15/2011 8:11 AM, Geoffrey Myers wrote:
>>> So, I've got sendmail configured so it uses localhost for sending email.
>>>    As a normal user I can send email like this:
>>>
>>> date|mail email at domain
>>>
>>> Yet, I've recently configured /etc/aliases to send root email to my
>>> personal email address:
>>>
>>> root:           email at domain
>>>
>>> But I get delayed email messages from 1and1, my domain host for these
>>> emails because my machine name (centsovm.serioustechnology.com) is not
>>> valid.
>>>
>>> So, how is this possible?
>>>
>> Maybe it has something to do with not being able to contact that
>> server.  I cannot resolve that address.
>
> The issue is, when I send it from the command line, it is apparently
> using my localhost.  When the cron job runs and redirects email via
> /etc/aliases, it appears to be using the mail server for my hosting company.
>
> Why the inconsistency?
>
> Really, how is this even possible?

Do you have sendmail configured to use a relayhost?  Would you mind
putting headers from the two different emails on a pastebin somewhere
for comparison?



-- 
David Tomaschik, RHCE, LPIC-1
System Administrator/Open Source Advocate
OpenPGP: 0x5DEA789B
http://systemoverlord.com
david at systemoverlord.com



More information about the Ale mailing list