On Sun, Dec 16, 2001 at 10:37:06AM -0800, Paul E Condon wrote: | dman wrote: | > On Sat, Dec 15, 2001 at 08:49:44PM -0800, Paul E Condon wrote: | | > | What information is needed by people who might give me advice? | > | > One way to see if exim is performing local delivery correctly is to | > send yourself a message. | > | > $ exim pecondon | > From: me | > Subject: test | > | > asfd | > ^D | > $ | > | > (the ^D is a Ctrl-D, for EOF (End-Of-File)). exim should then | > (immediately) deliver that message to /var/mail/pecondon. Whether or | > not it does, /var/log/exim/mainlog will have a record of what | > happened. Show us the relevant portion of that. | > | > After you get local delivery set up, then you can proceed to either | > remote delivery or fetchmail configuration (fetchmail should hand off | > mail to exim, which then requires local delivery for you to actually | > get the message). | | I did as suggested, except /usr/sbin/exim instead of just exim.
Yeah, if /usr/sbin is not in your path (it should only be in root's path). | Immediately upon my pressing ^D, my modem became active | | (I have diald running.) But I got interrupted and could not check | mainlog immediately. Several minutes transpired. After that the | message that I sent appeared in the Inbox of my mail account at | my ISP. The tail of mainlog is now: | | 2001-12-16 09:31:35 End queue run: pid=2838 -qf | 2001-12-16 09:32:47 Start queue run: pid=2888 -qf | 2001-12-16 09:32:47 End queue run: pid=2888 -qf | 2001-12-16 09:35:26 16FfCA-000086-00 <= [EMAIL PROTECTED] U=root P=local S=871 | 2001-12-16 09:35:26 16FfCA-000086-00 => pecondon <[EMAIL PROTECTED]> D=real_local | T=local_delivery | 2001-12-16 09:35:26 16FfCA-000086-00 Completed | 2001-12-16 09:36:53 Start queue run: pid=602 -qf | 2001-12-16 09:36:53 End queue run: pid=602 -qf | 2001-12-16 09:38:01 Start queue run: pid=635 | 2001-12-16 09:38:01 End queue run: pid=635 | | This doesn't make much sense to me. Except that exim is running, and is not | performing local delivery. Here's an explanation : The line 2001-12-16 09:35:26 16FfCA-000086-00 <= [EMAIL PROTECTED] U=root P=local S=871 says that on such-and-such a time a message destined for [EMAIL PROTECTED] (unless your machine is "quiknet.com", this is not supposed to have local delivery) was given to exim by the user "root" (that's ok, you're testing out the setup, otherwise it is better to be a regular user). The line 2001-12-16 09:35:26 16FfCA-000086-00 => pecondon <[EMAIL PROTECTED]> D=real_local says that at that time the message (note the ID is the same) destined for "[EMAIL PROTECTED]" was delivered by the "real_local" transport. Oh! I see a problem here. You entered the wrong name in eximconfig for your host. You have told exim that your machine is "quicknet.com", but it isn't according to DNS tables. It seems that you have an alias somewhere that turns "pecondon" (with no domain, the domain "quicknet.com" is added) into "usenet!cmn.lan.gnu". (I found this by looking for the "real_local" transport entry in your config that was below). I've been looking through the archives, but it seems to be missing the message I'm looking for. Since I still have a local copy, I've copied the core of it here (instructions for eximconfig) : ------------------ First pick option "(2)", smarthost. The "visible" mail name of your system should be the same as "echo $HOSTNAME". Don't worry about it too much, just don't pick the name of your ISP (or some other real server). There are no other visible mail names for your system. You don't want to relay any mail. No systems use you as a smarthost. Don't bother trying to use the RBL. It won't work for your setup. (RTFM (google for exim, it is explained in the docs) if you want to know the details) When you get to the question Which machine will act as the smarthost and handle outgoing mail? this is where you enter in the name of your ISP's SMTP server. Your username should be given as the 'postmaster'/'root' alias. Then you are done. ------------------ I agree that the questions and various options are not completely clear, but now that I have some experience with mail I know what they mean. Also exim's config options and organization is not totally clear until you understand the architecture of the system. Then it makes sense, and is actually quite nice. -D -- If anyone would come after me, he must deny himself and take up his cross and follow me. For whoever wants to save his life will lose it, but whoever loses his life for me and for the gospel will save it. What good is it for a man to gain the whole world, yet forfeit his soul? Or what can a man give in exchange for his soul? Mark 8:34-37