sending e-mail to oneself (w/ sendmail 8.13.8+Sun/8.13.8)
am 30.10.2007 07:29:18 von akineko
Hello everyone,
I hate to ask a basic question. But I already spent two weeks.
I think I have suffered enough to post a question.
I have been using Solaris 9 (SPARC) for years.
My sendmail.mc with older sendmail worked okay for years.
Now I updated my machine to Solaris 10, which comes with a newer
version of sendmail (8.13.8).
I tried my old sendmail.mc (with some tweaks) but it didn't work.
So, I reverted the changes I made, one by one.
Finally, I used the original sendmail.mc that comes with Solaris 10.
It still didn't work.
The problem I'm having is that I cannot send e-mails to myself.
(Mail client == Mail host)
I tried:
# /usr/lib/sendmail -v myself
It hangs. The mail is stored in a spool because sendmail failed to
deliver.
I can see it by using 'mailq' command.
Eventually the e-mail is forwarded to 'root' as an undeliverable e-
mail (from MAIL-DAEMON).
553 5.3.5 mailhost.my_domain.com config error: mail loops back to me
(MX problem?)554 5.3.5 Local configuration error
As you my suspect, I can send an e-mail to somebody else (local).
//
My question is:
What is the correct sequence should occur when sending e-mail to
oneself?
How can I debug this problem? (After e-amil is submitted to a mail
spool)
//
The newer version of sendmail now uses 'submit.cf'. I'm suspecting
that sendmail puts e-mails into a spool even the e-mail doesn't need
any relaying.
As my understanding of sendmail is very shallow, I'm sure I've
overlooked something very fundamental.
Thank you for your attention.
Best regards,
Aki Niimura
Re: sending e-mail to oneself (w/ sendmail 8.13.8+Sun/8.13.8)
am 30.10.2007 17:35:33 von gerryt
On Oct 29, 11:29 pm, akin...@gmail.com wrote:
> Hello everyone,
>
> I hate to ask a basic question. But I already spent two weeks.
> I think I have suffered enough to post a question.
>
> I have been using Solaris 9 (SPARC) for years.
> My sendmail.mc with older sendmail worked okay for years.
>
> Now I updated my machine to Solaris 10, which comes with a newer
> version of sendmail (8.13.8).
Which Solaris 10? Which platform?
So far there have been 4 official Solaris 10 updates since GA
and a few hardware updates as well
And every kernel patch tends to over-write the basic sendmail.cf
supplied.
At some point during this time the default config was changed to
"local"
i.e. listening on localhost port 25
> I tried my old sendmail.mc (with some tweaks) but it didn't work.
> So, I reverted the changes I made, one by one.
> Finally, I used the original sendmail.mc that comes with Solaris 10.
> It still didn't work.
>
> The problem I'm having is that I cannot send e-mails to myself.
> (Mail client == Mail host)
> I tried:
> # /usr/lib/sendmail -v myself
> It hangs. The mail is stored in a spool because sendmail failed to
> deliver.
root@gcs:/ # /usr/lib/sendmail -v gerryt
gerryt... Connecting to [127.0.0.1] via relay...
Seems to work for me...
> I can see it by using 'mailq' command.
> Eventually the e-mail is forwarded to 'root' as an undeliverable e-
> mail (from MAIL-DAEMON).
>
> 553 5.3.5 mailhost.my_domain.com config error: mail loops back to me
> (MX problem?)554 5.3.5 Local configuration error
This is a sendmail FAQ. Look it up. Identify whats causing this and
fix it : >
> As you my suspect, I can send an e-mail to somebody else (local).
No I dont follow you here.
> My question is:
> What is the correct sequence should occur when sending e-mail to
> oneself?
> How can I debug this problem? (After e-amil is submitted to a mail
> spool)
Turn on debugging. Read man sendmail and look for LogLevel
> The newer version of sendmail now uses 'submit.cf'. I'm suspecting
> that sendmail puts e-mails into a spool even the e-mail doesn't need
> any relaying.
See above: 127.0.0.1
> As my understanding of sendmail is very shallow, I'm sure I've
> overlooked something very fundamental.
Not quite enough info above for me to guess whats wrong but the
loops back to me has to be fixed.