I have problem Atlassian JIRA email notifications. These notifications come to deleted by SpamAssassin some reason.

So I need to know how to confirgure SpamAssassin to but these notications to whitelist.

I configured xxx@i4ware.fi email to whitelist but that does not help or I just confirgured this wrong.

I tested now my JIRA and all emails that is sent from address xxx@mydomain.com to xxx@mydomain.com is deleted with SpamAssassin and emails that is sent from yyy@mydomain.com to xxx@mydomain.com come to not deleted with SpamAssassin. This occurs only JIRA but not other Atlassian products like FishEye or Crucible, etc.

Can anyone help me on this issue?

Here is smtp result:

root@alm:~# postconf | grep smtpd_recipient_restrictions
postconf: warning: /etc/postfix/main.cf: unused parameter:    virtual_overquota_bounce=yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
postconf: warning: /etc/postfix/main.cf: unused parameter:    virtual_maildir_limit_message="The user you are trying to reach is over quota."
postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_mailbox_limit_override=yes
  • What are the SA logs for these mails?
    – EEAA
    Nov 7, 2015 at 18:40
  • Where do I can find SA Logs on Ubutnu 14.04 LTS? Nov 7, 2015 at 20:42

1 Answer 1


I would do it this way.

create a rule

header LOCAL_JIRA From =~ /example\.com/i
score LOCAL_JIRA  -100

Where example.com is your specific instance name, you can also do full emails like

header LOCAL_JIRA From =~ /jira-emailer\@example\.com/i

For Postfix whitelist, follow this guide

  • I tested this now and this does not help! Nov 7, 2015 at 20:27
  • Can you post your header results? what is the email system (MTA) Nov 7, 2015 at 20:32
  • header LOCAL_JIRA From =~ /alm\@i4ware\.fi/i score LOCAL_JIRA -100 allow_user_rules on Nov 7, 2015 at 20:37
  • howtoforge.com/… Nov 7, 2015 at 20:39
  • what are the results of postconf | grep smtpd_recipient_restrictions Nov 8, 2015 at 1:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.