Discussion:
Testing Spamassassin with the mail command
StarkRavingCalm
2007-04-24 15:23:20 UTC
Permalink
Hello.
I am new to SpamAssasin. I have configured my new Sendmail server to use
Spamassassin and have tested with the usual commands: spamassassin -D <
/usr/share/doc/spamassassin-3.1.8/sample-spam.txt

I want to test how the messages will look when delivered, so I can tweak
that.

Thanks in advance!
--
View this message in context: http://www.nabble.com/Testing-Spamassassin-with-the-mail-command-tf3639390.html#a10163382
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
Bowie Bailey
2007-04-24 16:00:53 UTC
Permalink
Post by StarkRavingCalm
Hello.
I am new to SpamAssasin. I have configured my new Sendmail server to
spamassassin -D < /usr/share/doc/spamassassin-3.1.8/sample-spam.txt
I want to test how the messages will look when delivered, so I can
tweak that.
spamassassin < testmessage.txt
or
spamc < testmessage.txt

Output will be the modified message.
--
Bowie
StarkRavingCalm
2007-04-24 16:59:24 UTC
Permalink
Bowie,
Thank you for the reply. What I would like to do is to test it by letting it
pass thru so I can see how it would arrive in the user's inbox.

Thanks
Post by Bowie Bailey
Post by StarkRavingCalm
Hello.
I am new to SpamAssasin. I have configured my new Sendmail server to
spamassassin -D < /usr/share/doc/spamassassin-3.1.8/sample-spam.txt
I want to test how the messages will look when delivered, so I can
tweak that.
spamassassin < testmessage.txt
or
spamc < testmessage.txt
Output will be the modified message.
--
Bowie
--
View this message in context: http://www.nabble.com/Testing-Spamassassin-with-the-mail-command-tf3639390.html#a10165180
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
Vincent Fleming
2007-04-24 17:54:21 UTC
Permalink
OK Everyone - Send him your SPAM!!!

;-)

Just kidding...

I'm not sure what you're looking for from us. Please be more specific.

By the way, I use Sendmail as well, and find the spamass-milter to be a
great way to link in spamassassin. Also, the blacklists are very
effective. If you need any assistance with the sendmail.mc entries
required, email me back.

Regards,

Vince

-----Original Message-----
From: StarkRavingCalm [mailto:***@wearguard-crest.com]
Sent: Tuesday, April 24, 2007 11:23 AM
To: ***@spamassassin.apache.org
Subject: Testing Spamassassin with the mail command


Hello.
I am new to SpamAssasin. I have configured my new Sendmail server to use
Spamassassin and have tested with the usual commands: spamassassin -D <
/usr/share/doc/spamassassin-3.1.8/sample-spam.txt

I want to test how the messages will look when delivered, so I can tweak
that.

Thanks in advance!
--
View this message in context:
http://www.nabble.com/Testing-Spamassassin-with-the-mail-command-tf36393
90.html#a10163382
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
R***@Wearguard-Crest.com
2007-04-24 18:09:46 UTC
Permalink
Vince,
Thanks for your reply. Here is what I am looking for:
I have built a new server to replace one of our internal mail relays, it is
configured to use ClamAV and Spamassassin. Before I make the switch, I want
to make sure that everything is working as I would like it and the switch
will be transparent to users.

Now, I am not very familiar with SA, but examples I have seen so a lot of
re-writing in the subject etc...
I would like to test it so that I can see a piece of mail marked as Spam but
delivered to a user so that I can see what the email will look like when it
comes thru. This way I can tweak it if I need to. Ultimately using the mail
command would be best.


Rich

-----Original Message-----
From: Vincent Fleming [mailto:***@penmax.com]
Sent: Tuesday, April 24, 2007 1:54 PM
To: StarkRavingCalm;
Subject: RE: Testing Spamassassin with the mail command

OK Everyone - Send him your SPAM!!!

;-)

Just kidding...

I'm not sure what you're looking for from us. Please be more specific.

By the way, I use Sendmail as well, and find the spamass-milter to be a
great way to link in spamassassin. Also, the blacklists are very effective.
If you need any assistance with the sendmail.mc entries required, email me
back.

Regards,

Vince

-----Original Message-----
From: StarkRavingCalm [mailto:***@wearguard-crest.com]
Sent: Tuesday, April 24, 2007 11:23 AM
To: ***@spamassassin.apache.org
Subject: Testing Spamassassin with the mail command


Hello.
I am new to SpamAssasin. I have configured my new Sendmail server to use
Spamassassin and have tested with the usual commands: spamassassin -D <
/usr/share/doc/spamassassin-3.1.8/sample-spam.txt

I want to test how the messages will look when delivered, so I can tweak
that.

Thanks in advance!
--
View this message in context:
http://www.nabble.com/Testing-Spamassassin-with-the-mail-command-tf36393
90.html#a10163382
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
Bowie Bailey
2007-04-24 19:23:28 UTC
Permalink
Post by StarkRavingCalm
Bowie,
Thank you for the reply. What I would like to do is to test it by
letting it pass thru so I can see how it would arrive in the user's
inbox.
Then configure the MTA to accept and deliver mail for a test user and
send him some mail. You can send the mail either using the "mail"
command line utility or by connecting directly to the server from
Thunderbird or some other mail program.

As long as your DNS servers don't have any (non-test) MX records pointing
to your new mail server, it won't affect your real mail traffic.
--
Bowie
Loading...