I've reached a bit of an impasse and I need a pointer or two to get past a 
problem I'm having.

When executing the courier-authdaemon init script I get the following three 
(3) errors:

Starting Courier mail server:mkdir: cannot create directory `: 
-xaliasdir=/etc/courier/aliasdir/.courier-:xalias\033E': No such file or 
directory
cat: makedat: /etc/courier/smtpaccess
: No such file or directory
Cannot create makedat: /etc/courier/smtpaccess.tmp

Cannot create makedat: /etc/courier/smtpaccess.tmp

cat: makedat: /etc/courier/smtpaccess
: No such file or directory
 courierfilter authdaemond courierd

Here's what I have determined so far:
1)  None of the errors are directly generated by the init script itself, but 
by other scripts the init script executes.
2)  None of the errors happen if I execute the called scripts manually.
3)  The first error is a result of calling /usr/sbin/makealiases only happens 
as long as the the /etc/courier/aliases.dat file does not exist (i.e.: only 
the first time).  Every other time, there is no error.
4)  The other two errors are a result of calling /usr/sbin/makesmtpaccess 
and /usr/sbin/makesmtpaccess-msa, respectively.  They produce the error every 
time (whether the data file exists or not), and never actually create the 
data file.
5)  Did I mention that running the called scripts manually works correctly 
every time?

Does anyone have any pointers to finding a fix or suggestions on fixing this?  
Thanks.

-- 
Jason Flatt (jason @ flattfamily . com)
Father of five (http://www.flattfamily.com/)
Linux user (http://www.sourcemage.org/)
IRC Nick: Oadae  Channels: #sourcemage, #lvlug  Server: irc.freenode.net

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/IT d(-) s+:- a>++++ C++$(+++) UL++++ P(+) L+++ E- W++ N+@ o? K? w-- O? 
M-- V PS- PE+ Y+ PGP@ t 5+ X R tv--() b+@ DI+@ D+++ G e h---- r+++ y++++
------END GEEK CODE BLOCK------


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to