On Thursday 21 February 2002 01:19, you wrote: > On Thu, 21 Feb 2002, tal amir wrote: > > hi, > > > > well, after all the long advantures i had with this damm mandrake machine > > for the past 2 days, there is only 1 last thing left : > > > > when sending mail (localy from the server or with a client from the local > > lan) it takes about 30 sec's for the mail to "go out" and even then its > > being held in the mqueue. to some recipients its being sent, and some get > > a timeout error... > > > > in sendmail.cf : > > # queue up everything before forking? > > # O SuperSafe=True > > > > in some cases i get an error that says "hostname lookup faild - > > domain.com" (when domain.com is the name of my mail server. > > Maybe you need to setup the MX record of domain.com as well?
its set and pointing to the right ip address. > > > there WAS a problem with my resolve.conf, but even after it was fixed, > > i still get the same errors.. > > How do you resolve names? Do you have a local DNS server? > nope, i use netvision's (we are connected to them) > > telneting to port 25 gives : > > > > $ telnet domain.com 25 > > Trying 1.2.3.4... > > Connected to domain.com (1.2.3.4.) > > Escape character is '^]'. > > 220 domain.com ESMTP Sendmail 8.12.1/8.12.1; Thu, 21 Feb 2002 01:53:43 > > +0200 helo [EMAIL PROTECTED] > > helo domain.com > > > 501 5.0.0 Invalid domain name > > > > WHY ?!?! > > Also, at that point the server will do a reverse DNS lookup on your IP. > > If I look at the headers of your message: > > Received: from unknown (HELO you-domman.com) ([EMAIL PROTECTED]) > by iglu.org.il with SMTP; 21 Feb 2002 01:43:44 -0000 > > A reverse DNS lookup failed, and hence the "unknown". You don't expect the > mail server to rely on the name supplied by the client, do you? > > > 1) why are messages being sent to the queue and not sent directly ? > > because then need to pass some processing. If all is well, it all takes a > number of seconds (or even less). in /etc/sysconfig : [root@mail sysconfig]# cat sendmail DAEMON=yes QUEUE="0" [root@mail sysconfig]# i changed it from "1" to "0" , so nothing will not go via the queue.. why is that wrong ? it seems that after changing that, messages are delayed for less time in the queue... > > > 2) why does it take so long for a client to connect and send mail out ? > > Reverse DNS Lookup? > > > in /etc/hosts everything is ok, > > Does it have all the IPs in the local network? yes... ip's for the server itself and the local lan calss... > > Or do you use DHCP? in that case: either make the dhcp server update your > hosts file (is it possible?) or have it update your name server. ================================================================To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]