Aldisa Admin wrote:
> 
> However, am unable to submit SMTP messages.  The logfile shows:
> 
> Jan 14 22:50:53 server courierfilter: Couldn't open smtpaccess.dat in
> /etc/courierCouldn't open smtpaccess.dat in /etc/courierINFO:
> Stopping pythonfilter
> 
> This seems to indicate a problem with permissions.

It could be.  On an rpm install of courier, both /etc/courier and 
/etc/courier/smtpaccess.dat are world readable.  Filters should be 
running as the same user as the SMTP daemon, so permission may not be 
the problem.  Your python installation may not have the module it needs 
to open the dat file.

Check the permission on smtpaccess.dat if you like.  Afterward, start 
"python" from the command line and try this:

import anydbm
smtpdb = anydbm.open('/etc/courier/smtpaccess.dat', 'r')

When you do, python should raise an exception.  The exception should 
tell you what's going wrong.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to