Jesus Climent wrote:

>> Having a strict configuration in my MTA (not allowing the use of our
>> domain for mail not coming from localhost), I do not want to check mail
>> in MTA level (using spamd/c) originated in my own system.

Marc MERLIN <[EMAIL PROTECTED]> writes:

> SA-Exim lets you do that and more. For instance, my config has:

It's easily done in procmail.  Just use a regexp that matches any mail
coming in from outside.  For example, the name of your DMZ mail relay,
a header attached by your MTA, number of received headers, etc.

------- start of cut text --------------
:0
* externalmailrelay\.yoursite\.com
{
  :0fw
  | spamassassin -P

  :0 e
  {
    EXITCODE=$?
  }

  :0:
  * ^X-Spam-Status: Yes
  spam.in
}
------- end ----------------------------

Dan

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to