On 29 Aug 2003, Stephen Kuhn wrote:

> On Fri, 2003-08-29 at 15:56, Didier Casse wrote:
> > Hi Stephen,
> >           I remember that it's a hostname problem (more precisely a name
> > resolving issue). If sendmail can't contact the configured dns server to
> > resolve your hostname, it will wait (hang if you like) until the dns query
> > times out.  If you look at /var/log/messages you *should* see sendmail say
> > it can't get the local name.
> > 
> > You should put your hostname + ip in  /etc/hosts/
> > Also ensure that your /etc/resolv.conf is setup correctly.
> > 
> > TIP: I prefer qmail. It's hassle-free and extremely easy to configure + it
> > delivers mail very fast!
> > 
> > regards,
> > 
> > Didier
> 
> Mate, it was really really annoying - and that's basically what I
> reckoned; I did something different, though - just to see what would
> happen; BEING that "up2date" wasn't/isn't working correctly right now, I
> manually downloaded the latest "fixed" packages from RH and installed
> them - right after I did that, I installed POSTFIX's rpm's - then ran
> the "rh-mail-switch" application - waited for it to do it's thing, then
> switched back to SENDMAIL; I ran the rebuild M4 configuration through
> Webmin, then restarted SENDMAIL for giggles and grins...rebooted - and
> of course - even though I have the machine's IP and hostname in the
> /etc/hosts file, it still hangs out there for a bit followed by the
> sm-client - but lo and behold, the damn thing is now tossing mails;
> fetchmail was easier to figure out (running it with the --verbose and
> --nodetach options) but now it's actually tossing the mail whereas it
> wasn't doing squat before...go figure...I'm stumped...but as long as the
> customer is getting their mail, I'll take my time trying to figure the
> damn thing out...





If you fixed /etc/hosts, and /etc/resolv.conf then I've no clue! It's
because of problems like this configuration headaches with sendmail that I
decided to switch to qmail! When a friend told me to switch to qmail, I
was very hesitant about it since *everybody* used sendmail but when I
switched I was really happy because it was easy to figure out stuff and it
gives you meaningful error messages which you can easily trace back!



> 
> I do reckon that QMail or similar is in my future...a few mates of mine
> that run local ISP's swear by it...(aside from swearing about other
> things)


TIP: To speed up things and install qmail rapidly on RH9:

rpm --erase --nodeps sendmail #getting rid of sendmail!

Then go to http://www.itworks.com.hk/services/download.htm

and download the 2 rpms. Install:

rpm -ivh qmail-xxxrh9.rpm
rpm -ivh qmail-initscripts-xxxrh9.rpm

then reboot and voila! Your qmail is ready to rock!

regards,

Didier

---
PhD student

Singapore Synchrotron Light Source (SSLS)
5 Research Link,
Singapore 117603

Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
Website: http://ssls.nus.edu.sg



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to