17 messages in net.sourceforge.lists.courier-usersRE: [courier-users] authdaemon not ru...
FromSent OnAttachments
Bill MichellFeb 26, 2001 1:23 pm 
Bill MichellMar 4, 2001 9:10 am 
Bruce A. Burdick, Jr.Mar 4, 2001 9:33 am 
SFMar 4, 2001 11:37 am 
Sam VarshavchikMar 4, 2001 12:30 pm 
Sam VarshavchikMar 4, 2001 12:30 pm 
Yuan P LiMar 4, 2001 1:11 pm 
Sam VarshavchikMar 4, 2001 1:52 pm 
Bill MichellMar 4, 2001 5:38 pm 
Sam VarshavchikMar 4, 2001 8:07 pm 
Bill MichellMar 5, 2001 2:20 am 
Sam VarshavchikMar 5, 2001 4:40 am 
Bill MichellMar 5, 2001 5:29 am 
Sam VarshavchikMar 5, 2001 12:26 pm 
Bill MichellMar 6, 2001 5:55 am 
Sam VarshavchikMar 6, 2001 2:33 pm 
by...@wotevah.infostreet.comMar 6, 2001 3:40 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [courier-users] authdaemon not running during boot :-(Actions...
From:Bill Michell (Bi@mics.org.uk)
Date:Mar 4, 2001 9:10:45 am
List:net.sourceforge.lists.courier-users

Great; that worked. Next question is how come?

I understand that starting authdaemond would fix the authentication problem, but
none of the other daemons are running at this point, so how does mail make the delivery? What would happen if the delivery
needed to be queued, because it was for delivery to a (temporarily) unreachable host?

This isn't just an idle query; I want to replace sendmail on my bastion host. At
the moment, smtpd is listening on port 25, and hands off all messages to sendmail for forwarding to either internal or external
hosts - there are no local mail accounts on this machine.

I am perfectly happy with smtpd's blocking/security features, but would like to
replace sendmail with something better - by which I mean courier.

Ideally, I would like esmtpd to listen on port 25 on the internal and loopback
interfaces (so my real mail server can use the courier to courier delivery optimisations), with smtpd listening on the external
one. The courier version of sendmail will need to be able to forward mails coming in from outside via smtpd. Easy so far. But what
happens if the internal mail server is temporarily down? At the moment, I run sendmail as a non-listening daemon as well, so it can
process its queue from time to time. Which components of courier do I need to install and run to achieve an equivalent
effect? Is there any documentation that explains exactly what each module does, and how and when it interracts with the others - man
sendmail isn't very helpful on this, for example; it states that it does some things itself and relies on other modules for other
functionality...

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net]On Behalf Of Sam Varshavchik Sent: Monday, February 26, 2001 11:00 PM To: cour@lists.sourceforge.net Subject: Re: [courier-users] authdaemon not running during boot :-(

On Mon, 26 Feb 2001, Bill Michell wrote:

I have a line in my boot.local file that used to send a message to root every
time my server was booted.

The line uses "mail" to send dmesg to a nominated user who has a real account on
localhost (which is the machine where the domain's primary mailserver resides). It worked perfectly when I used the real sendmail
for local delivery.

Unfortunately, mail fails with: authdaemon: connect: Connection refused 450 Service temporarily unavailable. [LOCALACCOUNT@LOCALDOMAIN]: invalid address.

None of the mail daemons is yet running at this point in the boot sequence, so
it isn't surprising that we can't yet authenticate. mail is obviously not clever enough to queue the message and attempt redelivery
later on in the boot process.

So the question is how to solve this problem? * Should I send the message to some other point in the boot sequence? * Or can I authenticate during boot using userdb, and switch to authdaemon after
it starts? * Or should I use a mail client that knows how to queue during the boot
sequence, and flush the queue later? * Or something even better?

Manually start the authdaemond process very early in your boot cycle. Fish the relevant lines from the existing startup script.