Spamtrainer -f & X-Spam-***: Question

I switched to a Mac Pro Intel as my server a few months ago. I have been working out the kinks. I was moving from a Tiger Server install on a PowerMac G5. I had all the stuff for amavis, clamav, & spamassassin fixed on that install. I missed something since I have 2 .spamassassin directories and no symlink in /var/clamav/ or /var/amavis/. I have been running the nightly cron job as setup by Spamtrainer 1.2.7. I just updated to 1.5.7.
So since I have been running this I do have a bayes DB.
sudo su - clamav -c "sa-learn --dump magic"
0.000 0 3 0 non-token data: bayes db version
0.000 0 14767 0 non-token data: nspam
0.000 0 1402 0 non-token data: nham
0.000 0 181092 0 non-token data: ntokens
0.000 0 1165964162 0 non-token data: oldest atime
0.000 0 1170363924 0 non-token data: newest atime
0.000 0 1170396013 0 non-token data: last journal sync atime
0.000 0 1170396020 0 non-token data: last expiry atime
0.000 0 2764800 0 non-token data: last expire atime delta
0.000 0 12699 0 non-token data: last expire reduction count
First question is if I run spamtrainer -f will this delete the current DB?
If yes how do I combine the 2 directories before making the symlink?
What directory does spamtrainer -b backup /var/amavis/ or /var/clamav/?
/var/amavis/.spamassassin root# ls -loa
total 61896
-rw------- 1 clamav clamav - 20983808 Feb 2 17:43 auto-whitelist
-rw------- 1 clamav clamav - 95472 Feb 2 17:43 bayes_journal
-rw------- 1 clamav clamav - 5218304 Feb 2 17:43 bayes_seen
-rw------- 1 clamav clamav - 5390336 Feb 2 17:43 bayes_toks
/var/clamav/.spamassassin root# ls -loa
total 13128
-rw------- 1 clamav clamav - 1310720 Feb 2 05:30 bayes_seen
-rw------- 1 clamav clamav - 5410816 Feb 2 05:30 bayes_toks
My final question goes to the X-Spam-*: headers.
They should be in every mail that is delivered right? I only see these headers in mail with subject * JUNK MAIL *.
Will this be fixed after the symlink is done so all mail has X-Spam-*: headers in them?

Thanx Alex was waiting for your post.
All appears well sudo su - clamav -c "sa-learn --dump magic"
0.000 0 3 0 non-token data: bayes db version
0.000 0 14789 0 non-token data: nspam
0.000 0 1402 0 non-token data: nham
0.000 0 182231 0 non-token data: ntokens
0.000 0 1165964162 0 non-token data: oldest atime
0.000 0 1170466264 0 non-token data: newest atime
0.000 0 1170482415 0 non-token data: last journal sync atime
0.000 0 1170465843 0 non-token data: last expiry atime
0.000 0 2764800 0 non-token data: last expire atime delta
0.000 0 12699 0 non-token data: last expire reduction count
so that looks good. but I get this error now which i did not get before.
~ root# sudo su clamav -c "spamassassin --lint"
su: Can't start from current directory: Permission denied
su: Trying to start from "/var/clamav"
$satag_leveldeflt was set to -999 so I don't know why all messages did not get X-Spam-*: headers?

