SA/Sieve Woes

Hi all,
We have MS 2005Q6 core patch -58 installed. Below is the story and problems that we have encountered when setting up Spam Assassin.
SA is setup to label spam with addtag [SPAM] so that every spam email is tagged in the tcp_local channel. The spamfilter1_string_action looks like this:
require ["addheader","fileinto"];
addtag "[SPAM]";
addheader "$U";
fileinto "Spam";
stop;Problem 1. In a user level sieve script, the (header :matches "Subject"
"[SPAM]*") did match nothing even though the [SPAM] tag did appear in the
final subject line. It looks as if the addtag processing is only done
after the header match operations, or the header match uses the "original"
subject line for the match. Is there anything wrong with the sieve script?
After some time, we modified the script with the intention to give every scanned email detailed sa results even for non-spams, and at the same time add a new header for user leve sieve scripts.
#mode=2,field= in spamassassin.opt
require ["spamtest","relational","comparator-i;ascii-numeric","fileinto","addheader"];
spamadjust "$U";
addheader "Spam-Test: $U";
if spamtest :value "ge" :comparator "i;ascii-numeric" "5"{
  addheader "Spam: Y";
  addtag "[SPAM]";
  fileinto "Spam";
}else{
  keep;
}Problem 2. The above script runs well, except one thing that cost me a full day debugging. Note the 2nd addheader line, which reads addheader "Spam: Y". The problem is, it seems that we cannot have a 2nd addheader in one single script, which is longer than 7 characters in length including the space in between. If you say addheader "ABCDE: Y", you are busted. The filter will just refuse to run. Is this a bug or something?
OK, never mind, who care about a 7 byte header. We want to have a fine-grain control over the traditional email forwarding feature that uses mailForwardingAddress attribute. I suppose Sieve is more flexible when it comes to filtering and redirecting mail. So we disable the mailForwardingAddress, and use Sieve. So now, we try to setup a user level sieve to redirect important emails, even it is identified as spam like this:
require ["fileinto","copy"];
if header :match "Spam" "Y" {
  fileinto :copy "Spam";
if header :match "Priority" "Urgent" {
  redirect "[email protected]";
}Problem 3. When SA identifies a spam, it is marked as such with addtag [SPAM] (see code above). The tag should appear once. It is the case for the email left in the Spam folder of the server. But the email received by "[email protected]" contains 2 tags [SPAM] [SPAM] in the subject line. Clearly, SA is run twice, one for the incoming message, and one for the redirected message, and the log file confirms this. It seems that the redirect action cause the mail to be queued in the tcp_local channel, which causes SA to run. But it is interesting that the traditional emailForwardingAddress attribute kind of forwarding doesn't have this kind of behavior. Is there a way we can prevent SA from running twice in sieve to save resources and not to duplicate the tag?
Anyone can shed some lights on these matters?
Thanks in advance.
PY

Hi,
SA is setup to label spam with addtag [SPAM] so
that every spam email is tagged in the tcp_local
channel. The spamfilter1_string_action looks like
this:
require ["addheader","fileinto"];
addtag "[SPAM]";
addheader "$U";
fileinto "Spam";
stop;Problem 1. In a user level sieve script, the (header
:matches "Subject"
[SPAM]*") did match nothing even though the [SPAM]
tag did appear in the
final subject line. It looks as if the addtag
processing is only done
after the header match operations, or the header
match uses the "original"
subject line for the match. Is there anything wrong
with the sieve script?Please provide the actual spamfilter1_string_action you used - not just the 'cleaned' version.
Also I should point out that matching on a modified subject header can lead to unexpected behaviour e.g. forwarded spam emails getting filtered to spam folder because [SPAM] appears in the subject line. It is much better to use the spamadjust/spamtest if possible.
After some time, we modified the script with the
intention to give every scanned email detailed sa
results even for non-spams, and at the same time add
a new header for user leve sieve scripts.
#mode=2,field= in spamassassin.opt
require
["spamtest","relational","comparator-i;ascii-numeric",
"fileinto","addheader"];
spamadjust "$U";
addheader "Spam-Test: $U";
if spamtest :value "ge" :comparator "i;ascii-numeric"
"5"{
addheader "Spam: Y";
addtag "[SPAM]";
fileinto "Spam";
lse{
keep;Problem 2. The above script runs well, except one
thing that cost me a full day debugging. Note the
2nd addheader line, which reads addheader "Spam:
Y". The problem is, it seems that we cannot have a
2nd addheader in one single script, which is longer
than 7 characters in length including the space in
between. If you say addheader "ABCDE: Y", you are
busted. The filter will just refuse to run. Is this
a bug or something?There is one limit you may be hitting (I found this one yesterday) and that is that spamfilterX_string_action is currently limited to a maximum of 256 characters - that is AFTER the expansion of the $U btw. Please log a support call (if you haven't already) and ask to be added to bug #6485247.
There is a workaround to this limit and that is to use channel-level filtering, refer to my last reply in a forum question yesterday:
http://forum.sun.com/jive/thread.jspa?threadID=109607
OK, never mind, who care about a 7 byte header. We
want to have a fine-grain control over the
traditional email forwarding feature that uses
mailForwardingAddress attribute. I suppose Sieve is
more flexible when it comes to filtering and
redirecting mail. So we disable the
mailForwardingAddress, and use Sieve. So now, we try
to setup a user level sieve to redirect important
emails, even it is identified as spam like this:
require ["fileinto","copy"];
if header :match "Spam" "Y" {
fileinto :copy "Spam";
if header :match "Priority" "Urgent" {
redirect "[email protected]";Problem 3. When SA identifies a spam, it is marked
as such with addtag [SPAM] (see code above). The tag
should appear once. It is the case for the email
left in the Spam folder of the server. But the email
received by "[email protected]" contains 2 tags
[SPAM] [SPAM] in the subject line. Clearly, SA is
run twice, one for the incoming message, and one for
the redirected message, and the log file confirms
this. It seems that the redirect action cause the
mail to be queued in the tcp_local channel, which
causes SA to run. But it is interesting that the
traditional emailForwardingAddress attribute kind of
forwarding doesn't have this kind of behavior. Is
there a way we can prevent SA from running twice in
sieve to save resources and not to duplicate the
tag?
Anyone can shed some lights on these matters?
Thanks in advance.Well I'm not going to troubleshoot each of your issues as that will take me a ages - sieve scripts can be tricky. What is your overall goal of the filtering? From what you have mentioned so far it is:
At the system level:
-> add the [SPAM] tag to all spam emails
-> add the X-Spam: Y to all spam emails emails (you should use X- for custom headers btw.)
-> add the Spam-test: <score> to all scanned emails
At the user level:
-> filter all Spam emails to a spam folder
-> forward non-spam high priority emails to another address
Are you using separate front-end MTA/back-end store configuration and not using LMTP between the two? This will change whether spamadjust/spamtest can be used for the user level sieve rules.
Regards,
Shane.

Similar Messages

  • Continual Mac woes (no question, just a rant)

    It's Tuesday, and I am having terrible problems with my Mac. But then, why should Tuesday be different from any other day of the week.
    Here is a typical day for me. The computer appears to be working OK. I need to watch a DVD for my work. I turn on DVD player, and put one in. The machine can't read the disc. It clicks and whirls, but the icon does not show up on the desktop. Meanwhile, so distressed is the machine that it freaks out. What was up until now was a fluidly operating machine suddenly reverts back to its old ways (i.e., its ways of two days ago). The hold ups and spinning pinwheels begin to eat of hours of my work day. (Remember the old days when computers made life easier?) The machine becomes sticky, gummy. Oh, I can move the curser and it seems to work for a second but then gets stuck in the dock, which explodes in icons and then freezes for five minutes. Yes. Five minutes.
    Would love to use Force Quit, but the cursor is spinning, and nothing is responding. Funny about that old Mac. You can't force quit Force Quit. I guess I need to leave it open all the time.
    Of course, FQ usually works on Safari. I have never just "quit" Safari. It always requires Force Quit, otherwise I can't turn off my computer. It stalls shut down.
    Now I have a DVD trapped in there and can't get it out. [But I just got an answer from another posting.]
    In the old macs, there used to be a pin hole you could stick a needle into ... can't find one on my flatpanel iMac.
    I bought my Apple flat panel iMac in August of 2002. Yes, I know that that is a long time to have a computer, but I am not rich nor attached to a corporation that can splurge on computers. The first weekend I had the machine, I had three kernal panics.
    Among the other problems I have documented are the following: the dock hiding itself unbidden and other features checking and unchecking themselves (Aug 2002); bus errors connected with OS 9 (Sept); some problems that inspired the tech person (Eric)) to talk me through deleting my user i.d., resulting in the loss of two months worth of e-mail (Thursday, 12 September); Preview problems (September); a bizarre box with an unmovable and undeletable red stop sign in it that no tech person or other Mac user I know had ever hear of (Monday 30 September); printing problems; computer won't shut down, numerous disconnection errors, which turned out to be caused by an OS X update (beginning December, 2002, or later); Kernel panics (Feb); computer won't shut down (March); Faxstexx problems, program won't allow me to set it up, finally just deleted the software (April); keys like "V" freeze and repeat endlessly (May 21); DVD Player freezes (May); Safari and Mail begin quitting unexpectedly (May); cursor begins to blink and fade out, plus odd sounds come out of the speakers, a constant error beeping (Sept 9); DVD Player problems (Oct 4).
    I called AppleCare while I had it about once a week (the total between August 2002 and the time it ran out was about 155 calls). Naturally, some of these calls are motivated by user error. On the other hand, many of the issues I have called about were unprecedented as far as the Tech person was concerned, such as the blinking mouse, the red stop sign, and the DVD Player woes.
    Things improved with Panther, but in Tiger many of the same old issues have returned.
    I have been having so many problems with my Mac that I once wrote a letter to the company asking when do I qualify for a new replacement machine. I never received an answer, but I felt better for about a day. Then I turned on my Mac again.

    The spinning ball of death as we used to call it is often caused by a lack of RAM, it is hard to be sure as I am not working on your machine, but sometimes things can be improved with additional RAM, it makes it seem like a whole new computer.
    A lot of your problems sound like stuff that can be fixed easily enough, and although frustrating things happen here and there with updates. It sounds like you are in fairly good spirits with it all, I would suggest just researching a bit more into maintenance you can do to help maintain the computer and educate yourself a bit more (sounds like you already have learned quite a bit along the way) and you will find a lot of these issues take you a few seconds to rid yourself of. I would start by making sure you are repairing permissions regularly and running the most up to date software. If a lot of problems persist, try creating a second user that is a "test" user to see if the problem is replicated on that user (don't delete your other one, but if you do find the problem not on the other user, you might have a corrupt user, however you don't have to lose all your emails there are plenty of ways to back it up and import it in, or even just bring the entire Mail folder from your library over to the new user). Another thing you can do if you find a lot of system problems is archive and install the OS, it takes a bit of time, but doing it overnight shouldn't be an issue, and you won't lose any of your stuff.

  • 10.4.9 Upgrade Seems to Have Broken Sieve Filters in Squirrel Mail

    I upgraded to 10.4.9 (thanks to all of Alex's good advice and excellent help), the upgrade went well after forcing an install of MIME::Base64 and Net::Server.
    However, the Sieve Filters in Squirrel no longer work properly. To be exact, it looks like the filters themselves continue to work, but when you use a browser to go to the filter's page, it's blank.
    My system has some tweaks due to a BuildSmart install and a few other modules, so this problem may only relate to my server.
    Anyway, can someone suggest a place to start in tracking this down?
    From the httpd error log:
    [Fri Mar 16 12:12:57 2007] [error] PHP Notice: Object of class ContentType could not be converted to int in /usr/share/squirrelmail/class/mime/Rfc822Header.class.php on line 61
    [Fri Mar 16 12:51:11 2007] [error] PHP Fatal error: Call to undefined function sqmb_listencodings() in /usr/share/squirrelmail/functions/imaputf7local.php on line 27
    [Fri Mar 16 12:51:36 2007] [error] PHP Fatal error: Call to undefined function sqmb_listencodings() in /usr/share/squirrelmail/functions/imaputf7local.php on line 27

    OK. I fixed the trouble.
    Before the 10.4.9 update, I was running SquirrelMail 1.4.9a (I had upgraded using Alex's upgrade instructions at http://osx.topicdesk.com/downloads/). I had used Ian Butler's instructions for installing avelsieve at http://discussions.apple.com/thread.jspa?messageID=660096#660096
    However, after the 10.4.9 upgrade, SquirrelMail was back to running 1.4.5.
    So, I reinstalled version 1.4.9a and copied the old avelsieve directory from a pre-10.4.9 boot clone back-up I had into /usr/share/squirrelmail/plugins.
    After running /etc/squirrelmail/config/conf.pl and re-enabling the avelsieve plugin, all is well.

  • ICal woes - any help please

    Hi everyone, I am having some major iCal woes that I hope someone has the answer to.
    Ok this is how I handle my workflow. I have numerous calendars such as "call", "viewing", "meeting", "work misc", "personal" etc. All colour coded and I use the month view as standard.
    Under SL I would double click the day I add an event go through the boxes (name, location, time, etc) click save and job done.
    Now under Lion when I double click a day I get an event box but only the header. So I have to type the header hit return then double click on the event again to get the box up so I can assign the event the right time and calendar to use. This is taking twice as long as it did before under SL and is a pain when you have a client on the phone. Am I missing something here? Why is it now so hard? - and I have tried that quick entry business but it doesn't work for me, I simply want the whole calendar entry box when I double click in month view.
    Next problem is all new events go in as a all day event. Again another click I didn't need to do in SL. Then untick all day and enter a time LionCal doesn't set the end time 1 hour later anymore it sets it hours later for me, sometimes into the next day so I have to click into the date box and type the end date, again a massive slow down in my workflow.
    Finally and most annoyingly in month view I cannot for the life of me get a 12 hour clock with AM/PM. I checked my international page in sys prefs and all is ok but LionCal is not playing ball.
    Any help would be appreciated as I love iCal and run my life with it over MobileMe.

    If you want to Commit changes at every record level in a Multi-Record Block, you may have to write the following triggers at the block level :-
    1) Key-Down
    2) Key-Up
    3) You will also have to handle Mouse Events
    i.e When-Mosue-Click etc
    In each of these triggers, issue a commit statement :-
    i.e.
    Trigger Name :- KEY-DOWN [ Defined at Block Level ]
    Trigger Code
    Commit_Form;
    Next_Record;
    The Commit_Form statement will display a message for the user to COMMIT transaction to the DB.
    Shailender

  • Airport express "G" - My woes and some thoughts. . .

    I got the airport about this time last year. it worked great and i loved it. In December 2007 I moved to an apartment. I got the local cable co's internet, ran it to my ax and all was well. 6 weeks ago, due to our wonderful economy, i had the cable shut off as I talked to one of my neighbors who has wireless internet running unprotected (no password)..i asked him if i could leech for a bit till i got things sorted. he said cool and all was.....hmmm. SO in my airport menu i select his network and my internet works, sometimes drops then comes right back but no biggie. I reset my ax to just do airtunes and join his network, it restarted and voila, airtunes. problem is that in the last month i get a lot more drop outs and if i go more than 2 days with out streaming by ax disappears and i have to do a hard reset to get it to show up in the utility. The light is green but nothing...sometimes the amber light blinks and it never come on line at all....grrrrrr.
    could all my newfound ax woes be due to the fact i am adding it to his network? i had no issues at all when i created my own one with my internet and airtunes.....
    anyone?
    EDIT: let me ask this then...when i am streaming music from my mbp to the ax, am i doint it dorectly or am i using his network? If I am sending music from my MBP to the ax via his network then that would basically answer all my questions, if the mbp goes direct then I have no clue....
    edits as i am brainstorming

    EDIT: let me ask this then...when i am streaming music from my mbp to the ax, am i doint it dorectly or am i using his network?
    It goes from your MacBook Pro to his wireless base station... then from his base station to the AX. So it depends on the performance of his base station and network.

  • Hp Warranty Woes & Hard Drive Heartache

    HP – Warranties Woes & Hard Drive Headaches.
    Dear Internet Community (I.C)
    I need your help.
    I would like to know if I’m being unreasonable in my expectations or is Hewlett Packard (HP) not living up to its both moral & legal obligations as a good corporate citizen & what it alleges to be – a Customer Focused Global Computer Services company.
    Apologies if this is a little long winded but in the interests of fairness I need to put as many HP comments in as possible – to give you a clear picture.
    So bear with me, you will not be disappointed & there are a couple of questions you might like to answer & feedback to the appropriate parties.
    Keep in mind at all times we are talking about approximately a $200 (NZD) fix – less than the lost profit on one lost sale for an HP PC ( you might think twice about HP products after reading this).
    There are two parts to this problem :
    Part 1 :
    I purchased an HP Touch Smart a few years ago, I registered the product & warranty with them & over the years have received have received numerous emails stating “buy this, upgrade now”.
    But I don’t recall ever receiving an “WARNING – Critical Failure Issue (CFI) apply attached patch immediately” email while under warranty. Why is this relevant?
    Ø Seagate makes Hard Drives – in this case a Barracuda 7200.11
    Ø HP buys said HD’s from Seagate
    Ø Seagate finds a problem with firmware in HD’s & advises HP & supplies a fix
    Ø HP knows which Customers have these HD’s, because you know what goes into your machines – right ? - see below
    Ø HP FAILS to send email to Customers with the fix (a simple email with attachment would solve problem) or issue recall.
    Ø HP even offers previously to fix problem FOC & puts fix on its Website - but only if the Customer knows somehow of the problem.
    Ø Should the Customer intuitively& telepathically know of problems in HP Products in advance before it fails, because of course HP is not telling their Customers.
    Problem or Outcome: My HD has bricked itself & will not operate as I never received notice of the firmware fix at any time either in or out of warranty.
    Paul Boshoff - G M -Personal Systems Group- HP NZ (PB- GMPSG) says
    “It would be very difficult, if not impossible, for any computer vendor to proactively notify it’s customers of component-level updates”
    “Failures of the kind you’ve experienced are usually related to a specific batch of serial numbers and often those component serial numbers aren’t available when the user is registering that particular computer.”
    Now let me know if you think I’m wrong, but it sounds like HP does not know what goes into its machines or at the very minimum does not keep track of this.
    HP, a Global Computer Services company cannot possibly be expected to track what goes into its machines. HP apparently does not record or match the serial number of the HD with the machine it goes into.
    If Ford & Toyota can track & record what tyres go on which make & model of their cars which are in the millions each year & can recall cars dating back 8-10 years just case of a manufacturers component malfunction why can’t HP link & record the HD details.
    I can just hear it now “I’m sorry we don’t know which engine we put in your car”.
    And let’s be real clear here – we are not talking about some small screw at the back of a PC – Along with the CPU & the RAM, the Hard Drive is pretty much up there in the top 3 of important components of any computer.
    I.C – Do you feel
    ü That fills you with confidence in HP products & services ?
    ü Should HP be required to tell its customer of CFI’s with its products – particularly while under warranty?
    ü Has HP tried to limit their liability & cost by directly NOT telling Customers of CFI’s while under warranty?
    Part 2 :
    When your HD bricks itself – apparently all is not lost – some very clever person has found a solution so you can get the HD going long enough to apply the firmware fix & then your HD is a good as new – Here is the link that spells it out with pics http://www.overclock.net/t/457286/seagate-bricked-firmware-drive-fix-with-pics)
    You’ll see the relevance of this shortly.
    After much messing about I received the following email from PB- GMPSG : “I have escalated your issue and have just received the go-ahead to repair your unit at our cost. We will be utilizing our own, authorized service provider to re-install the original hard-drive and to run the software fix on that unit.” (This guy most likely earns a six figure salary & isn’t able to sign off $200 fix).
    NOTE : it does not limit or restrict what type of fixes will be used & also at this time HP was aware of both the Seagate fix & above fix.
    I delivered the PC & bricked HD into the HP Authorised Repair Centre (ARC) as requested –their ticket instructions read “do firmware update…HP to incur costs. NO COST to customer”.
    Obviously it’s not rocket science but you need the HD going before you can apply any firmware fix including this one – HP knew that to get the HD going they would need a special fix to enable them to apply the Seagate fix.
    After all this is not an isolated case & I did point out to HP that they would need the fix I supplied (or something similar HP approved or designed if that made them more comfortable) prior to their offer of fixing the HD.
    HP said their ARC’s had all the right software for fixing their machines. In addition I have been told on several occasions, the ARC’s are the bee’s knees, the cat pajamas, the whiz kids of the PC service world “The first port of call for the repair centre agent is to download all the latest service advisory notices and updates. This is a very fundamental part of the repair process and one that we spend a great deal of time emphasizing with our authorised repair centres” Keep this in mind.
    A week later I received a call from Peter Gasporaratos, HP CS Melbourne (poor guy – caught in the middle) & stated “there is nothing else we can do for you”. When I asked if they had applied the fix he said “its not our responsibility.. its not part of our guidelines.. the ARC does not practice unauthorised methods..& this ARC will not go down this path”
    Ironically the day before, Barry from the ARC said “we can attempt it, but we will charge you too”. So HP’s own ARC will do it, but there will be a cost – but hang on a minute, didn’t PB- GMPSG say “to repair your unit at our cost. We will be utilizing our own, authorized service provider to re-install the original hard-drive and to run the software fix on that unit” & HP CS put on the instructions “HP to incur costs. NO COST to customer”.
    I.C – Do you feel
    ü HP have said they will fix it at NO COST to me, regardless of what the fix entails ?
    ü Should HP honour this commitment ?
    ü Would you do business with a company that says one thing & does another & does not honour its commitment ?
    ü That given the bricking fault did not need to happen if HP had been proactive in letting their customers know of the firmware issue & this is not an isolated case– shouldn’t they then be responsible in finding or developing a fix for getting the HD going long enough to apply the firmware fix if they are not going to use other recognised fixes.
    Abstract
    So that’s it – what do you think I.C. ?
    Would you want HP computers & servers controlling the Traffic Lights, Air Traffic Control, Patient records & Medications at Hospitals knowing that HP will not tell these organisations that there is CFI with their products & they could suddenly lose everything. All dead while they try to find a back up computer with all the data – god forbid if President Obama’s “football” is powered by an HP – Nuclear War before we know it.
    But seriously – I would love your feedback – Am I being unreasonable in asking them to honour their commitment for a $200 fix ?
    And of course HP being a Customer Focused Global Computer Services company, would welcome your feedback.
    Here are a couple of the players contact details who would love to hear from you :
    ü Keith Watson – CEO –HP NZ -I initially contacted him & he thanked me for bringing it to his attention, then nothing.
    Email : [email protected]
    ü Paul Boshoff - G M -Personal Systems Group- HP NZ – well of course you now know who he is now – he would love feedback.
    Email : [email protected]
    ü Jessica Rangi – She’s the Spokes person/PR/Marketing for HP NZ & has just help launch HP new PC range in NZ – She would love your feedback as it might impact on her marketing & she is quoted as having helped out in warranty situations before & has worked at HP head office.
    Email : [email protected]
    ü Meg Whitman - President and Chief Executive Officer of HP Global
    Email : [email protected]
    They would all like to hear from you J
    I.C
    J Thanks for being patience & reading through to the end – now it’s up to you
    L buy HP Products & Services or not.
    L Do HP deserve your hard earned money if you now believe they aren’t going tell you about problems with their Product & Services.
    Be kind to one another & take care.
    Regards
    Smithie
    P.S - I sent this blog to HP for fact & quote checking prior to uploading (I gave them over a week to reply) – the silence was deafening from HP.

    When requesting assistance, please provide the complete model name and product number of the HP computer in question. HP/Compaq makes thousands of models of computers. Without this information it may be difficult or impossible to assist you in resolving your issue.
    The above requested information can be found on the bottom of your computer or inside the battery compartment. Please do not include your serial number. Please enter the model/product information into HP's Online Consumer Support page and post it here for our review.
    I doubt the hard drive would be covered by buying an extended warranty after the fact. There is also no reason to buy a new hard drive from HP. Almost any 2.5" hard drive on the market will work in your computer. You will need your personal HP Recovery Disc set to return the computer to a factory like state. If you didn't create these discs, you will need to order a set.
    If you have any further questions, please don't hesitate to ask.
    Please click the white KUDOS star to show your appreciation
    Frank
    {------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
    Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
    This is a user supported forum. I am a volunteer and I don't work for HP.
    HP 15t-j100 (on loan from HP)
    HP 13 Split x2 (on loan from HP)
    HP Slate8 Pro (on loan from HP)
    HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
    HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
    HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
    HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
    HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

  • Mail server rejecting messages and carrying out old sieve scripts

    A week ago I upgraded to 10.6 and am now experiencing strange behaviour: occasionally, incoming messages do not make it to their recipient and the sender gets an old vacation reply that I had set up using sieve scripts in Leopard. Here is what the SMTP log reports when a message does not make it:
    "Recipient address rejected: Service is unavailable"
    I do not know how to go in and investigate what is going on with sieve scripts because it seems sieveshell has been gutted in 10.6. I currently do not have SL's new vacation message feature enabled, but it worked fine when I tested it. Any help would be greatly appreciated!

    You can remove all of the old sieve scripts...
    sudo rm -rf /usr/sieve/*
    copy/paste into terminal.
    Jeff

  • Getting "Error in sieve filter" message with each incoming mail and cannot recieve or send mail to or from iCloud account apart from Apple emails!! Please help!

    Since approx 7am GMT I've been getting "Error in sieve filter" message with each incoming mail, worse though, since about 12 noon I cannot recieve or send mail to or from my iCloud account apart from I've been getting  emails from Apple (ie I've just received a welcome one from Apple Support Communities...)!! I've had this account for years, never had a problem - it can't be the OSX Mail server because the problem is the same when I log directly into iCloud. I've tried sending emails from my Hotmail account to my iCloud account (a .mac) and just get undeliverable messages back. I'm really in the s**t now at work. : (  I just set up a Smart TV yesterday with a wireless dongle - that's the only thing I've done out of the ordinary. I've spoken to Sky who are my ISP and they say all's fine with them (although the router kept kicking my off the internet this morning which was strange...). Router seems fine now though.  I'm really hoping someone here can help!!
    Many thanks!!

    Do you think once Apple sort this out I'll get my missing emails back?

  • Reason: Error in sieve filter: Unknown function/variable found: church around input line 79 [ stop; } require " f^ileinto"; if header ]

    My wife's email has been getting filled with hundereds of emails with this in them this morning. I don't see where anyone else is having this problem today, but I wanted to see if it's on iCloud's end or ours.
    Processing errors occurred during delivery:
    Recipient address: [email protected]
    Reason: Error in sieve filter: Unknown function/variable found: church around input line 79 [ stop; } require " f^ileinto"; if header ]
    Delivery processing continued in spite of these errors.
    Reporting-MTA: dns;ms21034.mac.com (tcp_intranet-daemon)
    Arrival-date: Tue, 13 Mar 2012 07:33:18 +0000 (GMT)

    My Wife and I both have an Ipad and an iPhone, I use an iMac and my wife a MacBook Pro.
    I have this problem with all my devices.
    My wife has NOT got this problem.
    We both use a [email protected] email acount.
    Just compared the settings:
    For "Incoming server" I have p03-imap.mail.me.com
    My Wife has p02-imap.mail.me.com .... and has not got this problem.
    I have setup a new rule for incoming mails (for the meantime):
    move all incoming emails from [email protected] to trash and delete it.
    Works fine for now,......until APPLE deals with the problem.
    Message was edited by: RTONLINE

  • Sieve fileinto sometimes doesn't work

    Hi,
    I have set up spam and virus filtering in messaging server, with highscoring spam (>=10) being deleted and lowscoring (>=5) going to a "Spam"-folder.
    This works most of the time, but sometimes I get a bunch of spam with spamscore between 5 and 10 in my inbox. Clearly these should have gone to my spamfolder, but they don't...
    From imta.cnf:
    ! ims-ms
    ims-ms defragment notices 1 7 14 21 28 backoff "pt5m" "pt10m" "pt30m" "pt1h" "pt2h" "pt4h" maxjobs 2 pool IMS_POOL fileinto $U+$S@$D filter file:IMTA_TABLE:spam.test destinationspamfilter1optin spam destinationspamfilter2optin virus
    ims-ms-daemonFrom option.dat:
    ! SpamAssassin
    spamfilter1_config_file=/var/opt/sun/comms/messaging64/config/spamassassin.cf
    spamfilter1_library=/opt/sun/comms/messaging64/lib/libspamass.so
    spamfilter1_optional=1
    spamfilter1_string_action=data:,require ["spamtest","relational","comparator-i;ascii-numeric","editheader"]; \
            spamadjust "$U"; \
            addheader "Spam-test" "$U";spam.test:
    require ["spamtest", "relational","comparator-i;ascii-numeric","fileinto","editheader"];
    if spamtest :value "ge" :comparator "i;ascii-numeric" "10" {
            discard;
            #addheader "spam-hi" "true";
            #fileinto "Spam";
    elsif spamtest :value "ge" :comparator "i;ascii-numeric" "5" {
            #addheader "spam-low" "true";
            fileinto "Spam";
    }spamassassin.cf:
    host=127.0.0.1
    port=783
    debug=0
    mode=2
    field=
    USE_CHECK=0As you can see from the spam.test-file, I have commented out addheader "spam-low" "true";. With this uncommented, all mail with spamscore >= 5 get that header (apart from the ones that are discarded).. Even the spam that ends up in my inbox with spamscore >= 5 get this header. So, apparently it correctly identified it as spam-low, but fileinto "Spam"; did nothing....
    How can this be? It would make more sense if no spam entered the spam-folder, but that's not the case... Some spam enters the spamfolder, and some my inbox....
    What am I doing wrong?
    Edited by: whaterverfdsa on Nov 6, 2009 4:19 AM

    What version of Messaging Server are you using (./imsimta version)?Sun Java(tm) System Messaging Server 7.3-11.01 64bit (built Sep 1 2009)
    libimta.so 7.3-11.01 64bit (built 19:44:36, Sep 1 2009)
    "fileinto" commands at the MTA level can be over-ridden by user-level filters. This happens to both users with user-level filters and users without...
    The first step is to enable logging of sieve filter functionality i.e. add "LOG_FILTER=1" to option.dat, recompile the MTA config (./imsimta cnbuild), restart the MTA (./imsimta restart) and retest. You should then see additional filtering related information added to the mail.log entries.Got tired of waiting for the uncooperative spammers to send me a spam with spamscore between 5 and 10, so lowered the required spamscore before sending to spamfolder to 1, and sent myself a test-mail from another account. :o)
    (I did this many times before one mail that should have gone to the spamfolder didn't.)
    Changed spam.test from:
    elsif spamtest :value "ge" :comparator "i;ascii-numeric" "5" to:
    elsif spamtest :value "ge" :comparator "i;ascii-numeric" "1" Could then read from mail.log_current:
    09-Nov-2009 14:15:42.76 tcp_intranet ims-ms       EE 2 [email protected] rfc822;[email protected] mail2+Spam@ims-ms-daemon 'file:IMTA_TABLE:spam.test, spamtest -2.200000, fileinto "Spam", addheader'
    09-Nov-2009 14:15:43.88 ims-ms                    D 2 mail1@hostname1 rfc822;[email protected] mail2+Spam@ims-ms-daemon ''Seems like the sieve filter worked, but that the mta somehow failed to deliver the mail to the spamfolder for some reason??
    Edited by: whaterverfdsa on Nov 9, 2009 5:32 AM

  • TS3276 Message: Error in sieve filter. Since this morning 2013/03/07 I'm receiving this error message and also the mail each time a mail is sent to me. Could someone help me.

    Is there a solution on my side or it is mac.com mail server problem?
    <Email Edited by Host>

    Mail Error: Reason: Error in sieve...: Apple Support Communities
    Email. Problem during delivery...: Apple Support Communities

  • Mail Error: Reason: Error in sieve filter

    Hello,
    Yesterday I started to receive this strange email error for every message that I send from one of my iCloud accounts (all others seem to be functioning fine).  Does anyone have any idea what might be happening?  I have done a search and nothing really comes up.  I think the system is suggesting that the @me.com account is not valid, but it clearly is.
    Many thanks!
    ERROR MESSAGE
    Message-id:
      <5D56EF844AC57D49989CB3CE9DB70D8B0B34679C@EX14MBX1A.>
    Date: Thu, 07 Mar 2013 08:40:38 +0000
    From:
    To: [email protected]>
    Subject: RE: Re:
    Processing errors occurred during delivery:
    Recipient address: [email protected]
    Reason: Error in sieve filter: Notify mailto: recipient is not a valid address
    Delivery processing continued in spite of these errors.
    Reporting-MTA: dns;ms03531.mac.com (tcp_intranet-daemon)
    Arrival-date: Thu, 07 Mar 2013 08:40:40 +0000 (GMT)
    Original-recipient: rfc822;[email protected]
    Final-recipient: rfc822;[email protected]
    Action: delivered
    Status: 2.0.0
    (Error in sieve filter: Notify mailto: recipient is not a valid address)

    Hello,
    I've the same problem since this morning.
    I read on other topic posted that it's a know problem.
    Florian

  • Trying to implement a quadratic sieve!

    Hi
    I am trying to write a quadratic sieve. Without posting the code, would anyone be willing to walk me through it, as to be completely honest, I am lost? The examples in the book 'Number Theory with Computer Applications' are as about as useful as a goldfish with a driving licence!
    Ron

    I suggest google:
    http://www.google.ca/search?hl=en&safe=off&q=quadratic+sieve+java&meta=
    or
    http://www.google.ca/search?hl=en&safe=off&q=quadratic+sieve&meta=

  • Sieve stopped working

    Hi,
    I have installed RoundCube a couple of years ago on a Snow Leopard server. All nice and dandy up to today.
    Sieve has stopped working and I have spent hours and been unable so far to get it up and running again.
    When I run ps aux |grep sieve it is not returning anything to me suggesting that the problem is not with sieve it-self but rather with Dovecot not starting the sieve.
    If anyone could give me some leads I can't think of anyting else.
    netstat -a |grep 2000 returns
    returns nothing
    telnet localhost 2000
    Trying ::1...
    telnet: connect to address ::1: Connection refused
    Trying fe80::1...
    telnet: connect to address fe80::1: Connection refused
    Trying 127.0.0.1...
    telnet: connect to address 127.0.0.1: Connection refused
    telnet: Unable to connect to remote host
    The rest of mail functions not problem (IMAP, SMTP...).
    Thanks in advance
    Beno

    In system.log there is nothing
    In sieve logs it just mentions that it cannot log. But since port 2000 isn't listening it's coherent.
    Tks MrHoffman

  • Intel mini RAM woes...

    Ok, I'm pretty saavy when it comes to most things computer related but maybe I'm missing something on this one. I bought my Intel mini with the stock 512mb of RAM and decided I wanted to upgrade to 2gb. The price of RAM is fairly steep right now so I decided I would do this one stick at a time. I purchased my 1GB stick to get me going from Crucial (due to their reputation). I used their memory advisor to make sure I was ordering the correct memory for my machine and verified the memory matched what I ordered before it was installed. I installed the 1gb stick with one of the original 256mb sticks thinking I would maximize what I had available until I was able to purchase my second stick. After doing so I had nothing but problems. I kept getting spontaneous shutdowns and when booting up it would reboot itself sometimes 2 or 3 times before I could finally get to the desktop. So, I'm stumped. I've gone through and double checked that the memory was seated right, ran TechTool Pro 4, ran the Apple hardware test, reset my pram, reset my smc and even took out my 256mb stick to see if having an unmatched pair could be the issue. Everything looked fine and all tests passed. According to Crucial's website it is not "necessary" to have a pair of sticks in the mini to run properly. It even says I should be able to run different speeds and chip capacities. I was still getting the same result just the 1gb Crucial stick by itself. I have since put my 2 original 256mb sticks back in and all seems to be well. I know there is a possibility that I got a bad stick of RAM but I definitely have my doubts based on Crucial's reputation. I know how to handle computer components so I also highly doubt that I damaged the RAM. Is there something I'm missing? Do I need to have a matching pair of sticks (size and speed)? I'm racking my brain on this one, hopefully someone will be able to shed some light on my dilemma.

    Okay, new problem... I'm starting to think now that maybe my RAM woes were not RAM woes at all. I'm beginning to think that perhaps I have a failing hard drive. Right away after purchasing my Mac mini I took the original 80GB hdd out and replaced it with a brand new 120GB 5400rpm Seagate hdd. I started having these random shutdown problems and then yesterday after having my new 2GB's of RAM installed for about a week or so (and working flawlessly), I got the screen that tells me that I need to hold down the power button to restart my computer. I do so and it goes to this terminal type screen and runs through all kinds of command lines. I restarted and desktop came back up so I did a couple software updates (1 Airport update, 1 Security update). After that finishes the mini restarts and it hangs at the grey screen w/the apple. So, I shut the computer down and restarted and this time it gets to the 'OS X starting up' screen and hangs when the status bar reaches the end. So, I shut it down and restart yet again. It goes on and on like this and finally ends up getting to the desktop after roughly 6 restarts. I quickly back up everything on my computer and try a few more restarts to see the progression of the problem and try to troubleshoot. At one point I heard the hard drive click 2 times. After another round of numerous restarts I get back to the desktop and by this time alot of my programs were getting the beachball when opened and would never function (i.e. - Disk Utility, System Profiler & Safari). I put my Mac mini OS X install disc in and restarted to wipe everything out and see if my OS got messed up somewhere along the way and was causing my problems. As soon as it boots from the disc I got an error box informing me that It cannot install the OS but allows me to access Disk Utility. I erased and did a 1X pass zero out. I restarted my machine and yet again it hanged at the grey screen with the apple. I restarted a couple more times and now it just tells me it can not install the OS and shuts itself down within a few seconds of this message.
    So, this is where I'm at now... Can anyone else confirm that this sounds hard drive related vs. RAM related? The only variable that has changed recently has been the RAM and I refuse to believe that I got bad RAM twice in a row from a company as reputable as Crucial.
    Help me AndyO, you're my only hope! (yes, that was a nerdy Star Wars reference)

Maybe you are looking for

  • Problems with Zen Touch on Windows Vista (64-B

    When I connect my Zen Touch to the PC Vista can't find drivers so it tries to install the MTP-Driver but the classinstallationprogram have declined the installation. http://img80.imageshack.us/img80/8555/errorhx5.jpg (sorry, it's in german) How can I

  • HT201335 How can I play a music album while my pictures stream?

    If we download an album form iTunes how do I select it to play while our pictures stream?

  • Import binary file in cvs repository through java cvs import command

    hi , I am using netbean api for cvs command.I am having the same problem that i am not able to open binary file after importing in cvs repository. I want to import a directory which contain both text and binary file. can you please hel me out to how

  • Rejection report

    Dear All , Pl guide for the Rejection Qty  report & scrap Qty  report for QM ? Edited by: venky  shree on Feb 18, 2009 12:18 PM

  • Can't Access SAP XI software

    I have downloaded the SAP NetWeaver Sneak Peek but there is no SAP XI software included and it appears that this software is "(in progress)", does anyone know how I can get access to the SAP XI software? I'm especially interested in integration build