You really should post on the help board like the other post says, since I only checked this cuz no one has posted on the other one in a while & wanted to see what was here.
Looks like if you don't use the fileto or maillist options in the config (&/or want to risk messed up files) you can change...
$fileLocking = 1;
...to...
$fileLocking = 0;
...& try that, but if it gives an error on starting then change...
use Fcntl qw(:DEFAULT :flock);
...to...
use Fcntl qw(:DEFAULT);
...or (if that don't work) comment it out...
#use Fcntl qw(:DEFAULT :flock);
...I havent tested this & it may not work or may screw up.
Best bet: add flock to that machine
2nd choice: if that machine supports file locking, just not with flock, then create a function in soupermail called flock that then calls the file locking function you do have.
What are the machine specs? Include anything relevant, operating system (linux), http server, perl version...etc. What webhost do you have? Did they tell you they don't support flock? Did you get an error message? Do you have a url to test with?
Please answer all questions above...look for anything ending with a ? above & answer it, too many times I ask questions & get a short non-helpful message back with 1 or 2 of my questions answered & I have to ask again & again. I'm not picking on you, this is a result of alot of trying to help & not getting my questions answered in return, if you don't know the answer, acknowledge the question, then I know you read it, but don't know the answer. There are 5 questions above there should be 5 answers plus any comments you have.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I had never problems with Soupermail, it works always fine and I really like it.
But now I have a new webhosting company that doesn't support the FLOCK instruction. What I have to do to run Soupermail on this server?
Thank you for your help,
Andy
You really should post on the help board like the other post says, since I only checked this cuz no one has posted on the other one in a while & wanted to see what was here.
Looks like if you don't use the fileto or maillist options in the config (&/or want to risk messed up files) you can change...
$fileLocking = 1;
...to...
$fileLocking = 0;
...& try that, but if it gives an error on starting then change...
use Fcntl qw(:DEFAULT :flock);
...to...
use Fcntl qw(:DEFAULT);
...or (if that don't work) comment it out...
#use Fcntl qw(:DEFAULT :flock);
...I havent tested this & it may not work or may screw up.
Best bet: add flock to that machine
2nd choice: if that machine supports file locking, just not with flock, then create a function in soupermail called flock that then calls the file locking function you do have.
What are the machine specs? Include anything relevant, operating system (linux), http server, perl version...etc. What webhost do you have? Did they tell you they don't support flock? Did you get an error message? Do you have a url to test with?
Please answer all questions above...look for anything ending with a ? above & answer it, too many times I ask questions & get a short non-helpful message back with 1 or 2 of my questions answered & I have to ask again & again. I'm not picking on you, this is a result of alot of trying to help & not getting my questions answered in return, if you don't know the answer, acknowledge the question, then I know you read it, but don't know the answer. There are 5 questions above there should be 5 answers plus any comments you have.