From: Andrzej Adam Filip on
Ohmster <root(a)dev.nul.invalid> wrote:
> Andrzej Adam Filip <anfi(a)onet.eu> wrote in news:vuo0znsjqy-A25
> @pedro.huge.strangled.net:
>
>> 0) Try adding WorkAroundBrokenAAAA
>> (modify sendmail.mc, recompile it into sendmail.cf, restart or HUP
>> ssendmail daemon - sorry but too many people forget to do it *all*).
>> 1) push sendmail queue in verbose mode to see if it makes difference
>> sendmail -v -q
>
> Here is one better, I put the actual IP address of the smtp server in
> sendmail config and ran it. See for yourself:
>
> Feb 5 19:56:16 ohmster sendmail[7232]: o112FSjQ008683: to=
> <theohmster(a)comcast.net>, ctladdr=<ohmster(a)ohmster.com> (500/500), delay=4+
> 22:40:48, xdelay=00:00:00, mailer=relay, pri=11190351, relay=76.96.62.117,
> dsn=4.0.0, stat=Deferred: Name server: 76.96.62.117: host name lookup
> failure
>
> How can it not "lookup" and actual IP address??

Have you defined the smart host as [76.96.62.117]?
( IP address in square brackets )

--
[pl>en Andrew] Andrzej Adam Filip : anfi(a)onet.eu : Andrzej.Filip(a)gmail.com
When a float occurs on the same page as the start of a supertabular
you can expect unexpected results.
-- Documentation of supertabular.sty
From: Ohmster on
Andrzej Adam Filip <anfi(a)onet.eu> wrote in
news:h1i18rxv2a-A26(a)jennifer.huge.strangled.net:

>> Here is one better, I put the actual IP address of the smtp server in
>> sendmail config and ran it. See for yourself:
>>
>> Feb 5 19:56:16 ohmster sendmail[7232]: o112FSjQ008683: to=
>> <theohmster(a)comcast.net>, ctladdr=<ohmster(a)ohmster.com> (500/500),
>> delay=4+ 22:40:48, xdelay=00:00:00, mailer=relay, pri=11190351,
>> relay=76.96.62.117, dsn=4.0.0, stat=Deferred: Name server:
>> 76.96.62.117: host name lookup failure
>>
>> How can it not "lookup" and actual IP address??
>
> Have you defined the smart host as [76.96.62.117]?
> ( IP address in square brackets )

