Disable spam filter for a domain and mailboxes not running

Discussion in 'General' started by servidoresadmin.com, Dec 23, 2021.

  1. Hi,
    We have disabled spam filters on a domain and all mailboxes under last ispconfig 3 (ISPConfig Version: 3.2.7p1), but when one internal mail from same domain is sending a mail to another email of the same domain is going to spam folder.

    We can't disable spam filter on same domain. Please help.

    thanks,

    Jordi.
    www.servidoresadmin.com
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Can you post example logs? Eg. I'm wondering what spam filter you are using, and what port you are sending on.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    You must choose uncensored spamfilter policy for the domain. Not selecting a policy means the server wide defaults get applied (at least for amavis systems) which means that spam get's filtered (with a less strict level).
     
  4. We have put domain uncensored and mail accounts uncensored. We have put in the white list. We restart amavis. But mails sended from same domain are going to spam folder:

    Dec 23 16:41:12 ns322 postfix/qmgr[13628]: 224E3C6036D: from=<[email protected]>, size=2167, nrcpt=1 (queue active)
    Dec 23 16:41:12 ns322 amavis[8636]: (08636-15) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [127.0.0.1] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: OV_QQjjl2y0m, Hits: -2.898, size: 1066, queued_as: 224E3C6036D, dkim_new=default:domain.es, 182 ms
    Dec 23 16:41:12 ns322 postfix/lmtp[13904]: E0224C60360: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.24, delays=0.06/0/0/0.18, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as 224E3C6036D)
    Dec 23 16:41:12 ns322 postfix/qmgr[13628]: E0224C60360: removed
    Dec 23 16:41:12 ns322 dovecot: lda([email protected]): msgid=<[email protected]>: saved mail to INBOX
    Dec 23 16:41:12 ns322 postfix/pipe[14496]: 224E3C6036D: to=<[email protected]>, relay=dovecot, delay=0.03, delays=0.01/0/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)
    Dec 23 16:41:12 ns322 postfix/qmgr[13628]: 224E3C6036D: removed
    Dec 23 16:41:12 ns322 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=15348, secured, session=<liVvEdLT8LEAAAAAAAAAAAAAAAAAAAAB>
    Dec 23 16:41:12 ns322 dovecot: imap([email protected]): Logged out in=70 out=1126
    Dec 23 16:41:13 ns322 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=15350, secured, session=<vxB4EdLT8rEAAAAAAAAAAAAAAAAAAAAB>
    Dec 23 16:41:13 ns322 dovecot: imap([email protected]): Logged out in=610 out=31513
    Dec 23 16:41:13 ns322 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=15352, secured, session=<CSR5EdLT9LEAAAAAAAAAAAAAAAAAAAAB>
    Dec 23 16:41:13 ns322 dovecot: imap([email protected]): Logged out in=120 out=1262

    Jordi
    www.servidoresadmin.com
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Are you sure that the mail is put into spam folder by ISPConfig and not by the email client that you use to view the emails? The spam score is already negative, so it should not trigger any spam action in ISPConfig. Or maybe you use custom sieve scripts that do it or your sieve templates in ispconfig are customized?
     
  6. Hello Till,
    We send from roundcube on localhost. We don't have any custom sieve script. We delete the mail account and recreate to test. But we send from mail[email protected] to [email protected] from localhost in roundcube and mails are going to spam folder ( /var/vmail/domain.es/mail2/Maildir/.Junk/cur )
    We upgrade ispconfig and delete and recreate mail account, but same results: mails are going to junk folder....

    Thanks,

    Jordi.
    www.servidoresadmin.com
     
  7. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    As @till indicated, this message was saved into INBOX, not Junk. Try sending a new message and confirm that it is in the INBOX before accessing the mail2 account in any mail client, and work from there. I believe roundcube has some 'scan for junk' type features, though I don't use them and am not familiar with them, but if it seems to be roundcube moving your message, examine your roundcube config and post it here if needing further assistance.
     

Share This Page