Solved

Need help taming SPF in a new Exim4 install

Posted on 2013-01-25
1
603 Views
Last Modified: 2013-01-29
I just set up a new relay server to scan mail for multiple school districts. First I have ever worked with Exim, so not clear how to resolve my issue.  I am using Ubuntu 12.04, Exim4 from the repository and baruwa. Everything is running properly now, except the SPF portion of the Exim config is very aggressive and blocks all email that is not already rejected by the rbl rules. I have included my configs for examination  on Pastebin. I worked with it some last night, which is why some portions of the config for spf have been commented out. I do want spf restrictions, but just not so overly aggresive.

http://pastebin.com/zayefeMz
0
Comment
Question by:tamray_tech
1 Comment
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 38821452
Line 111 you have a deny comment the line out. You commented line 112 which would have indicated the rejection as permanent, while your current config defer the message for the remote server to try again later.  
Dealing with SPF on the incoming level provides a accept/reject option.
You could instead use accept and mark the message as iffy and then let further content filtering to make the determination of delivery into the mailbox as good or into bulk mail.
SPF also enforces based on parameters the owner of the domain references in their SPF rule
~all, -all.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question