Uh no. Trying again like this now:
define(`SMART_HOST',`[76.96.62.117]')dnl

I just want to use this as a test and hopefully, can get back to using
the domain name and not the IP address. I think the whole problem is not
the Linux system or computer, the problem is this POS router. When I
lookup on google "VT-2542-VD" (I have a Motorola VT-2542-VD Vonage
router), I see all kinds of complaints about it. People cannot access
their own domains from withing the home LAN as the router will only
display a login page for the router and not the web page itself. The
thing is *very* difficult to write rules and IP forwarding with, I have
to google for help every time. My original Linksys had NONE of these
problems and was so sweet! But, I did not have this setup with the old
router either. I ran the Linux box in the DMZ and used the Linux box as
my router, had the home LAN connected to a switch on eth1.

I do not think all this should make that much of a difference but with so
many network related complaints on this router, I would not doubt that
this is causing the problem at all. Okay, back to the test...

Okay, different stuff in "tail -f /var/log/maillog" this timel. Not sure
what it means:

Feb 6 12:24:48 ohmster sendmail[26114]: o16HOmFI026114: from=
<ohmster(a)ohmster.com>, size=640, class=0, nrcpts=1, msgid=
<1265477086.26063.0.camel(a)localhost>, proto=ESMTP, daemon=MTA,
relay=localhost [127.0.0.1]
Feb 6 12:24:49 ohmster sendmail[26118]: STARTTLS=client, relay=
[76.96.62.117], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-
SHA, bits=256/256
Feb 6 12:24:49 ohmster sendmail[26118]: o16HOmFI026114: to=
<theohmster(a)comcast.net>, ctladdr=<ohmster(a)ohmster.com> (500/500), delay=
00:00:01, xdelay=00:00:01, mailer=relay, pri=120640, relay=[76.96.62.117]
[76.96.62.117], dsn=5.0.0, stat=Service unavailable
Feb 6 12:24:49 ohmster sendmail[26118]: o16HOmFI026114: o16HOnFI026118:
DSN: Service unavailable
Feb 6 12:24:49 ohmster sendmail[26118]: o16HOnFI026118: to=
<ohmster(a)ohmster.com>, delay=00:00:00, xdelay=00:00:00, mailer=local,
pri=31862, dsn=2.0.0, stat=Sent

I did not get the mail but I do see I am getting auth errors now on my
system mail so I guess I have to work on the auth issue. See system
mail...

The original message was received at Sat, 6 Feb 2010 12:24:48 -0500
from localhost [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<theohmster(a)comcast.net>
(reason: 550 5.1.0 Authentication required)

----- Transcript of session follows -----
.... while talking to [76.96.62.117]:
>>> MAIL From:<ohmster(a)ohmster.com> SIZE=838
<<< 550 5.1.0 Authentication required
554 5.0.0 Service unavailable

So that does seem to work with getting in touch with the smtp smart host.
I really would rather go back to the DNS name instead of IP address, but
what is wrong with the DNS? smtp.comcast.net will resolve easily with a
ping or traceroute, why is it that sendmail cannot find the host by
domain name?

So far as AUTH goes, I thought I had that covered with this in my
sendmail config:

FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl

[root(a)ohmster mail]# cd auth
[root(a)ohmster auth]# ls -la
total 20
drwx------ 2 root root 4096 2010-02-03 21:35 .
drwxr-xr-x 4 root root 4096 2010-02-06 12:30 ..
-rw------- 1 root root 156 2010-02-03 21:32 client-info
-rw-r----- 1 root root 12288 2010-02-03 21:35 client-info.db
[root(a)ohmster auth]# pwd
/etc/mail/auth
[root(a)ohmster auth]#

[root(a)ohmster auth]# cat client-info
AuthInfo:smtp.comcast.net "U:smmsp" "I:MUNGE" "P:MUNGE" "M:PLAIN"
AuthInfo:smtp.comcast.net:587 "U:smmsp" "I:theohmster" "P:tinymiss22"
"M:PLAIN"
[root(a)ohmster auth]#

I removed my own user/pass and substituted MUNGE for this post, my real
stuff is there in plain text and this is how I have always done it in the
past. Actually, I pretty much just used cp to copy over my old auth stuff
to my new drive and rehashed the db file because I did not copy that file
over.


Thanks for your help Andrzej, we are really making progress! But, I still
need more help, the scope of this sendmail is a wee tad over my head, but
I sure want to learn more about it and get my system back and running
again.
--
~Ohmster | ohmster59 /a/t/ gmail dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
From: Andrzej Adam Filip on
Ohmster <root(a)dev.nul.invalid> wrote:
> Andrzej Adam Filip <anfi(a)onet.eu> wrote:
>> [...]
> I just want to use this as a test and hopefully, can get back to using
> the domain name and not the IP address. I think the whole problem is not
> the Linux system or computer, the problem is this POS router. When I
> lookup on google "VT-2542-VD" (I have a Motorola VT-2542-VD Vonage
> router), I see all kinds of complaints about it. People cannot access
> their own domains from withing the home LAN as the router will only
> display a login page for the router and not the web page itself. The
> thing is *very* difficult to write rules and IP forwarding with, I have
> to google for help every time. My original Linksys had NONE of these
> problems and was so sweet! But, I did not have this setup with the old
> router either. I ran the Linux box in the DMZ and used the Linux box as
> my router, had the home LAN connected to a switch on eth1.
>
> I do not think all this should make that much of a difference but with so
> many network related complaints on this router, I would not doubt that
> this is causing the problem at all. [...]

What do you have in /etc/resolv.conf?
Do you use your router IP in nameserver line/option?
YES => Can you use directly your ISP nameservers?

--
[pl>en Andrew] Andrzej Adam Filip : anfi(a)onet.eu : Andrzej.Filip(a)gmail.com
The grand leap of the whale up the Fall of Niagara is esteemed, by all
who have seen it, as one of the finest spectacles in nature.
-- Benjamin Franklin.
From: Ohmster on
Andrzej Adam Filip <anfi(a)onet.eu> wrote in news:ypgw6kxsz7-A26
@stuart.huge.strangled.net:

> What do you have in /etc/resolv.conf?
> Do you use your router IP in nameserver line/option?
> YES => Can you use directly your ISP nameservers?
>

I can and do do it in Windows because I always want to get the same IP for
IP forwarding so I specify my IP address and nameservers. This works quite
well as the router gives me the specifed address and all is well. With
linux, when I put the two nameservers for my ISP in the file and reboot or
restart the network to see how it works now, resolv.conf is always
overwritten to point my DNS back directly to my router, which I do not
want.

If I could configure my Linux box for static IP and not to use DHCP during
boot, that might work. I have to figure oout how to do that and then yes,
it might work.

--
~Ohmster | ohmster59 /a/t/ gmail dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
From: Ohmster on
Andrzej Adam Filip <anfi(a)onet.eu> wrote in news:ypgw6kxsz7-A26
@stuart.huge.strangled.net:

> Ohmster <root(a)dev.nul.invalid> wrote:
>> Andrzej Adam Filip <anfi(a)onet.eu> wrote:
[..]

I have been trying to work on the auth problem and think I pretty much
have everything right but some service is not running or started and I
will be dammed if I know what it is. Look at this maillog entry and the
acompanying email I got from the system:

Feb 6 19:04:03 ohmster sendmail[6789]: o17042qf006786: to=
<theohmster(a)comcast.net>, ctladdr=<ohmster(a)ohmster.com> (500/500), delay=
00:00:01, xdelay=00:00:00, mailer=relay, pri=120639, relay=[76.96.62.117]
[76.96.62.117], dsn=5.0.0, stat=Service unavailable
Feb 6 19:04:03 ohmster sendmail[6789]: o17042qf006786: o17043qf006789:
DSN: Service unavailable
Feb 6 19:04:04 ohmster sendmail[6789]: o17043qf006789: to=
<ohmster(a)ohmster.com>, delay=00:00:01, xdelay=00:00:01, mailer=local,
pri=31861, dsn=2.0.0, stat=Sent

The original message was received at Sat, 6 Feb 2010 19:04:02 -0500
from localhost [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<theohmster(a)comcast.net>
(reason: 550 5.1.0 Authentication required)

----- Transcript of session follows -----
.... while talking to [76.96.62.117]:
>>> MAIL From:<ohmster(a)ohmster.com> SIZE=837
<<< 550 5.1.0 Authentication required
554 5.0.0 Service unavailable

What service is unavailable?
--
~Ohmster | ohmster59 /a/t/ gmail dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.