[Mimedefang] Spam asssassin report

Jason Englander jason at englanders.cc
Tue Aug 26 14:23:01 EDT 2003


On Tue, 26 Aug 2003, Shawn Button wrote:

> Is there any way to have SA report the IP address of the mail server
> that it tags as spam when attaching the SA .txt report? If so, anything
> that mime defang strips and puts the notification at the bottom can this
> put the IP address as well?

(in 'man mimedefang-filter' it says that...) The IP of the relaying mail
server is stored in as $RelayAddr

To add another line to the report that says "The relaying mail server was:
1.2.3.4" add a line like this before the part that adds the report (line
365 in MD 2.36's example filter):

$report .= "\nThe relaying mail server was: $RelayAddr\n";

  Jason

-- 
Jason Englander <jason at englanders.cc>
394F 7E02 C105 7268 777A  3F5A 0AC0 C618 0675 80CA




More information about the MIMEDefang mailing list