Hallo.

Am Sonntag, 10. Dezember 2006 21:33 schrieb Andrus Naulainen:
> I have a problem. My mail-server works as an open relay. If I use
> default rules in smtpaccess file, then messages from outside doesn't
> come through and I get error message like this:

That's wrong. You got this error for ONE message. That does not mean that no 
messages come through.


> error,relay=::ffff:194.126.126.43,from=<[EMAIL PROTECTED]>: 417 SPF error
> smtp-out.neti.ee: Address does not pass the Sender Policy Framework

Read the message!

What has happened here was likely:
Someone sent a message with an address [EMAIL PROTECTED] This message gets 
rejected 
because it did not come from gmail-Servers.
This is what SPF is for.
If you want to allow this, disable SPF checking (see bofh configfile).

Courier does its checks whenever a message comes in via standard SMTP. If it's 
received via authenticated SMTP, those checks are omitted, so your users can 
send mail anyway.

(Maybe the message you quoted was from esmtp.log and you got this message from 
another mailserver. Then one of your users sent a message with sender address 
@gmail.com and so SPF check on the receiving side rejects the message. That, 
again, is what SPF is for.)


> If i add this second rule to the smtpaccess and open my server relaying
> for everyone like this:
> 192.168 allow,RELAYCLIENT,BOFHBADMIME=accept
> *       allow,RELAYCLIENT,BOFHBADMIME=accept

Never ever do this, it makes an open relay.

cu, Bernd

-- 
Man kann die Erkenntnisse der Medizin auf eine knappe Formel bringen:
Wasser, mäßig genossen, ist unschädlich.
  -  Mark Twain (am. Schriftsteller)

Attachment: pgphx7S840eUH.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to