From: Kent West > I can send mail from this box to my own account on this box, as well as > to my account on my ISP (university campus). I think I've tried every > permutation on the "qualify_domain" and "local_domains" lines in > exim.conf, but either I haven't hit the right combination or it's got > something to do with other lines in that file (or something completely > different). > > Any help would be appreciated. Thanks!
Hi Kent, I had the same problem. Here is what I did... Set exim.conf with: (BTW, no quotes) 'qualify_domain = my.isp.whatever' -- so that it will attach my proper address upon external mailing 'qualify_recipient = mycomputername' -- to let exim know that unqualified recipient names should be local 'local_domains = mycomputername' -- so that I can send mail internally to different users 'local_domains_include_host = true' 'local_domains_include_host_literals = true' -- so that exim allows mail to be delivered internally via any of the above hosts If you generated your exim.conf via 'eximconfig' for dialup users, the rest of the configuration should do just fine. The next step is... Disable the 'exim' file in your /etc/init.d by opening the file and commenting out the lines with '#', naturally... Set exim to run as a daemon from /etc/inetd.conf by editing my MAIL category to look like this... #:MAIL: Mail, news and uucp services. #<off>#uucp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.uucpd smtp stream tcp nowait root /usr/sbin/exim /usr/sbin/exim -bd Now... as for fetchmail... run the attached little script as root to generate yourself a '.fetchmailrc' Don't bother with 'fetchmailconf' it just makes a mess of things if you don't know how to use it. I guess that goes for me too. By default the script will set your 'mda' to be 'procmail'. This must be tweaked to read: mda "/usr/sbin/exim -odb root" For test purposes, I would suggest not using the option 'fetchall' until you are certain that you have it working otherwise you may destroy any mail that you have in your mailbox. Always test before you 'fetchall'. Read the docs for fetchmail to find out about any further options you think you might want. Good Luck, brian.
fetch.tar.gz
Description: GNU Zip compressed data