>>>>Although the script hasn't complained it also has created the file.
It should read "hasn't created the file".
For some reason it runs but doesn't make the .dat - I have checked permissions on the file and directory and both should be accessible by the makeacceptsmailfor script.
I must thank you for pointing out the strings command though - that will come in useful during my data recovery off the dead drive that caused this re-install in the first place. grrrrrrr.
Thanks, Graham
Gerardo Gregory wrote:
My apologies...
I meant esmtpacceptmailfor.dat not esmtpdacceptmailfor.dat
(the second file is just my fingers wanting to daemonize everything!!!!)
strings esmtpacceptmailfor
will show you the binary database!
GG
Graham Smith wrote:
the file
/etc/courier/esmtpdacceptmailfor.dat
doesn't exist.
My smtpaccess directory contains a single file called default which contains the following lines (I have removed comments)
127.0.0.1 allow,RELAYCLIENT 81.5.183.106 allow,RELAYCLIENT 192.168.0 allow,RELAYCLIENT
I am not sure the second line should be there but without it I can't send mail (from the machine running Courier). I presume the first line counts as a loopback address.
I have run makestmpaccess and I will do so again now just to make sure!
Graham
Gerardo Gregory wrote:
esmtpacceptmailfor.dat
is the binary database file. You can easily confirm it's contents by using
strings esmtpdacceptmailfor.dat
BTW...do you have your loopback address in your smtpaccess file and have you ran makesmtpaccess?
good luck!
GG
Graham Smith wrote:
I have a directory
/etc/courier/esmtpacceptmailfor.dir
drwxr-xr-x 2 root root 4096 Jan 18 16:41 esmtpacceptmailfor.dir
that contains a single file I called domains which contains the following
localhost crazysquirrel.com .crazysquirrel.com xfly.co.uk .xfly.co.uk
I have run the "makeacceptmailfor" script which ran without complaint but I think I have spotted why it isn't working. Although the script hasn't complained it also has created the file
/etc/courier/esmtpacceptmailfor.dat
which I would have expected (from the man page and from what you say).
Any ideas?
Graham
Vinod Kurup wrote:
On Sunday, January 18, 2004, at 02:22 PM, Graham Smith wrote:
Jan 18 19:10:32 compost courieresmtpd: started,ip=[::ffff:217.12.10.37]
Jan 18 19:10:33 compost courieresmtpd:error,relay=::ffff:217.12.10.37,
from=<doozertheflib*at*yahoo.co.uk>, to=<doozer*at*crazysquirrel.com>: 513 Relaying denied.
my locals file (/etc/courier/locals) contains
localhost crazysquirrel.com .crazysquirrel.com xfly.co.uk .xfly.co.uk
What does the /etc/courier/esmtpacceptmailfor.dir directory contain? Once it contains the proper domains, you have to run makeacceptmailfor to build the .dat file. I think you said you did that already in your first mail, but just want to make sure it has the right data.
Vinod
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
