[vchkpw] All e-mails tagged from Spamassassin automatically in a different directory
Hi, I'm using qmail with vpopmail and simscan. Via simscan I'm using Spamassassin 3.1. Is there any possibility to move any incoming mails, which are tagged by sa, in a special directory for that perticular domain? Or is this a qmail question? Regards Christoph
RE: [vchkpw] All e-mails tagged from Spamassassin automatically in a differentdirectory
You would probably want to use maildrop to do this. You could do it at a domain level or user level. In a user .qmail or the domain .qmail-default, you'd call maildrop |maildrop mailfilter Then you'd have a mailfilter file, in the same directory as the .qmail file, that looks similar to this: import EXT import HOST import HOME import FROM MAILDIRQUOTA=`~vpopmail/bin/vuserinfo -q [EMAIL PROTECTED] if ((/^X-Spam-Flag:.*YES/)) { `test -d ./Maildir/.SPAM` if( $RETURNCODE == 1 ) { `maildirmake ./Maildir/.SPAM;chown -R vpopmail.vchkpw ./Maildir/.SPAM` } to "./Maildir/.SPAM/" } to "./Maildir/" I'm not totally sure about doing it in the .qmail-default. I think you could and then if the mail isn't spam, just don't do anything with the message. In that case, the call to vdelivermail should be called as normal and deliver the message. I prefer to filter per user and then have my users access their potential spam via webmail. Seems to be working for me. My users like not getting tons of junk that they have to download and delete anyway. I also have scripts that clean all tagged messages older than 7 days. That way if a user doesn't want to, they don't have to check their spam on the server and the server drives don't overflow with junk. :) Good luck, Charlie > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 03, 2006 5:49 AM > To: vchkpw@inter7.com > Subject: [vchkpw] All e-mails tagged from Spamassassin > automatically in a differentdirectory > > Hi, > > I'm using qmail with vpopmail and simscan. Via simscan I'm > using Spamassassin 3.1. Is there any possibility to move any > incoming mails, which are tagged by sa, in a special > directory for that perticular domain? Or is this a qmail question? > > Regards > Christoph >
[vchkpw] Feature for vdelivermail
Hi, after the resultless search for a filter for emails tagged by spamassassin I now want to add some small code to vdelivermail. The plan: When the mail is tagged by spamassassin vdelivermail should not deliver to $DOMAIN/$USER/Maildir/new but to $DOMAIN/$USER/Maildir/.Spam/new. This feature should be domainbased and customizable via a controlfile like tcp.smtp or simcontrol. Is there any idea where to put these code best? Regards Christoph
[vchkpw] Re: Feature for vdelivermail
[EMAIL PROTECTED] said the following on 03/01/2006 15:28: > Hi, > > after the resultless search for a filter for emails tagged by > spamassassin I now want to add some small code to vdelivermail. The > plan: When the mail is tagged by spamassassin vdelivermail should not > deliver to $DOMAIN/$USER/Maildir/new but to > $DOMAIN/$USER/Maildir/.Spam/new. This feature should be domainbased and > customizable via a controlfile like tcp.smtp or simcontrol. As someone has already replied, maildrop can do this for you. This sort of code does not belong in vdelivermail. R. -- http://robinbowes.com If a man speaks in a forest, and his wife's not there, is he still wrong?
Re: [vchkpw] Re: Feature for vdelivermail
Hi Robin, Zitat von Robin Bowes <[EMAIL PROTECTED]>: As someone has already replied, maildrop can do this for you. This sort of code does not belong in vdelivermail. Yeah, that mail was too late. I've seen it a few minutes after my last mail :D. Some other question: Why maildrop doesn't executes the following lines: `maildirmake $HOME/Maildir/.SPAM` `chown -R vpopmail.vchkpw $HOME/Maildir/.SPAM` Here is my complete mailfilter file: import EXT import HOST import HOME HOME=$HOME/$EXT if (/^X-Spam-Flag: *YES/) { `test -d $HOME/Maildir/.SPAM` if ($RETURNCODE == 1) { `maildirmake $HOME/Maildir/.SPAM` `chown -R vpopmail.vchkpw $HOME/Maildir/.SPAM` } to "$HOME/Maildir/.SPAM/" } to "$HOME/Maildir/" Regards Christoph
RE: [vchkpw] Re: Feature for vdelivermail
I don't believe you need the "HOME=$HOME/$EXT" line. $HOME should point to the user directory containing Maildir. I've had problems with maildrop when I first set things up. It was like indentation had to be a certain way or something. Of course, it could just be that while changing indentation I fixed something else. I would put both commands on the same line. Again, here's the way I do it and it works. Not sure about the changes you made or why. You don't need the whole path when testing for the .SPAM folder. Everything can be relative to where the maildrop script is run from. Also, check your logs. Maildrop errors will show up. import EXT import HOST import HOME import FROM MAILDIRQUOTA=`~vpopmail/bin/vuserinfo -q [EMAIL PROTECTED] if ((/^X-Spam-Flag:.*YES/)) { `test -d ./Maildir/.SPAM` if( $RETURNCODE == 1 ) { `maildirmake ./Maildir/.SPAM;chown -R vpopmail.vchkpw ./Maildir/.SPAM` } to "./Maildir/.SPAM/" } to "./Maildir/" > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 03, 2006 8:22 AM > To: vchkpw@inter7.com > Subject: Re: [vchkpw] Re: Feature for vdelivermail > > Hi Robin, > > Zitat von Robin Bowes <[EMAIL PROTECTED]>: > > > As someone has already replied, maildrop can do this for you. > > This sort of code does not belong in vdelivermail. > > Yeah, > > that mail was too late. I've seen it a few minutes after my > last mail :D. Some other question: Why maildrop doesn't > executes the following > lines: > > > `maildirmake $HOME/Maildir/.SPAM` > `chown -R vpopmail.vchkpw $HOME/Maildir/.SPAM` > > Here is my complete mailfilter file: > > > import EXT > import HOST > import HOME > > HOME=$HOME/$EXT > > if (/^X-Spam-Flag: *YES/) > { > `test -d $HOME/Maildir/.SPAM` > if ($RETURNCODE == 1) > { > `maildirmake $HOME/Maildir/.SPAM` > `chown -R vpopmail.vchkpw $HOME/Maildir/.SPAM` > } > > to "$HOME/Maildir/.SPAM/" > } > > to "$HOME/Maildir/" > > > Regards > Christoph >
RE: [vchkpw] Re: Feature for vdelivermail
Zitat von "Charles J. Boening" <[EMAIL PROTECTED]>: I don't believe you need the "HOME=$HOME/$EXT" line. $HOME should point to the user directory containing Maildir. The first error was, that maildrop has forgotton the username. So HOME=$HOME/$EXT ends in the absolute path to the maildir for me. I've had problems with maildrop when I first set things up. It was like indentation had to be a certain way or something. Of course, it could just be that while changing indentation I fixed something else. I would put both commands on the same line. I've tried it with one line and other variants. I printed out the commands an tried it manually on the commandline - everything works fine. When I try to call these commands from inside the mailfiler - nothing happens even not, when I try to call TEST=`ls`. Again, here's the way I do it and it works. Not sure about the changes you made or why. You don't need the whole path when testing for the .SPAM folder. Everything can be relative to where the maildrop script is run from. I've allready tried it with relative paths. The same error shows up... Also, check your logs. Maildrop errors will show up. Yeah, I get the maildrop:_Unable_to_create_a_dot-lock. error because the target Maildir doesn't exists. Thanks for any help. Regards Christoph
RE: [vchkpw] Re: Feature for vdelivermail
Make sure you check permissions on the mailfilter file. Should be vchkpw.vpopmail and chmod 600 One thing you can do is echo out information to a temp file as you're running. `echo $HOME > /tmp/home.txt` I think that should work. May help in debugging. Are you running the latest version of maildrop? This seems to be turning more into a maildrop discussion than a vpopmail discussion. Email me direct and we can continue the discussion. Charlie > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 03, 2006 8:42 AM > To: vchkpw@inter7.com > Subject: RE: [vchkpw] Re: Feature for vdelivermail > > Zitat von "Charles J. Boening" <[EMAIL PROTECTED]>: > > > I don't believe you need the "HOME=$HOME/$EXT" line. $HOME should > > point to the user directory containing Maildir. > > The first error was, that maildrop has forgotton the > username. So HOME=$HOME/$EXT ends in the absolute path to the > maildir for me. > > > > > I've had problems with maildrop when I first set things up. It was > > like indentation had to be a certain way or something. Of > course, it > > could just be that while changing indentation I fixed > something else. > > > > I would put both commands on the same line. > > I've tried it with one line and other variants. I printed out > the commands an tried it manually on the commandline - > everything works fine. When I try to call these commands from > inside the mailfiler - nothing happens even not, when I try > to call TEST=`ls`. > > > > > Again, here's the way I do it and it works. Not sure about the > > changes you made or why. You don't need the whole path > when testing > > for the .SPAM folder. Everything can be relative to where the > > maildrop script is run from. > > > > I've allready tried it with relative paths. The same error shows up... > > > Also, check your logs. Maildrop errors will show up. > > > > Yeah, I get the maildrop:_Unable_to_create_a_dot-lock. error > because the target Maildir doesn't exists. > > Thanks for any help. > > Regards > Christoph >
[vchkpw] reply problem
Hi there, Anybody could help me. When I am trying to reply from Squirrel online I get this message: ERROR: ERROR : Could not append message to INBOX.Sent. Server responded: [ALERT] You exceeded your mail quota. Solution: Remove unneccessary messages from your folder and start with your Trash folder. Warning: Cannot add header information - headers already sent by (output started at /var/www/html/webmail/functions/page_header.php:29) in /var/www/html/webmail/src/compose.php on line 402
RE: [vchkpw] reply problem
It's basically saying it can't add the email into the sent folder because there's not enough space in your mailbox. The header error is php, meaning data was sent to the browser before the php header command was given. Robert -Original Message- From: Saimir Hafizi [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 11:42 AM To: vchkpw@inter7.com Subject: [vchkpw] reply problem Hi there, Anybody could help me. When I am trying to reply from Squirrel online I get this message: ERROR: ERROR : Could not append message to INBOX.Sent. Server responded: [ALERT] You exceeded your mail quota. Solution: Remove unneccessary messages from your folder and start with your Trash folder. Warning: Cannot add header information - headers already sent by (output started at /var/www/html/webmail/functions/page_header.php:29) in /var/www/html/webmail/src/compose.php on line 402
Re: [vchkpw] reply problem
Thank you Robert for your response. Could you tell me please how I deal with this problem. - Original Message - From: "Robert Bartlett" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 03, 2006 1:32 PM Subject: RE: [vchkpw] reply problem > It's basically saying it can't add the email into the sent folder because > there's not enough space in your mailbox. The header error is php, meaning > data was sent to the browser before the php header command was given. > > Robert > > -Original Message- > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 03, 2006 11:42 AM > To: vchkpw@inter7.com > Subject: [vchkpw] reply problem > > Hi there, > Anybody could help me. When I am trying to reply from Squirrel online I get > this message: > > ERROR: > ERROR : Could not append message to INBOX.Sent. > Server responded: [ALERT] You exceeded your mail quota. > Solution: Remove unneccessary messages from your folder > and start with your Trash folder. > > > > > > Warning: Cannot add header information - headers already sent by (output > started at /var/www/html/webmail/functions/page_header.php:29) in > /var/www/html/webmail/src/compose.php on line 402 > > > > > > > > > > >
RE: [vchkpw] reply problem
Well if the error is telling the truth you need to either increase your mail quota or delete some emails from your inbox to free up space. Are you using qmailadmin to administrate your email accounts? Robert -Original Message- From: Saimir Hafizi [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 11:50 AM To: vchkpw@inter7.com Subject: Re: [vchkpw] reply problem Thank you Robert for your response. Could you tell me please how I deal with this problem. - Original Message - From: "Robert Bartlett" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 03, 2006 1:32 PM Subject: RE: [vchkpw] reply problem > It's basically saying it can't add the email into the sent folder because > there's not enough space in your mailbox. The header error is php, meaning > data was sent to the browser before the php header command was given. > > Robert > > -Original Message- > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 03, 2006 11:42 AM > To: vchkpw@inter7.com > Subject: [vchkpw] reply problem > > Hi there, > Anybody could help me. When I am trying to reply from Squirrel online I get > this message: > > ERROR: > ERROR : Could not append message to INBOX.Sent. > Server responded: [ALERT] You exceeded your mail quota. > Solution: Remove unneccessary messages from your folder > and start with your Trash folder. > > > > > > Warning: Cannot add header information - headers already sent by (output > started at /var/www/html/webmail/functions/page_header.php:29) in > /var/www/html/webmail/src/compose.php on line 402 > > > > > > > > > > >
Re: [vchkpw] reply problem
yes - Original Message - From: "Robert Bartlett" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 03, 2006 1:41 PM Subject: RE: [vchkpw] reply problem > Well if the error is telling the truth you need to either increase your mail > quota or delete some emails from your inbox to free up space. Are you using > qmailadmin to administrate your email accounts? > > Robert > > -Original Message- > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 03, 2006 11:50 AM > To: vchkpw@inter7.com > Subject: Re: [vchkpw] reply problem > > Thank you Robert for your response. > Could you tell me please how I deal with this problem. > > - Original Message - > From: "Robert Bartlett" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, January 03, 2006 1:32 PM > Subject: RE: [vchkpw] reply problem > > > > It's basically saying it can't add the email into the sent folder because > > there's not enough space in your mailbox. The header error is php, meaning > > data was sent to the browser before the php header command was given. > > > > Robert > > > > -Original Message- > > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, January 03, 2006 11:42 AM > > To: vchkpw@inter7.com > > Subject: [vchkpw] reply problem > > > > Hi there, > > Anybody could help me. When I am trying to reply from Squirrel online I > get > > this message: > > > > ERROR: > > ERROR : Could not append message to INBOX.Sent. > > Server responded: [ALERT] You exceeded your mail quota. > > Solution: Remove unneccessary messages from your folder > > and start with your Trash folder. > > > > > > > > > > > > Warning: Cannot add header information - headers already sent by (output > > started at /var/www/html/webmail/functions/page_header.php:29) in > > /var/www/html/webmail/src/compose.php on line 402 > > > > > > > > > > > > > > > > > > > > > > > > > > >
RE: [vchkpw] reply problem
Then I would suggest to login to qmailadmin and up your quota on the account that is giving you this error. Robert -Original Message- From: Saimir Hafizi [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 12:17 PM To: vchkpw@inter7.com Subject: Re: [vchkpw] reply problem yes - Original Message - From: "Robert Bartlett" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 03, 2006 1:41 PM Subject: RE: [vchkpw] reply problem > Well if the error is telling the truth you need to either increase your mail > quota or delete some emails from your inbox to free up space. Are you using > qmailadmin to administrate your email accounts? > > Robert > > -Original Message- > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 03, 2006 11:50 AM > To: vchkpw@inter7.com > Subject: Re: [vchkpw] reply problem > > Thank you Robert for your response. > Could you tell me please how I deal with this problem. > > - Original Message - > From: "Robert Bartlett" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, January 03, 2006 1:32 PM > Subject: RE: [vchkpw] reply problem > > > > It's basically saying it can't add the email into the sent folder because > > there's not enough space in your mailbox. The header error is php, meaning > > data was sent to the browser before the php header command was given. > > > > Robert > > > > -Original Message- > > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, January 03, 2006 11:42 AM > > To: vchkpw@inter7.com > > Subject: [vchkpw] reply problem > > > > Hi there, > > Anybody could help me. When I am trying to reply from Squirrel online I > get > > this message: > > > > ERROR: > > ERROR : Could not append message to INBOX.Sent. > > Server responded: [ALERT] You exceeded your mail quota. > > Solution: Remove unneccessary messages from your folder > > and start with your Trash folder. > > > > > > > > > > > > Warning: Cannot add header information - headers already sent by (output > > started at /var/www/html/webmail/functions/page_header.php:29) in > > /var/www/html/webmail/src/compose.php on line 402 > > > > > > > > > > > > > > > > > > > > > > > > > > >
Re: [vchkpw] reply problem
it is being set up as NOQUOTA. what should I change for? - Original Message - From: "Robert Bartlett" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 03, 2006 2:08 PM Subject: RE: [vchkpw] reply problem > Then I would suggest to login to qmailadmin and up your quota on the account > that is giving you this error. > > Robert > > -Original Message- > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 03, 2006 12:17 PM > To: vchkpw@inter7.com > Subject: Re: [vchkpw] reply problem > > yes > - Original Message - > From: "Robert Bartlett" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, January 03, 2006 1:41 PM > Subject: RE: [vchkpw] reply problem > > > > Well if the error is telling the truth you need to either increase your > mail > > quota or delete some emails from your inbox to free up space. Are you > using > > qmailadmin to administrate your email accounts? > > > > Robert > > > > -Original Message- > > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, January 03, 2006 11:50 AM > > To: vchkpw@inter7.com > > Subject: Re: [vchkpw] reply problem > > > > Thank you Robert for your response. > > Could you tell me please how I deal with this problem. > > > > - Original Message - > > From: "Robert Bartlett" <[EMAIL PROTECTED]> > > To: > > Sent: Tuesday, January 03, 2006 1:32 PM > > Subject: RE: [vchkpw] reply problem > > > > > > > It's basically saying it can't add the email into the sent folder > because > > > there's not enough space in your mailbox. The header error is php, > meaning > > > data was sent to the browser before the php header command was given. > > > > > > Robert > > > > > > -Original Message- > > > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, January 03, 2006 11:42 AM > > > To: vchkpw@inter7.com > > > Subject: [vchkpw] reply problem > > > > > > Hi there, > > > Anybody could help me. When I am trying to reply from Squirrel online I > > get > > > this message: > > > > > > ERROR: > > > ERROR : Could not append message to INBOX.Sent. > > > Server responded: [ALERT] You exceeded your mail > quota. > > > Solution: Remove unneccessary messages from your > folder > > > and start with your Trash folder. > > > > > > > > > > > > > > > > > > Warning: Cannot add header information - headers already sent by (output > > > started at /var/www/html/webmail/functions/page_header.php:29) in > > > /var/www/html/webmail/src/compose.php on line 402 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
RE: [vchkpw] reply problem
If it is being setup as noquota then I believe there is something wrong. NOQUOTA usually means unlimited space for that account. Perhaps the domain settings are over quota? If you use vqadmin I would check that and up the quota for the mail domain and see if that works. Robert -Original Message- From: Saimir Hafizi [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 12:23 PM To: vchkpw@inter7.com Subject: Re: [vchkpw] reply problem it is being set up as NOQUOTA. what should I change for? - Original Message - From: "Robert Bartlett" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 03, 2006 2:08 PM Subject: RE: [vchkpw] reply problem > Then I would suggest to login to qmailadmin and up your quota on the account > that is giving you this error. > > Robert > > -Original Message- > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 03, 2006 12:17 PM > To: vchkpw@inter7.com > Subject: Re: [vchkpw] reply problem > > yes > - Original Message - > From: "Robert Bartlett" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, January 03, 2006 1:41 PM > Subject: RE: [vchkpw] reply problem > > > > Well if the error is telling the truth you need to either increase your > mail > > quota or delete some emails from your inbox to free up space. Are you > using > > qmailadmin to administrate your email accounts? > > > > Robert > > > > -Original Message- > > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, January 03, 2006 11:50 AM > > To: vchkpw@inter7.com > > Subject: Re: [vchkpw] reply problem > > > > Thank you Robert for your response. > > Could you tell me please how I deal with this problem. > > > > - Original Message - > > From: "Robert Bartlett" <[EMAIL PROTECTED]> > > To: > > Sent: Tuesday, January 03, 2006 1:32 PM > > Subject: RE: [vchkpw] reply problem > > > > > > > It's basically saying it can't add the email into the sent folder > because > > > there's not enough space in your mailbox. The header error is php, > meaning > > > data was sent to the browser before the php header command was given. > > > > > > Robert > > > > > > -Original Message- > > > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, January 03, 2006 11:42 AM > > > To: vchkpw@inter7.com > > > Subject: [vchkpw] reply problem > > > > > > Hi there, > > > Anybody could help me. When I am trying to reply from Squirrel online I > > get > > > this message: > > > > > > ERROR: > > > ERROR : Could not append message to INBOX.Sent. > > > Server responded: [ALERT] You exceeded your mail > quota. > > > Solution: Remove unneccessary messages from your > folder > > > and start with your Trash folder. > > > > > > > > > > > > > > > > > > Warning: Cannot add header information - headers already sent by (output > > > started at /var/www/html/webmail/functions/page_header.php:29) in > > > /var/www/html/webmail/src/compose.php on line 402 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Re: [vchkpw] reply problem
I checked the domain for the quota and it is unlimited (NOQUOTA) fot its accounts. All together accounts have used around 0.1 ( is this MB?) - Original Message - From: "Robert Bartlett" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 03, 2006 2:16 PM Subject: RE: [vchkpw] reply problem > If it is being setup as noquota then I believe there is something wrong. > NOQUOTA usually means unlimited space for that account. Perhaps the domain > settings are over quota? If you use vqadmin I would check that and up the > quota for the mail domain and see if that works. > > Robert > > -Original Message- > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 03, 2006 12:23 PM > To: vchkpw@inter7.com > Subject: Re: [vchkpw] reply problem > > it is being set up as NOQUOTA. what should I change for? > - Original Message - > From: "Robert Bartlett" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, January 03, 2006 2:08 PM > Subject: RE: [vchkpw] reply problem > > > > Then I would suggest to login to qmailadmin and up your quota on the > account > > that is giving you this error. > > > > Robert > > > > -Original Message- > > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, January 03, 2006 12:17 PM > > To: vchkpw@inter7.com > > Subject: Re: [vchkpw] reply problem > > > > yes > > - Original Message - > > From: "Robert Bartlett" <[EMAIL PROTECTED]> > > To: > > Sent: Tuesday, January 03, 2006 1:41 PM > > Subject: RE: [vchkpw] reply problem > > > > > > > Well if the error is telling the truth you need to either increase your > > mail > > > quota or delete some emails from your inbox to free up space. Are you > > using > > > qmailadmin to administrate your email accounts? > > > > > > Robert > > > > > > -Original Message- > > > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, January 03, 2006 11:50 AM > > > To: vchkpw@inter7.com > > > Subject: Re: [vchkpw] reply problem > > > > > > Thank you Robert for your response. > > > Could you tell me please how I deal with this problem. > > > > > > - Original Message - > > > From: "Robert Bartlett" <[EMAIL PROTECTED]> > > > To: > > > Sent: Tuesday, January 03, 2006 1:32 PM > > > Subject: RE: [vchkpw] reply problem > > > > > > > > > > It's basically saying it can't add the email into the sent folder > > because > > > > there's not enough space in your mailbox. The header error is php, > > meaning > > > > data was sent to the browser before the php header command was given. > > > > > > > > Robert > > > > > > > > -Original Message- > > > > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > > > > Sent: Tuesday, January 03, 2006 11:42 AM > > > > To: vchkpw@inter7.com > > > > Subject: [vchkpw] reply problem > > > > > > > > Hi there, > > > > Anybody could help me. When I am trying to reply from Squirrel online > I > > > get > > > > this message: > > > > > > > > ERROR: > > > > ERROR : Could not append message to INBOX.Sent. > > > > Server responded: [ALERT] You exceeded your mail > > quota. > > > > Solution: Remove unneccessary messages from your > > folder > > > > and start with your Trash folder. > > > > > > > > > > > > > > > > > > > > > > > > Warning: Cannot add header information - headers already sent by > (output > > > > started at /var/www/html/webmail/functions/page_header.php:29) in > > > > /var/www/html/webmail/src/compose.php on line 402 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Re: [vchkpw] reply problem
Thank you Robert. For the moment I think I resolved it by deleting and recreating again that account. Shouldn't work in this way but I don't know much about qmail, so I used the easiest one. Anyways, thank you for your help saimir - Original Message - From: "Robert Bartlett" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 03, 2006 2:16 PM Subject: RE: [vchkpw] reply problem > If it is being setup as noquota then I believe there is something wrong. > NOQUOTA usually means unlimited space for that account. Perhaps the domain > settings are over quota? If you use vqadmin I would check that and up the > quota for the mail domain and see if that works. > > Robert > > -Original Message- > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 03, 2006 12:23 PM > To: vchkpw@inter7.com > Subject: Re: [vchkpw] reply problem > > it is being set up as NOQUOTA. what should I change for? > - Original Message - > From: "Robert Bartlett" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, January 03, 2006 2:08 PM > Subject: RE: [vchkpw] reply problem > > > > Then I would suggest to login to qmailadmin and up your quota on the > account > > that is giving you this error. > > > > Robert > > > > -Original Message- > > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, January 03, 2006 12:17 PM > > To: vchkpw@inter7.com > > Subject: Re: [vchkpw] reply problem > > > > yes > > - Original Message - > > From: "Robert Bartlett" <[EMAIL PROTECTED]> > > To: > > Sent: Tuesday, January 03, 2006 1:41 PM > > Subject: RE: [vchkpw] reply problem > > > > > > > Well if the error is telling the truth you need to either increase your > > mail > > > quota or delete some emails from your inbox to free up space. Are you > > using > > > qmailadmin to administrate your email accounts? > > > > > > Robert > > > > > > -Original Message- > > > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, January 03, 2006 11:50 AM > > > To: vchkpw@inter7.com > > > Subject: Re: [vchkpw] reply problem > > > > > > Thank you Robert for your response. > > > Could you tell me please how I deal with this problem. > > > > > > - Original Message - > > > From: "Robert Bartlett" <[EMAIL PROTECTED]> > > > To: > > > Sent: Tuesday, January 03, 2006 1:32 PM > > > Subject: RE: [vchkpw] reply problem > > > > > > > > > > It's basically saying it can't add the email into the sent folder > > because > > > > there's not enough space in your mailbox. The header error is php, > > meaning > > > > data was sent to the browser before the php header command was given. > > > > > > > > Robert > > > > > > > > -Original Message- > > > > From: Saimir Hafizi [mailto:[EMAIL PROTECTED] > > > > Sent: Tuesday, January 03, 2006 11:42 AM > > > > To: vchkpw@inter7.com > > > > Subject: [vchkpw] reply problem > > > > > > > > Hi there, > > > > Anybody could help me. When I am trying to reply from Squirrel online > I > > > get > > > > this message: > > > > > > > > ERROR: > > > > ERROR : Could not append message to INBOX.Sent. > > > > Server responded: [ALERT] You exceeded your mail > > quota. > > > > Solution: Remove unneccessary messages from your > > folder > > > > and start with your Trash folder. > > > > > > > > > > > > > > > > > > > > > > > > Warning: Cannot add header information - headers already sent by > (output > > > > started at /var/www/html/webmail/functions/page_header.php:29) in > > > > /var/www/html/webmail/src/compose.php on line 402 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
RE: [vchkpw] vadduser from perl script via sudo
>I have created a user registration script to create a new email account. >The script is written in perl and call vadduser, I have added a sudo entry >to allow the webserver user to execute vadduser as root. The script has >worked well for sometime but now receives the following error. This error >is not raised when running vadduser from the command line. >Error: Unable to chdir to vpopmail/domains directory 64256 >Thanks in advance Here is how I resolved this. Run visudo as root and add the following line. apache ALL = NOPASSWD: /home/vpopmail/bin/vadduser Now execute vadduser using the sudo command. print system('sudo /home/vpopmail/bin/vadduser [EMAIL PROTECTED] 123456');
RE: [vchkpw] high cpu with qmail-smtpd-chk or vchkpw
>> I recompiled vpopmail without domainquotas but the problem still exists. >> >> PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND >> >> 9765 vpopmail 25 0 6884 1412 1176 R 16.6 0.1 1:54.98 >> qmail-smtpd-chk >did you recompile that? >vpopmail's library is a static library, meaning that if you recompile >vpopmail, you'll have recompile anything that links vpopmail in for the >changes to properly take effect. >try recompiling whatever is making 'qmail-smtpd-chk' >-Jeremy It seems that qmail-smtpd-chk is used in older versions of qmailtoaster. Today I installed the latest version of qmailtoaster from www.qmailtoaster.com. The new version does not use qmail-smtpd-chk anymore and the problem has gone away. By default the vpopmail-toaster SRPM package enables domain quotas. I recompiled without domain quota using the following steps. rpm -Uhv package.src.rpm vi /usr/src/RPM/SPECS/package.spec Edit configure section of the spec file to disable domain quotas rpmbuild -bb --with fdr30 /usr/src/RPM/SPECS/package.spec The spec file will may not be at the exact location as above but will be somewhere within /usr/src. - Jonathan