Author Topic: Open relay  (Read 6092 times)

0 Members and 1 Guest are viewing this topic.

jeanmark

  • Guest
Open relay
« on: February 08, 2004, 03:08:08 PM »
If i install avast MSTP feature, my computer become open relay. How to change settings?

I want accept messages on port 25 because I run small mail server on my computer.

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re:Open relay
« Reply #1 on: February 09, 2004, 09:36:17 AM »
avast! SMTP feature? Do you mean turning on the scanning of outbound e-mail (in avast! Home/Pro), or are you talking about avast! Server Edition maybe?


jeanmark

  • Guest
Re:Open relay
« Reply #2 on: February 09, 2004, 11:36:10 AM »
Jup, I mean turning on the scanning of outbound e-mail. As far as I noticed, they also accept connections from outside. Because I don't want to set trusted IPs.

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re:Open relay
« Reply #3 on: February 09, 2004, 11:43:32 AM »
It certainly should not accept connections from outside - only from the local host!
Are you sure abou it? How did you test?

jeanmark

  • Guest
Re:Open relay
« Reply #4 on: February 09, 2004, 12:00:30 PM »
Ups.
I tested with some thirdparty openrelay script/site. How I see, they was comunicateing with avast. I will test once again.

Does avas do same caching on SMTP connection?

Offline vojtech

  • Avast team
  • Advanced Poster
  • *
  • Posts: 939
    • ALWIL Software
Re:Open relay
« Reply #5 on: February 09, 2004, 01:09:33 PM »
What catching ?
Avast mail scanner works as a proxy on winsock level, it does no low-level operations with connections.

jeanmark

  • Guest
Re:Open relay
« Reply #6 on: February 09, 2004, 02:04:13 PM »
Ok, I connect directly on port 25 with telnet and do some tests. Avast! changeing reply from smtp server, and that make me comfused.

via avast:

220 X2003 avast! SMTP proxy ready.
helo nastja.com
250 X2003
mail from:marko@nastja.com
501 5.5.4 Invalid Address
mail from:marko@nastja.com
250 2.1.0 marko@nastja.com....Sender OK
rcpt to:marko@nastja.com
250 2.1.5 marko@nastja.com
data
354 Enter mail, end with "." on a line by itself
test
.
250 2.6.0 <KNEZFlz43dWI5KBTl2X00000bdc@smtp.b2-ic.si> Queued mail for delivery

without avast:
220 smtp.b2-ic.si Microsoft ESMTP MAIL Service, Version: 6.0.3790.0 ready at  Mo
n, 9 Feb 2004 14:03:30 +0100
helo nastja.com
250 smtp.b2-ic.si Hello [194.165.105.7]
mail from:marko@nastja.com
250 2.1.0 marko@nastja.com....Sender OK
rcpt to:marko@nastja.com
d250 2.1.5 marko@nastja.com
ata
354 Start mail input; end with <CRLF>.<CRLF>
dtest

.
250 2.6.0 <KNEZHv1cO9MH7CSEI5W00000be2@smtp.b2-ic.si> Queued mail for delivery

Offline vojtech

  • Avast team
  • Advanced Poster
  • *
  • Posts: 939
    • ALWIL Software
Re:Open relay
« Reply #7 on: February 09, 2004, 02:35:29 PM »
If you have a SMTP server on port 25, you have to change the port for avast - insert such a line to the file Avast4\DATA\avast4.ini under [MailScanner]:
SmtpListen=127.0.0.1:26

Then you need to reconfigure accounts in your mail program, if you want to send through avast mail scanner.

jeanmark

  • Guest
Re:Open relay
« Reply #8 on: February 09, 2004, 02:49:02 PM »
Ej, IT works! SMTP server is not on same IP as avast!.

Is my diagnose that Avast change SMTP server response correct or not?

Offline vojtech

  • Avast team
  • Advanced Poster
  • *
  • Posts: 939
    • ALWIL Software
Re:Open relay
« Reply #9 on: February 09, 2004, 03:08:03 PM »
Yes, it is also an option.

Yes, it may use another response than your server, when it has to send the response before it receives corresponding response from the server.
« Last Edit: February 09, 2004, 03:08:43 PM by vojtech »