On 14 Oct 1997, Eloy A. Paris wrote: > Hi, > > I doubt it's sendmail problem (I mean, nothing that a recompile will > solve). It looks like a configuration problem. > > Can you send more information to the list? Your hosts names, > your sendmail.mc file, where are you trying to send mail to, etc. > > See ya. > > E.- >
Here we go: --- /etc/host.conf order hosts,bind multi on /etc/hosts 127.0.0.1 localhost 10.0.0.5 p5.jrpriv.de p5 www.jrpriv.de www 10.0.0.4 p4.jrpriv.de p4 /etc/mailname p5.jrpriv.de /etc/resolv.conf search jrpriv.de /etc/sendmail.mc divert(-1) # All comment lines with '#' deleted. divert(0) VERSIONID(`@(#)sendmail.mc 8.7 (Linux) 3/5/96') OSTYPE(debian)dnl FEATURE(masquerade_envelope)dnl FEATURE(use_cw_file)dnl FEATURE(use_ct_file)dnl FEATURE(nouucp)dnl FEATURE(nodns)dnl FEATURE(local_procmail)dnl MAILER(local)dnl MAILER(smtp)dnl Cwp5.jrpriv.de MASQUERADE_AS(p5.jrpriv.de)dnl /etc/aliases (Only postmaster for root, I've the file not here at the moment) --- Should I post other files as well? The systems are similarly configured. I installed Debian 1.2 from scratch and updated most packages (except tex) to 1.3 and the current unstable version. I'm not absolutely sure, but I think, when I installed 1.2, mailing from one host to the other worked. I have NOT installed bind and am not using named on either of the machines. When I use 'mail [EMAIL PROTECTED]' from p5 (or vice versa) I get in the logs and from mailq the error message: Deferred: Name server: p4.jrpriv.de.: host name lookup failure runq didn't help (of course). I tried several things with /etc/host.conf and /etc/resolv.conf (thanks go to Brandon Mitchell for some suggestions!), but none of them worked. I tried for example to rename the files (in order to make them unavailable), to remove the bind statement from host.conf, to add a 'domain' line in resolv.conf (but this file shouldn't be used anyway, should it), to reverse the order of the lines in the files and more I can't think of now. BTW, if I mail on p5 to [EMAIL PROTECTED] or [EMAIL PROTECTED] it works fine, also with the FQDN (p5.jrpriv.de). But when I try to mail to [EMAIL PROTECTED] (which is p5's IP) I get host map: lookup (10.0.0.5): deferred in the logs. Isn't mailing to IP's supposed to work as well? What's wrong here? I don't need the mailing system under all circumstances, but it's nice to leave some messages to remember on the other computer and besides it must be possible, somehow (without installing a nameserver - which I definitely don't want to, because I don't need it, so it would be a waste of memory). Thank you for your time and help, Ulf P.S.: Quoting my original message: > : Hi, > > : I've a small "intranet" running with debian. In fact, there are only two > : machines which are not connected to the internet. > : I don't use a name server on either of the machines, it's not needed. > : Addresses are read from /etc/hosts. > > : I use the latest sendmail package but can't send mail from one computer to > : the other. I get something like 'Deferred: p4.: Name server : hostname > lookup > : failure". Well, I don't understand what happens. I configured sendmail to > not > : use any name server (FEATURE(nodns)), so there shouldn't be the cause. > : Address canonification works fine when I turn it on in sendmail.mc, so > : there's no trouble with /etc/hosts (ping,telnet,ftp and samba are ok as > well) > > : Is this a problem with the current sendmail package? I remember correctly, > when > : I used another distribution a year ago, I solved this by recompiling > sendmail. > > : Any ideas what could be wrong or what I could try? Thanks, > > : Ulf. -- #include <signature> -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .