[BUGS] Sendmail as forwarder

jonathan michaels jlm at caamora.com.au
Thu Jan 3 12:03:30 EST 2008


greetings all,

note:/warning: one small rant is include, if your a nose out of
joint easily take care.

On Thu, Jan 03, 2008 at 09:49:51AM +1100, Jerahmy Pocott wrote:
> 
> On 02/01/2008, at 6:13 PM, jonathan michaels wrote:
> 
> > Jan  2 17:11:44 reality sm-msp-queue[71874]: lBSG7ogU053783: to=root,
> > ctladdr=root (0/0), delay=4+14:03:54, xdelay=00:00:00, mailer=relay,  
> > pri=20291078,
> > relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested  
> > address
> >
> > Jan  2 17:11:44 reality sm-msp-queue[71874]: lBSG7rqT053841: to=root,
> > ctladdr=root (0/0), delay=4+14:03:51, xdelay=00:00:00, mailer=relay,  
> > pri=20325905,
> > relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested  
> > address
> 
> What does /etc/host.conf have?

the usual hosts on line1 and dns on line2 for both machines
essentiall all teh other machines on teh cable as well.

> If it has 'hosts' on the first line, how is your /etc/hosts
> file set on that machine and

299.9.999.A host1.caamora.com.au.
299.9.999.A hostA.caamora.com.au hostA


299.9.999.B hostB.caamora.com.au.
299.9.999.B hostB.caamora.com.au hostB

for teh respective entries, then all teh others are in the
usual format of ip-addr fqdn alias alias1 alias2 so on and on

i have checked all teh machines how nslookup fins and what it
finds, i also useddig and hosts(8) -a to check forward and
reverse lookups (note, i am my own 'isp' if i can say that, in
that i host my own dns mail services etc.)


> what is the output of 'hostname'?

as it should be for all teh machines in this wire, er segment.

> It looks like it might be having trouble resolving it?

umm if it is it is perrty miserably obscura ob longata'abled in
that all teh relevent 'test' comeback with sane anserws, the
smae as my bind v4 and teh send mail that came with freebsd
v2.2.5-release, that i switched over from in july of last year
to use freebsd v6.2 .. it is like a completely differenw world
nothing at all makes any sence to me .. i would have been
easier to move to linx, esp the debian model or perhaps openbsd
or even netbsd they are still freebsdis circa 2.2.5 like as far
as i can tell.

it has been one dambably hard long up hill drive thus far,
6month down the track it sill is not makeing much sence ot me,
what makes ti worse is that all my library is essentilly v2.2.0
relevent .. teh few books that i am able to read and cmprehend
are a misture of freebsd v4 and v5 as tehy come out of teh
cutover phase .. it is hard, very very hard. i wish the people
who say its easy would live with my brain for a wek or so then
they would feel what its like playing catchup ALL the time.

i suppose i shouls apologise for my out burst and or erase it
but i am not going to !!

> I'm not sure.. I had a similar issue to this a while ago where the  
> server would not send mail, after the time out period it would then  
> bounce the mail back to itself and manage to send me a copy of the  
> original mail saying it couldn't deliver it.. Yet it was able to  
> deliver the message saying it couldn't be delivered.. It had something  
> to do with the host name resolution after some dns server changes..

the only real difference that i found was the structure of teh
/etc/mail/relay-domains file, in that some had a complete
'dump' o my dns structure, as in all teh hostnaes and all of
teh ailais in a complete 'fqdn' format, so i suppose it seeit
is as a subdomain.domain.tld type of thing.

maybe that is what is going on ?? but it doesn't make sence
because one of teh hiosts that has a complete relay-domains
refuses to accept mail from teh others and another machine that
has no relay-domains file or even a local-host-names file works
perfectly

all teh permissions on all teh files are teh same, al the
aliases are teh same, teh contents virtually identical, the
relevent working files are virtually identical as is teh
structure, well with the exception of teh v2.2.5 mx host but it
is work as it should, it is just these two hosts that are as it
seems to me refuing to send mail off of there own hard disks
for some reason ??
 
> Also, if your hostname isn't in the form host.name.com it seems the  
> sendmail queue runner will not actually start up.. Which seems to be  
> something it does in more recent versions, since I know I'v had  
> systems without proper host names in the past and it used to work..  
> I'm very behind the times, I only recently moved from 4.x over to 6.2,  
> I'v never even used a 5.x version..
> 
> I'm really not sure how this magical devfs thing works, except that it  
> seems you no longer have to worry about it..

well your one up on me i dont even know what it is let alone
what its supposed to do .. most of the stuff i have read is so
cryptic (to me and my perseption of thsi language we all call
english) 
 
> I hope this provides some ideas, sendmail has changed a LOT and I'm  
> still working it out.

me too jerahmy, me too.



> _______________________________________________
> BUGS mailing list
> BUGS at bugs.au.freebsd.org
> http://mailman.barnet.com.au/mailman/listinfo/bugs

-- 
================================================================
powered by ..
QNX, OS9 and freeBSD  --  http://caamora com au/operating system
==== === appropriate solution in an inappropriate world === ====


More information about the BUGS mailing list