Hi folks,

I was 99% of the way towards setting up my first email server, when I got
stuck. I'm trying to setup a server on my LAN that checks for mail on my
ISP using fetchmail and then forwards this to my Courier IMAP. Currently,
both seem to work ok (fetchmail is giving ordinary output and connects,
courier imap works if I send an email from a local account). 
However, it looks as if the Courier SMTP server cannot resolve any address
when it does a reverse lookup. It will wait for about two minutes and then
give an error message:

fetchmail : SMTP > 417 DNS lookup failure. Try again Later. 

What's weird is:
a) I can resolve the host using the 'host' command
b) I have my DNS in /etc/resolv.conf
c) I have used the no dsn option in .fetchmailrc
d) I have added -nodnslookup in the TCPDOPTS varible in esmptd config file.

I've done some reading, and understand this might be an issue with
different versions of IP, or the fact that you need two DNS servers. What
was the final word on these findings?

Alternatively, what configuration changes should I make to either
.fetchmailrc or /usr/lib/courier/esmptd?

BTW, I'm using debian and my DNS server is built-in to my D-Link router-
does this matter?

My .fetchmailrc looks like

poll <mailserver>
proto pop3
no dns 
no checkalias
no uidl
user <user> is <user> here
pass <pass>
pass8bits
fetchall
keep

and this gives output like this (sorry its incomplete, but im typing it in
here :)  )

fetchmail: SMTP < 250
fetchmail: SMTP > ELHO localhost
fetchmail: SMTP < 250 -mail OK
fetchmail: SMTP < 250 -XVERP=Courier
fetchmail: SMTP < 250 -XSECURITY=NONE,STARTTLS
fetchmail: SMTP < 250 -PIPELINING
fetchmail: SMTP < 250 -8BITMIME
fetchmail: SMTP < 250 -SIZE
fetchmail: SMTP < 250 -DSN
fetchmail: SMTP > MAIL FROM: <[EMAIL PROTECTED]> BODY=8BITMIME SIZE=4167
fetchmail: SMTP 417 DNS Lookup failure : domain.com. Try again later.
fetchmail: SMTP error : 417 DNS Lookup failure : domain.com. Try again
later.
fetchmail: SMTP > RSET
fetchmail: SMTP < 250 OK
.. not flushed

and so on. 


Any thoughts / ideas would be greatly appreciated. Many Thanks

Dan Garland

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to