Koozali.org: home of the SME Server

smtp routing and pop3

Offline crzy_dmd

  • *
  • 17
  • +0/-0
smtp routing and pop3
« on: September 27, 2007, 11:49:40 PM »
Hi group,

Can someone please point in right direction, i need this:

1. make smtp on other server than sme
2. sme can only accept mail from 1 server, i need to block anything else

I know i will have to deal with IP tables, i need a good man or how to.

Thanks for help.
____________
Shine on......

Offline raem

  • *
  • 3,972
  • +4/-0
Re: smtp routing and pop3
« Reply #1 on: September 28, 2007, 04:50:53 AM »
crzy_dmd

This thread might steer you in the right direction

http://forums.contribs.org/index.php?topic=34333.msg147942#msg147942
...

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: smtp routing and pop3
« Reply #2 on: September 28, 2007, 05:37:48 AM »
Here's some more on 'AllowHosts' and 'DenyHosts': http://wiki.contribs.org/DB_Variables_Configuration#Additional_information_on_customizing_iptables

I don't know if the service you need to modify is 'smtpd', or 'qpsmtpd', though, so I don't know if you need to do
 config setprop smtpd AllowHosts a.b.c.d

or
 config setprop qpsmtpd AllowHosts a.b.c.d


Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Re: smtp routing and pop3
« Reply #3 on: September 28, 2007, 05:45:22 AM »

Offline crzy_dmd

  • *
  • 17
  • +0/-0
Re: smtp routing and pop3
« Reply #4 on: September 28, 2007, 06:42:15 AM »
Thank you very much guys, what I need is to block all IP's (except one) to send mail to my server, and when my server send email, i want it to do it by other server (same) this server is external, not in local network.

You're links are very useful i will study them and post if i get any result.

again, thx

PD. Sorry for this, there is one more thing... the sme ver is 6.0.1-01, i cannot upgrade at this time...  :???:
I just realize I post on wrong place, very sorry for this
« Last Edit: September 28, 2007, 07:00:49 AM by crzy_dmd »
____________
Shine on......

Offline raem

  • *
  • 3,972
  • +4/-0
Re: smtp routing and pop3
« Reply #5 on: September 28, 2007, 07:16:51 AM »
crzy_dmd

> the sme ver is 6.0.1-01, i cannot upgrade at this time...

The db commands mentioned are not supported in sme6.x, so your option is to do it some other way, or to upgrade to sme7.
As sme6.x is technically insecure now, why are you waiting to upgrade. It should be a relatively straightforward process, as long as you follow the upgrade "rules", see wiki.

I bet you will find the time to upgrade real quickly after your sme6 server gets hacked, so why not do it now and save the hassles you may additionally have in the event a hack occurs.
...

Offline crzy_dmd

  • *
  • 17
  • +0/-0
Re: smtp routing and pop3
« Reply #6 on: September 28, 2007, 07:52:31 AM »
Thx Ray,

I think i will plan an upgrade to next week to this server, the owner doesn't want to, but i will put some pressure on this.

Where can i find the upgrade process? this server has lots of contribs installed, this make upgrade little difficult isn't it?

Well, thx again. 
____________
Shine on......


Offline crzy_dmd

  • *
  • 17
  • +0/-0
Re: smtp routing and pop3
« Reply #8 on: October 01, 2007, 07:09:26 PM »
The server update was success, now i need to set the configurations about blocking IP's to send e-mail to my server, and also, my server has to SMTP throw other SMTP server (external).

Thanks for any help
« Last Edit: October 01, 2007, 07:50:48 PM by crzy_dmd »
____________
Shine on......