Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mappy

Pages: [1]
1
Installation and Upgrades / Re: Multi relayhost MTA
« on: November 09, 2012, 11:54:03 am »
The same local user must use two different e-mail with different domain, we need to retrieve all incoming mail in our zentyal server and to use some webmail features to read and send mail for both two external mail, so we need to use external smtp to avoid blacklist problem.

Our zentyal configuration: (all domain is by my fantasy, only for examplr purpose)

zentyal domain: our-school.loc

mail virtual domain:
istruzione.loc
scuola.loc

external mail:
school@istruzione.it
office@scuola.it

I hope this is what you ask  :)

2
Installation and Upgrades / Re: Multi relayhost MTA
« on: November 09, 2012, 10:00:13 am »
@christian
peraphs is better if we try again in english so someone else can come in our help, and we can use our native language just in case of misunderstanding.

Following suggestion of ichat we have installed zarafa but we can't find hoe to set different smtp relay host.

Thanks to all

3
Installation and Upgrades / Re: Multi relayhost MTA
« on: November 08, 2012, 08:14:49 pm »
I read now ichat,
yes that is what I try to explane  ;D

we use zentyal 2.2 so we need zarafa?

thanks

4
Installation and Upgrades / Re: Multi relayhost MTA
« on: November 08, 2012, 08:11:55 pm »
I'm italian, and your native language?

Now I'll use real domain (not real email adress, just for secutiry reason, I'll take from my fantasy) so I hope it's more easy to understand.

the email are:
1. school@istruzione.it    governative domain
2. office@scuola.it         this is our web-site and mail domain (not the real one this is take from my fantasy)

we have installed zentyal in a microserver with firewall and mail server (this is the fourth zentyal I installed in a school but the first with mail server), created virtual domain (istruzione.it - scuola.it), created one user, from the user panel we set parameter to retrieve mail from external pop3 for school@istruzione.it and office@scuola.it. Everything goes well, but wen we try to write to teacher@istruzione.it from school@istruzione.it our mail was rejected because the external server refuse to receive mail from itself send by an external (for him) IP. The same for the other mail domain. So I set in zentyal the smarthost to use the istruzione.it smtp server and now domain istruzione.it work fine but not the other, setting scuola.it as smarthost the email for this domain work well but not email with istruzione.it as domain. So how can I set multi relay host to use with different email sender?
If I use a client like thundirbird I can set more email address to retrieve and send each one of them and for each one I can set different smtp and pop3/imap server. What we want is to retrieve all email in our server and work on it using zentyal webmail service, we don't want any client.
Thanks again

5
Installation and Upgrades / Re: Multi relayhost MTA
« on: November 08, 2012, 07:03:04 pm »
Due to my english writing I'm not explayining well  :-[
I'll try again:
we need to install a zentyal mail server in our school administration office, at the moment they have two email readed by one user in her PC with thundirbird (other office had other e-mail address but don't need any changes), due to a lot of daily mail received and usage of an old hardware PC (and wrong OS  :-X) he have many daily crashes or freeze. Any mail have different domain and we need to use the proper smtp relay host beacuse for each one many times need to send messages to the same domain:

from: ourmail@host1.net - to: othermail@host1.net


No one of them is our ISP, the first is a governative domain and the second is our website domain.
if I set the smarthost in zentyal configuration every address use the same relay that works until he send message to the same domain, otherwise the email to "host1.net" from "host1.net" but from an IP (our IP) different from his proper was rejected. So if I set the correct smarthost for the first email that work correctly but do not work the second e-mail, the same if I set the second email host as zentyal smarthost work only the second mail. I think we need to change some postfix configuration file, that's correct? And if it is what I need to change?

I hope this time my messages is more readble  :)
Thank you

6
Installation and Upgrades / Re: Multi relayhost MTA
« on: November 08, 2012, 01:11:14 pm »
each one of mail address need to use his proper external smtp host, due to not solvebale problem with our mailserver provider.
We want user work with zentyal webmail service and not with client pc software, this is mandatory for our purpose.
thanks

7
Installation and Upgrades / Multi relayhost MTA
« on: November 08, 2012, 10:20:38 am »
Hi, I need to install a zentyal mail server with firewall and mail server, I need to fetch 2 external mail with different domain and use separated smtp host for each one. At the moment I can receive mail with imap protocol for each external mail but how can I set different relay host?

es:

user 1:
external mail 1 <external@ext.net> imap: imap.ext.net   smtp:  smtp.ext.net
external mail 2 <external@ext.org> imap: imap.ext.org   smtp:  smtp.ext.org

thank you

8
I need to centralize control to zentyal or to a server due to simplify maintenance and maintening every teacher's PC as a normal PC and not as a server, finally I don't want to guarantee zentyal server admin access to all teacher. The time needed for act the changes is acceptable but if I work only on firewall and not using proxy I think time is shorter, that's right? My php pages have to call some iptables rule like that:

iptables -A INPUT -s 172.20.1.0 -d 172.20.0.1/32 -i eth2 -p tcp -m tcp --dport 80 -j DROP # to disable internet in lab 172.20.1.0
or
iptables -D INPUT -s 172.20.1.0 -d 172.20.0.1/32 -i eth2 -p tcp -m tcp --dport 80 -j DROP # to enable internet in lab 172.20.1.0

I'm trying this but do not work  :(

is this because I'm using transparent proxy? so I need to change --dport 80 to --dport 3128?
and finally how can I act to let zentyal's server know my firewall changes? where zentyal save firewall rule? I want to be shure to no create "caos" in our firewall.

thanks

9
Hi all,
this is the situation: we have installed two zentyal server in our school, one for PDC and file server the other as firewall with proxy module installed. They are all zentyal 2.2 real server.
We use class B network configuration: 172.20.0.0 without DHCP, every room/lab had a separated subnet and in every subnet there's a PC with last IP's byte set to 1 to use for teacher desk.
We need to have internet access control by each teacher's PC on his room/lab, so in lab with subnet 172.20.1.0 the teacher's PC was 172.20.1.1 and this PC must have the control to switch on/off the internet access only in sub 172.20.1.0. I'm thinking about to create a simple php page to do this with iptables, but:

1. where zentyal firewall save his configuration? I thing is better if any change to the firewall was committed with zentyal control or in any case let them now to zentyal. How can I work with zentyal firewall for this?
2. I want to create separated php file for each room/lab and I want that file was see only from his teacher's PC, How can I solve this? I'm thinking about Virtual host listening on separated port than using firewall/proxy redirection to control who can see what. Is this correct?

Thanks

Pages: [1]