Qmail
[Top] [All Lists]

Re: Obeying SPF for relaying customers

To: qmail@list.cr.yp.to
Subject: Re: Obeying SPF for relaying customers
From: Charles Cazabon <qmail@discworld.dyndns.org>
Date: Fri, 18 May 2007 09:06:48 -0600
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <464DAECF.3050106@oliwel.de>
Mail-followup-to: qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <464DAECF.3050106@oliwel.de>
User-agent: Mutt/1.5.11
Oliver Welter <mail@oliwel.de> wrote:
> 
> Big trouble here - I have a customer that relays through my server.
> He relays using the address of his employeer as sender and sends mails 
> to other people at this employeer. Their server has published SPF 
> records and the Spam Wall blacklists me because I am trying to send mail 
> that breaks the SPF rules.
> 
> Is there a trick to ensure that relaying people can use only local 
> domains as sender address [...]

You could easily enforce this with qmail-qfilter -- just write a filter that
rejects the message if RELAYCLIENT is set (or however else you're enabling
relaying) and the sender address domain isn't local/virtual.

Charles
-- 
--------------------------------------------------------------------------
Charles Cazabon                               <qmail@discworld.dyndns.org>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting.  See http://pyropus.ca/ for details.
--------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>