I actually run yum-update everyday and do have CentOS 4.2 installed (sorry for the confusion).  However, courier is not included in my list of updated packages, so that is why that is out-of-date.  I did what you suggested.  I ran the following:

strings /etc/courier/aliases.dat

and found that the .dat file did not match what I put in /etc/courier/aliases/forwards

so I ran:

rm /etc/courier/aliases.dat
makealiases

and then ran:

strings /etc/courier/aliases.dat

and the aliases.dat file is still not matching.  I noticed that there are 23 lines of garbage before any of the email addreses start in the .dat file....I'm not sure if this is normal or not.

Thanks,
Steve
 


Jay Lee wrote:
On Wed, February 8, 2006 2:04 pm, Steve Lange wrote:
  
I've been running courier-0.49.0.20050405-1 on a CentOS 4.0 box for
almost a year now and it's worked great.
    

You are running a beta copy of Courier.  While they are generally pretty
stable and it may not relate to your problem, I strongly suggest you
update to the latest stable release.  It is an extremely easy process to
upgrade if you are using RPM.  You should upgrade courier-authlib RPMS
first then Courier.  Also, you should be installing the latest CentOS
patches.  CentOS 4 is currently at update 2, sometimes referred to as
CentOS 4.2.  These patches fix security issues and bugs.  A quick:

yum update

should get you up to 4.2 + any further patches CentOS has released.

  
I have been able to setup
forwarding by editing the forwards file inside the aliases subdirectory of
courier.  After I make my changes in the forwards file, I run
'makealiases' and it doesn't give any errors, then I restart courier for
the changes to take effect.  This process worked up until a few weeks ago.
Now when I add/edit/delete entries out of the forwards file and
run 'makealiases' and restart courier, the changes don't take effect, the
new forwards do not work, if I removed a forward, it is still active.
Does anyone have any suggestions or has anyone seen this
before?  Thanks in advance for any help!
    

Try running:

strings /etc/courier/aliases.dat

See if the changed email aliases are appearing.  If the changes are not
being reflected, there may be a problem with the file, try:

rm /etc/courier/aliases.dat
makealiases

To recreate the file, then try the strings command again.  If it's still
no go, you may be making changes in the wrong place.  You should be
modifying any file in /etc/courier/aliases/ (if you didn't use RPM to
build courier the path to etc may differ).  What file are you editing?

Jay
  

-- 
Thank You,
Steve

Steve Lange
Network Planning Analyst
Michael Day Enterprises
Phone: 330-336-7611
960 Seville Rd.
Wadsworth, Ohio 44281
www.mdayinc.com

Reply via email to