Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: crzy_dmd on September 27, 2007, 11:49:40 PM

Title: smtp routing and pop3
Post by: crzy_dmd 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.
Title: Re: smtp routing and pop3
Post by: raem 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
Title: Re: smtp routing and pop3
Post by: mmccarn 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

Title: Re: smtp routing and pop3
Post by: TrevorB on September 28, 2007, 05:45:22 AM
1. make smtp on other server than sme
FAQ=>EMail=>Deliver ALL email to a single internal mail server (http://wiki.contribs.org/Email#Deliver_ALL_email_to_a_single_internal_mail_server)

Trevor B
Title: Re: smtp routing and pop3
Post by: crzy_dmd 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
Title: Re: smtp routing and pop3
Post by: raem 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.
Title: Re: smtp routing and pop3
Post by: crzy_dmd 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. 
Title: Re: smtp routing and pop3
Post by: raem on September 28, 2007, 08:15:42 AM
crzy_dmd

http://wiki.contribs.org/UpgradeDisk
http://wiki.contribs.org/Updating_to_SME_7.2
http://forums.contribs.org/index.php?topic=30745.0
http://wiki.contribs.org/SME_Server:Documentation:FAQ
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter5#Upgrading_From_A_Previous_Version

Find all the correct contribs before you start & uninstall incompatible ones as well as custom templates etc. Read carefully first.
Title: Re: smtp routing and pop3
Post by: crzy_dmd 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