You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by andy <an...@hazlorealidad.com> on 2006/04/13 23:04:05 UTC
How to reject hoax messages
Recently a stream of messages has been arriving to a site I host
apparently from the webmaster of the site, however its really from a
spammer/virus each message has a virus attached.
What can I do to reject messages that appear to be from an account that
they are not from.
Im not an expert on james i.e. I managed to install it a year ago and
havent touched it since, (which shows how good it is) so please dont
assume I know about maillets or processors (appart from the names).
Also Im not sure it its related but I also received this message
Return-Path: <I...@hazlorealidad.com>
Received: from 62.29.80.104 ([62.29.80.104]) by hazlo.hazlorealidad.com
(JAMES SMTP Server 2.2.0) with SMTP ID 734 for
<an...@hazlorealidad.com>;
Wed, 12 Apr 2006 02:00:05 -0500 (COT)
The following error occurred: <P>
Date: Wed, 12 Apr 2006 02:00:05 -0500 (COT)
From: I@hazlorealidad.com
Delivered-To: andy@localhost
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Message-ID:
<28...@hazlo.hazlorealidad.com>
X-Evolution-Source: pop://andy@localhost
Subject: No Subject
Thanks in advance
Andy Bailey
Excerpt of message
De: webmaster@globalredes.com [mailto:webmaster@globalredes.com]
Enviado el: Martes, 04 de Abril de 2006 05:04 p.m.
Para: suempresa@globalredes.com
Asunto: Your password has been successfully updated
Dear user suempresa,
....
03/02/06 17:14:27 DEBUG smtpserver: Calling start()
03/02/06 17:14:27 DEBUG smtpserver: Watchdog default Worker #10 has time
to sleep 360000
03/02/06 17:14:27 DEBUG smtpserver: Command received: HELO 58F2A7E8
03/02/06 17:14:27 DEBUG smtpserver: Sent: 250-hazlo.hazlorealidad.com
Hello 58F2A7E8 (210.113.158.55 [210.113.158.55])
03/02/06 17:14:27 DEBUG smtpserver: Sent: 250-AUTH LOGIN PLAIN
03/02/06 17:14:27 DEBUG smtpserver: Sent: 250 AUTH=LOGIN PLAIN
03/02/06 17:14:27 DEBUG smtpserver: Calling reset() default Worker #10
03/02/06 17:14:28 DEBUG smtpserver: Command received: MAIL FROM:
<da...@marchmail.com>
03/02/06 17:14:28 DEBUG smtpserver: Sent: 250 Sender
<da...@marchmail.com> OK
03/02/06 17:14:28 DEBUG smtpserver: Calling reset() default Worker #10
03/02/06 17:14:28 DEBUG smtpserver: Command received: RCPT TO:
<ac...@globalredes.com>
03/02/06 17:14:28 DEBUG smtpserver: Sent: 250 Recipient
<ac...@globalredes.com> OK
03/02/06 17:14:28 DEBUG smtpserver: Calling reset() default Worker #10
....
11/04/06 12:24:51 DEBUG smtpserver: Calling start()
11/04/06 12:24:51 DEBUG smtpserver: Watchdog default Worker #12 has time
to sleep 360000
11/04/06 12:24:53 DEBUG smtpserver: Command received: HELO RSTN-SERVER
11/04/06 12:24:53 DEBUG smtpserver: Sent: 250-hazlo.hazlorealidad.com
Hello RSTN-SERVER (218.188.19.28 [218.188.19.28])
11/04/06 12:24:53 DEBUG smtpserver: Sent: 250-AUTH LOGIN PLAIN
11/04/06 12:24:53 DEBUG smtpserver: Sent: 250 AUTH=LOGIN PLAIN
11/04/06 12:24:53 DEBUG smtpserver: Calling reset() default Worker #12
11/04/06 12:24:55 DEBUG smtpserver: Command received: MAIL FROM:
<Er...@ru.ru>
11/04/06 12:24:55 DEBUG smtpserver: Sent: 250 Sender
<Er...@ru.ru> OK
11/04/06 12:24:55 DEBUG smtpserver: Calling reset() default Worker #12
11/04/06 12:24:57 DEBUG smtpserver: Command received: RCPT TO:
<ac...@globalredes.com>
11/04/06 12:24:57 DEBUG smtpserver: Sent: 250 Recipient
<ac...@globalredes.com> OK
11/04/06 12:24:57 DEBUG smtpserver: Calling reset() default Worker #12
11/04/06 12:24:59 DEBUG smtpserver: Command received: RCPT TO:
<ac...@globalredes.com>
11/04/06 12:24:59 DEBUG smtpserver: Sent: 250 Recipient
<ac...@globalredes.com> OK
11/04/06 12:24:59 DEBUG smtpserver: Calling reset() default Worker #12
11/04/06 12:25:03 DEBUG smtpserver: Command received: RCPT TO:
<ad...@globalredes.com>
11/04/06 12:25:03 DEBUG smtpserver: Sent: 250 Recipient
<ad...@globalredes.com> OK
11/04/06 12:25:03 DEBUG smtpse...
Extract from config file
<servernames autodetect="false" autodetectIP="true">
<!-- CONFIRM? -->
<servername>hazlorealidad.com</servername>
<servername>hazlo.hazlorealidad.com</servername>
<servername>globalfastmoney.com</servername>
<servername>piramidesasesores.com</servername>
<servername>globalredes.com</servername>
<servername>lapolilla.org</servername>
<servername>dbtechnology.com.co</servername>
<servername>localhost</servername>
</servernames>
...
<smtpserver enabled="true">
<port>25</port>
<handler>
<helloName autodetect="true">myMailServer</helloName>
<connectiontimeout>360000</connectiontimeout>
<authRequired>true</authRequired>
Thanks in advance
Andy Bailey
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
RE: How to reject hoax messages
Posted by andy <an...@hazlorealidad.com>.
Noel,
Thanks for the quick response, but I am still confused.
I understand that if there was a virus attached ClamAv would help,
But there must be a way to filter out messages that claim to be sent
from an address that they are not from.
Unfortunately I dont have the mail headers
but what happens is that <Er...@ru.ru> is sending mail from
[218.188.19.28]) which is not the local ip and sends the message as if
it were from webmaster@nameOfLocalhost.
There has to be a way of blocking this.
You say its to do with authentication
In my configuration I have
<authRequired>true</authRequired>
<authorizedAddresses>127.0.0.0/8</authorizedAddresses>
Do the logs show if he authenticated, I dont understand other users I
have, have to authenticate themselves to send a message, and I hope I
have james configured to not be a relay.
Obviously if a mail server sends mail to my domain the server will
accept it without requiring authorization, the point is how are they
able to send it as if its from the local domain.
Thanks
Andy Bailey
11/04/06 12:24:53 DEBUG smtpserver: Command received: HELO RSTN-SERVER
11/04/06 12:24:53 DEBUG smtpserver: Sent: 250-hazlo.hazlorealidad.com
Hello RSTN-SERVER (218.188.19.28 [218.188.19.28])
11/04/06 12:24:53 DEBUG smtpserver: Sent: 250-AUTH LOGIN PLAIN
11/04/06 12:24:53 DEBUG smtpserver: Sent: 250 AUTH=LOGIN PLAIN
11/04/06 12:24:53 DEBUG smtpserver: Calling reset() default Worker #12
11/04/06 12:24:55 DEBUG smtpserver: Command received: MAIL FROM:
<Er...@ru.ru>
El jue, 13-04-2006 a las 18:09 -0400, Noel J. Bergman escribió:
> > a spammer/virus each message has a virus attached.
>
> I run ClamAV, which would filter those out.
>
> > What can I do to reject messages that appear to be from an
> > account that they are not from.
>
> SPF would be one approach, but we don't have SPF support, yet. Another
> would be to require SMTP AUTH for local senders, or known subnets.
>
> --- Noel
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
RE: How to reject hoax messages
Posted by "Noel J. Bergman" <no...@devtech.com>.
> a spammer/virus each message has a virus attached.
I run ClamAV, which would filter those out.
> What can I do to reject messages that appear to be from an
> account that they are not from.
SPF would be one approach, but we don't have SPF support, yet. Another
would be to require SMTP AUTH for local senders, or known subnets.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org