DNS and zmailer not cooperating

Date: Fri, 23 May 1997 09:43:14 -0300
From: Larry Brinton <brinton@glinx.com>
To: Gerard MacNeil <macneil@chebucto.ns.ca>
cc: CSuite Technical Reports <csuite-tech@chebucto.ns.ca>,
Precedence: bulk

next message in archive
no next message in thread
previous message in archive
previous message in thread
Index of Subjects

Index of Subjects
Gerard,

I recommend that you subscribe to the zmailer list (zmailer@nic.funet.fi)
and also send this problem to Matti Aarnio (mea@utu.fi), maintainer of
zmailer.

...Larry
				 ----------------------
Systems/Networking Specialist   |   support@glinx.com  |
Global Linx Internet, Inc.      |     Serving the      |
     (902) 678-1900             | Annapolis Valley, NS |
				 ----------------------

On Thu, 22 May 1997, Gerard MacNeil wrote:

> On Wed, 21 May 1997, Larry Brinton wrote:
> 
> > I've done what you've requested. mail.cnet.windsor.ns.ca is now a CNAME
> > and the MX record is now set to cnet.windsor.ns.ca
> 
> Unfortunately, it did not solve the problem - if I only knew what the
> problem was!
> 
> In a nutshell, zmailer is supposed to use dbm/ndbm/gdbm (you pick 'em) to
> consult an in-memory database called "thishost".  "thishost" gets created
> from the file '/var/csuite/var/mail/db/localnames'.  "thishost" does exist
> as a database (using 'router -i' - talking to the router interactively,
> issue the command "db print thishost"), and all the variations of the name
> are there.
> 
> Various zmailer *.cf routines call 'thishost $address'.  What is supposed
> to happen is that, if $address matches one of the hostnames in "thishost",
> zmailer is supposed to treat it as a local address.  
> 
> "thishost $address" fails in all cases.
> 
> After the DNS change, I suspected a broken gdbm. I downloaded a new copy,
> compiled, tested and installed it - no change.
> 
> I explicitly linked '-lgdbm' in zmailer, recomplied and reinstalled - no
> change.
> 
> Finally, I hard coded (in standard.cf, function deliver ()), that if it
> saw "cnet.windsor.ns.ca" it would return "wwhcn.cnet.windsor.ns.ca" and
> continue.
> 
> Definitely *NOT* a pretty solution, but for the first time mail to
> 'user@cnet.windsor.ns.ca' and 'user@wwhcn.cnet.windsor.ns.ca' will both be
> handled by zmailer properly.
> 
> I have circulated this email relatively widely because I think
> zmailer.2.99.48 has a bug.  This is the version I got from
> csuite.chebucto.ns.ca using 'cvs checkout'.
> 
> Gerard MacNeil, P. Eng.
> 
> 



next message in archive
no next message in thread
previous message in archive
previous message in thread
Index of Subjects