DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th October 2015
bceverly bceverly is offline
Shell Scout
 
Join Date: Mar 2015
Posts: 88
Question Question on spamd

Hi all,

I'm doing some further refinement on my mail server and I wanted to run spamd. What I'm seeing is that it will initially greylist a server and wait for it to retry. After some time (configurable by the flags in my rc.conf.local file) it will whitelist the server and let mail through. At least that's what the doc says.

What I'm seeing is more complex. When I send mail to the server from gmail, it hits the server from IP address A, gets asked to retry and happily does... from IP address B. I'm trying to figure out how the large mail services (gmail, office365, etc) can work with greylisting and spamd. Do you just have to block mail for a very long time with nothing getting through until you end up "collecting" the cannonical list of all mail server IP addresses from that service?

That doesn't make a whole lot of sense so clearly I'm suffering from n00b-itis again and could use some nudging from my betters here.

Thanks and sorry to be inflicting my learning experience on everyone but I really do want to get this stuff right in my head so I can stop asking questions and start answering them.
Reply With Quote
  #2   (View Single Post)  
Old 10th October 2015
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 305
Default

Quote:
Originally Posted by bceverly View Post
Hi all,

I'm doing some further refinement on my mail server and I wanted to run spamd. What I'm seeing is that it will initially greylist a server and wait for it to retry. After some time (configurable by the flags in my rc.conf.local file) it will whitelist the server and let mail through. At least that's what the doc says.
Yeah, spamd waits for a configurable period of time for the server (identified by IP) to retry. If it's within the time limit, it is whitelisted.

Quote:
Do you just have to block mail for a very long time with nothing getting through until you end up "collecting" the cannonical list of all mail server IP addresses from that service?
I didn't change the wait time, but for gmail, I just sent myself a few emails from my gmail address and manually started building a nospamd table. Yahoo is another problem mail service. I'm sure there are more. There was a recent thread on misc@ about it. It mostly turned into a joke about how many IP addresses Google owns.

http://marc.info/?l=openbsd-misc&m=142478407909186&w=2

Read the thread for actual valuable info.

Tim.
Reply With Quote
  #3   (View Single Post)  
Old 10th October 2015
22decembre 22decembre is offline
Port Guard
 
Join Date: Dec 2014
Posts: 42
Default

There exists a "cannonical" list of mail servers : it's called spf, which are basically dns records telling which server is legitimate to send mail from the domain concerned.

The fact is that Google has spf records the size of a continent ! The same for Yahoo, Microsoft and a few others. When you look at them, they tell you all mail from some /16 sector is fine !
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about AES DanBSD Off-Topic 5 7th May 2015 08:16 PM
SPAMD and pf scrummie02 OpenBSD Security 1 17th September 2012 04:00 PM
external drive partition question + fdisk question gosha OpenBSD General 15 15th June 2009 02:00 PM
OpenBSD's SPAMd dying stukov General software and network 11 16th June 2008 03:18 PM
spamd logging question roundkat OpenBSD General 10 11th June 2008 01:27 PM


All times are GMT. The time now is 11:52 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick