spamassissin amavisd maildrop howto ignore vacation

Discussion in 'Server Operation' started by justheadaches, Jun 24, 2009.

  1. justheadaches

    justheadaches New Member

    spamassissin amavisd maildrop howto ignore vacation

    hi there does anybody know howto ignore vacation/autoresponder messages ?

    im using maildrop+mysql for vacation messages, but the autorespond message has always a spam-flag

    i was trying to set the spam-flag manually by mailbot -A 'X-Spam-Flag: NO'

    i think the spam-headers are set after maildrop has parsed the mail :( does anybody know where and how i could ignore these mails ?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Does the header of the mail indicate why it was flagged as spam?
     
  3. justheadaches

    justheadaches New Member

    in /etc/amavis/conf.d/05-domain_id
    changed from
    @local_domains_acl = ( "." );

    to
    @local_domains_acl = ( ".aa.de", ".bb.de", ".cc.de" );

    so that outgoing mails are ignored


    in maildroprc
    i'm checking if the user has a vacation left, if so
    -> cc to sender
    -> moving mail to Vacation folder
    exception {
    to $MAILDIR/.Vacation/
    }
    if not and
    .autoresponsedb.gdbm
    .autoresponsedb.lock
    are exist delete them else the sender could not send an mail to me :( for default 1 day


    nevertheless thank you for your fast reply ^^

    next im goning to test if it works when using mysql for
    @local_domains_acl = ( ".aa.de", ".bb.de", ".cc.de" );

    regards kriss
     

Share This Page