Similar Messages

  • Email spam question

    I get alot of spam and windows mail stops it pretty well.. my question is when i setup my iphone to recieve email all the mail comes spam and all.. anyway around this...

    so i have to get ahold of my isp?.. maybe i will try routing it thru google.. seemed to work on my htc magic

  • Mail spam question

    Hello,
    I've been receiving some empty spam. it just says from: &nbsp and has no subject matter and no content. I recieve about 10 to 15 at a time and am unable to designate as undesirable on the serveur.
    Any ideas on how to get rid of this stuff??
    Thank you

    It is unwise to respond to spam in any fashion, especially returning to sender.
    Empty spam is usually part of a campagin to determine valid email addresses.
    When you return it to sender you inadvertantly confirm that your address is valid -- otherwise how could you have returned it.
    Usually the return address is forged anyway, so you just end up dumping your spam on an innocent third party.

  • SAINT and SPAM Question

    Hi, Again
    I am tyirng to install BI_CONT in BI SERVER
    I unpacked already in directory usr/sap/trans/esp/in
    and thats unpacked 2 files
    CSN0120061532_0023088.PAT
    CSN0120061532_0023088.PTT
    After that Goto SAINT to load that file, but both option is Grayedout.... why is like that
    Also when i check SPAM thats show file alread there...
    anyway! here is screenshot...I want to know why is not Green sign.... is that properly installed please advised
    http://www.flickr.com/photos/25222280@N03/3365920213/sizes/o/
    http://www.flickr.com/photos/25222280@N03/3365920175/sizes/o/in/photostream/
    Please look at both screenshot...
    Thanks

    Hi,
    I guess there is 2 reasons for this
    1) client issue
    2) user lock entry issue
    Login to the 000 client to import the support packs
    and more over check is there any lock entry with User which u r using to import the support packs
    if any lock entry is there delete that lock entry and login to the 000 client, import the addon using SAINT.
    Hope this helps!
    -Srini

  • SPAM Questions.

    #1 Is it worth the trouble to send mail to spamdetector. notcaught@verizon. net ([email protected])?
    #2 Is it better to forward the single message or many messages at once. I have opened Emails but never pictures or attachments
    Samples.
    In outlook with POP 3 the mail is picked up and placed in my Junk E-mail folder.
    #3 Why does the spam filer not catch these?
    I go to the webmail message center and clear the junk on a regular basis. And leave messages on the server until I am home and can download them.
    Back to # 2 Which is better? And #1 Is it worth my trouble? It seems like the more I report, the more I get that is not caught on the Verizon server's filter.
    Multiple Email reported. Sent all at one time may include headers?
    Single Email reports may not include header information?
    Solved!
    Go to Solution.

    Prisaz and I have been in direct communication, but here is an email I sent that might be of interest of the entire community
    Dear Mr. Prisaz,
    I have received some feedback from our VZ Abuse team, our internal experts. I am hopeful that it will make you feel more comfortable with using Verizon’s email applications. 
    Verizon is very serious about successfully delivering legitimate email and blocking SPAM when and wherever possible.
    Please forward the SPAM emails, including full-headers, in-line (not as an attachment)  to:
    [email protected]
    Rejecting specific traffic from specific hosts based upon PTR record or lack thereof is not optimal on a large scale. Given that we accept and reject billions of connections monthly, we along with many other industry experts,  are in a unique position to see and know this. Research online will provide additional information to the customer should he wish to look into that.
    It is a violation of RFC standards to rely upon either the PTR record of a client or its HELO/EHLO statement for rejecting the connection. Verizon abides by the standards.
    Regrettably, the number of mail admins that do not run their mail servers in a proper or efficient way is staggering. If Verizon were to reject on a strict basis, we would have far more customers very angry about why their emails are not being received. Verizon believes it is more important than any other aspect of email delivery to ensure email is received that is desired. Our anti-spam efforts, infrastructure, and every other aspect of the mail system is built on this core value. No one wants spam,  but it's even a bigger deal to not successfully receive mail.
    Verizon Online's block rate of spam is one of the best in the industry. According to the block-rates made available by MAAWG (http://maawg.org), Verizon Online estimates we are near the top of the industry in the percentage of blocked spam, and we block billions of messages monthly.
    Again, thank you for your enthusiastic assistance and your business.

  • Spam question

    I recently asked my ISP why I receive emails that are not addressed to my proper email address. He replied that these emails plant some sort of virus type file on my system that enables them to email me without the proper address. He told me the only way to avoid it was to purchase a 3rd party software program that prevent this and destroys any existing virus-type files on my system. Does anyone know of such a software program?
    G5   Mac OS X (10.4.8)  

    Whoever told you that had absolutely no idea what he was talking about. The messages you receive are certainly addressed to you. The reason you don’t see your email address in those messages is simply that it was put in the Bcc header (probably together with other email addresses) instead of in the To or Cc header. Addresses put in Bcc cannot be seen by any recipient -- actually, that’s precisely what that header is for...

  • Making a Contact Forms Anti-Spam Work

    I can't get this anti-spam .php code to work, Important Note: The coding worked before I added the anti-spam label/.php coding. Any obvious faults in the coding?
    HTML:
    <link rel="stylesheet" href="css/site-feedback-part-two.php" type="text/css" media="screen" />
        <form method="post" action="site-feedback-part-two.php">
       <label>Name</label>
        <input name="name" placeholder="Type Here">
        <label>Email *</label>
        <input name="email" type="email" placeholder="Type Here">
        <label>Suggested Feedback *</label>
        <textarea name="message" placeholder="Type Here"></textarea>
        <label>What is (20+5)/5? (Anti-spam) *</label>
      <input name="human" placeholder="Type Here">
        <div><input id="submit" name="submit" type="submit" value="Submit"></div>
            </form>
    PHP:
    <?php
        $name = $_POST['name'];
        $email = $_POST['email'];
        $message = $_POST['message'];
        $from = 'From: Contact Form';
        $to = '[email protected]';
        $subject = 'Site Feedback';
        $body = "From: $name\n E-Mail: $email\n Message:\n $message";
    if ($_POST['submit']) {
    if (&& $human == '5') {
        if (mail ($to, $subject, $body, $from)) {
            echo '<p>Your message has been sent!</p>';
        } else {
            echo '<p>Something went wrong, go back and try again!</p>';
      } else {
      ($_POST['submit'] && $human != '5') {
        echo '<p>You answered the anti-spam question incorrectly! This means that your message has not been sent</p>';
    ?>
    Thanks for the help.

    <?php
    $name = $_POST['name'];
    $email = $_POST['email'];
    $message = $_POST['message'];
    $from = 'From: Contact Form';
    $to = '[email protected]';
    $subject = 'Site Feedback';
    $body = "From: $name\n E-Mail: $email\n Message:\n $message";
    if(isset($_POST['submit'])) {
    if($_POST['human'] != 5) {
    echo '<p>You answered the anti-spam question incorrectly! This means that your message has not been sent</p>';
    elseif ($_POST['human'] == 5) {
    mail($to, $subject, $body, $from);
    echo '<p>Your message has been sent!</p>';
    else {
    echo '<p>Something went wrong, go back and try again!</p>';
    ?>

  • Migrating Spamassassin Bayes DB

    I am migrating a 10.5 mailserver to new hardware running 10.6.
    The old mailserver uses a global spamassassin db stored in /var/amavis/.spamassassin and the files in this dir are as follows:
    -rw------- 1 _amavisd _amavisd 42123264 Dec 8 22:42 auto-whitelist
    -rw------- 1 _amavisd _amavisd 25272 Dec 8 22:42 bayes_journal
    -rw------- 1 _amavisd _amavisd 41549824 Dec 8 22:25 bayes_seen
    -rw------- 1 _amavisd _amavisd 5115904 Dec 8 22:25 bayes_toks
    What is the best way to migrate this bayes db to the new server?
    I thought:
    sa-learn --backup > backup.txt
    might work, but this yields basically an empty output file.
    Tips?
    Rusty
    Message was edited by: Rusty Ross

    Thanks, Alex.
    I used spamtrainer.
    A couple questions on that. The first time I ran spamtrainer -r on the new machine, I got a message from spamtrainer that /var/amavis/.spamassassin did not exist, and then spamtrainer went ahead to create the following two files in /var/amavis:
    -rw------- 1 _amavisd _amavisd 41582592 Dec 9 13:21 .spamassassin_seen
    -rw------- 1 _amavisd _amavisd 4202496 Dec 9 13:21 .spamassassin_toks
    So then, I created /var/amavis/.spamassassin and rain spamtrainer -r again.
    This time, spamtrainer created the following two files in /var/amavis/.spamassassin:
    -rw------- 1 _amavisd _amavisd 41582592 Dec 9 13:26 bayes_seen
    -rw------- 1 _amavisd _amavisd 4202496 Dec 9 13:26 bayes_toks
    ...which seems right to me.
    Two questions.
    (1) Can I safely delete .spamassassin_seen and .spamassassin_toks in /var/amavis now?
    (2) Should I be concerned that spamtrainer didn't seem to migrate bayes_journal and auto-whitelist?
    Thanks.

  • Advantages IMAP has over POP?

    Hello everyone. I'm from the UK and have a Gmail account (not google mail, I had my account during beta) and I managed to enable IMAP by changing my language from English UK to English US. What advantages over POP do I have? I find it harder to delete emails. Especially spam as I have to delete from spam and then delete them again in the trash. Is there a better and faster way of doing this. Plus could my IPhone catch any viruses by accidently opening spam? I delete emails the fast was by swiping over them and I accidently open them but then I go out of the spam message as quickly as possible.

    IMAP maintains the master copy of all messages on the server. You can either view and organize them online with a web client such as squirrelmail or gmail or sync your local clients to the server. The difference from POP3 is that the clients sync both ways with the server. So if you delete a message from one client it will be deleted from the server, and then from the other clients the next time they sync. Once synced there is a local copy on the client, so you can view it without a network connection. If you send a message or reply and you don't have a connection the client will wait for a connection to send. Similarly for deletes and moves.
    One big advantage is that you can create folders on the server. The folder structure will also sync to the clients, so a folder added on one client will appear on the others. Moving an item from the inbox (or a folder) to another folder will be treated as a delete from inbox and add to the selected folder.
    Given all of this, the iPhone client is not fully compliant. In particular, if you delete a message on the iPhone it will NOT be deleted from the server. It was in the first release, but I think this confused so many people (who thought they were just deleting a local copy) that they changed the behavior. You also cannot add or remove a folder on the iPhone. You must do it with a full client (like Outlook or Mac mail). Unlike a desktop client, the iPhone does not automatically update all folders on a sync; only Inbox, Sent and Trash. Other folders are updated only when you open them. I think this is intended as a feature; if I were to sync the 1 GB I have in all my folders it would take a week, so I am happy with it. I just wish the mail app had more options, so I could choose behaviors such as this.
    Regarding your spam questions, there's no harm in leaving them in trash; there is a setting that will empty trash after a period of time you specify. Contrary to the FUD spread by antivirus companies you cannot "catch" a virus by opening an email. You must then execute something in the email to catch the virus, like click a link or run an attachment. And even then, there are NO viruses that can infect an iPhone at this time. The one vulnerability that the phone had has been fixed. Even it required opening a TIFF image in the email.
    The last point about spam is that the overwhelming majority of spam messages are just trying to sell you something, not infect your computer.

  • Java/JSP Website Hosting

    Is it ideal to go with a company that offers shared Java/JSP hosting or would it be necessary to opt for a dedicated server??? With that being said, is their a reliable company out their that is not to expensive for an individual not a business (i.e. not RackSpace)?

    codeamatic wrote:
    Is it ideal to go with a company that offers shared Java/JSP hosting or would it be necessary to opt for a dedicated server??? With that being said, is their a reliable company out their that is not to expensive for an individual not a business (i.e. not RackSpace)?This question seems a bit off topic for this forum and worse I think is a magnet for spam/questionable posts. *
    You should sit down and define your requirements in terms of resources and then investigate further. Shared/dedicated is not a good starting place IMO because one company's shared may be equal in terms of filling your requirements to another company's dedicated.
    * - in the line of disclosure I am a hosting provider of the services discussed here but I do not solict business by way of these forums.

  • 2 questions about spams

    Hi all,
    I would like to know if there is a way to restrict mails sent to "junkmail" and "notjunkmail" accounts to only people that have a mail account in the mail server. I would like to allow only my users to send mails to these mailboxes.
    Also, is it possible to reset only ham instead of both spam and ham in spamassassin database. I installed spamtrainer but I don't see any way to reset only ham or spam ?
    Thanks,

    1. Yes. Τhere are several ways. You can set-up a
    policy or just a simple rejection list. It depends on
    how you have set-up your system in general. Or use
    "security by obscurity" by using different names for
    those accounts.
    Have a look at this thread:
    http://discussions.apple.com/thread.jspa?messageID=658
    229
    and at
    http://www.postfix.org/postconf.5.html
    Once you know what suits you best, we'll take it on
    from there
    Hi ptero
    yeah.... Thanks for the two links...
    You know what ? If you wanted to make me run away you just found the right way! I must confess that I have a lot of things to take care since I've installed TIger Server and my 40 years old brain is starting to lost even its french!
    Actually I'm testing everything on a iBook G3 500. I will brobably buy two Mac Mini in February as well as I will install two ADSL line during 2006 with 1MB bandwith for each on upload. It's just all a question of money...
    The local network will be something very small. In fact all my users will be "out" of the local network. I'm trying to test several things with VPN but currently it's not working as I thought it would.
    I will just install both Mac Mini and set everything by hand (not using anything from the actual iBook 500). I well see since a few days that the "learnt ham" are increasing even if I don't send anything to the notjunkmail mailboxe. It doesn't matter a lot as people actually sending mail from outside to this mailboxes are just loosing theirs time (Some people are so "poor" that they never find anything interesting to do, so...) LOL
    I'm then just trying to learn how I will have to do in a few weeks once I will start everything for real.
    I don't know exactly if VPN will work or not (currently it doesn't) so I would really enjoy learning a way to restrict access to junkmail and notjunkmail for only people having account on the mail server and this no matter if they connect though VPN or not. I think I will allow access to mail services only with SSL for SMTP and IMAP clients (I'm trying to find a way to restrict access to my network only for specific persons and computers). People having accounts but connecting from other computers than the one "registered" will go through WebMail. At least it's the idea... (A long way remains with a lot of aspirin)
    So I'm open to any suggestions that would match my plans. People with PC's using Outlook Express cannot "redirect" mails. They can "forward" but this is not the right way to send mails to the junkmail and notjunkmail accounts. Also, as I have a lot of different things to take care I don't want to make updates difficult to install. So something not breaking compatibilities with Apple Softawre Update would be great (At least until I'm able to create my own operatin system) LOL
    I know I can change the name of these two accounts but what about system updates?... I will try to read again these two links (and will force me to not run away too quicly) but you have a better idea now of what my configuration will be and you may have a few interesting suggestions (and I know you have).
    2. None that I am aware of
    Ok... Thanks anyway... Will try to survive...
    Thanks for all the time you spend helping everybody here...
    (And for all you effort trying to understand my english)

  • I can reset my security questions.  I have checked my email and but am not receiving the email to reset.  Its not in spam.

    How can I reset my security questions for icloud account.  I am not receiving the reset email.   Is there a way to change where the email is being sent?   ice checked my spam folders.

    The easiest thing to do is to contact Apple for assistance by going to https://expresslane.apple.com, then click More Products and Services>Apple ID>Other Apple ID Topics>Forgotten Apple ID security questions.
    This explains how to change your rescue address: Manage your Apple ID primary, rescue, alternate, and notification email addresses.

  • Spam filtering solution for iPhone and a question.

    I've read a lot of posts about spam filtering for the iPhone and have yet another solution and a question. I use SpamSieve and I am not affiliated with them in any way. The nice thing about SpamSieve is that if it is the first rule in your Mail.app rule set any mail that follows has already been filtered. All you need to do then is create another rule that redirects email to what ever mail account you choose. Since my ISP allows multiple accounts, I will simply create an iPhone@myISP account.
    Now the question. Is it possible to write an applescript that will turn the redirect rule on or off so that I don't have to dig into the rules section of Mail to get this done?
    Thanks

    Is it possible to write an applescript that will turn the redirect rule on or off so that I don't have to dig into the rules section of Mail to get this done?
    not at present time

  • Spamtrainer and future dated spam

    I'm running:
    Mac OS X Server 10.4.11
    Updated the components from osx.topicdesk.com
    Cron job for spamtrainer
    I noticed that spam with a date in the future does not get processed and erased when spamtrainer is run by the cron job.
    Is this normal?
    Should I just delete the future dated spam from my junk mailbox?
    Thanks

    It is normal and those messages will be used for training. Just not deleted. You can either leave them for future deletion or delete them manually. Doesn't really matter.

  • I sent a question to Firefox and got two weird spam replies - weird ranting. And one semi-helpful reply.

    Here are the two spam replies I received, from "adkaush":
    Yeah go ahead and remove my account but remove your account too because your answers are not helping anyone either.
    FF Team is biased to the mobile users and plan to chop-off the desktop segment. What's good about that Hitler approach?
    I don't care if you wish to remove my account for speaking out, I won't be surprised at all. Because that's what FF is doing now, kicking people around. Switching over to Chrome if that's what you want me to do.
    Never thought I'd hand over my browsing to Goog but that's what I have to do now because FF team doesn't care. Don't tell me that FF team didn't see this coming. They knew people will crap around. Go ahead, kick me in the nuts. Ban me or IP ban me, whatever makes you happy.
    And:
    This is happening because FF team have made the browser .. better :)
    Status bar is gone! Tens of my add-ons aren't working. I'm sure, FF team must be like, "Yayyyyyyyyyyy we frustrated the hell out of people!"
    Here's the semi-helpful tip I received, from "alan_r":
    There is no sign of it in your installed plug-ins. It may be an idea to re-instal it.
    Thanks, Bill.

    Where did all this happen?
    The people who answer questions here, for the most part, are other Firefox users volunteering their time (like me), not Mozilla employees or Firefox developers.
    If you want to leave feedback for Firefox developers, you can go to the Firefox ''Help'' menu and select ''Submit Feedback...'' or use [https://input.mozilla.org/feedback this link]. Your feedback gets collected at http://input.mozilla.org/, where a team of people read it and gather data about the most common issues.

Maybe you are looking for