HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Zimbra on Ubuntu, please help me with 2 problem (http://www.howtoforge.com/forums/showthread.php?t=14657)

owl700 12th August 2007 01:04

Zimbra on Ubuntu, please help me with 2 problem
 
Hi, i have installed Zimbra on Ubuntu thanks to Howto :)
Now i have 2 problems:

1 - If i have understand right Zimbra don't request mta/smtp user authentication when you send emails via smtp with a client in local network with Zimbra.
es. zimbra server stmp ip 10.10.0.3
email client ip 10.0.0.2
Is this right?
How can i force mta/stmp to authenticate a client in local network? I have seen that if you use a fake user with a fake domain you can however send emails... why?

2 - Zimbra use external dns servers also for delivery local mail? I don't have a dns server, for now, to add an A and a MX record for my test domain. There is a mode to tell zimbra to delivery local mail without a record mx?

Thanks.

till 12th August 2007 10:59

1) run the command:

postconf -e 'mynetworks = 127.0.0.0/8'

and then restart postfix to deny relaying for clients in your network without authentication.

2) Add a line like this to the /etc/hosts file on your server to override external DNS settings:

192.168.0.100 yourdomain.com

owl700 12th August 2007 11:38

I thanks you a lot! Now i can authenticate local network :))))))))))
But i try the fase 2 of your halp and i still no recevice local mail, i think i have do a mistake.

My hosts

127.0.0.1 localhost.localdomain localhost
10.10.0.3 mail.domainname.com mail

i have modified in

127.0.0.1 localhost.localdomain localhost
10.10.0.3 mail.domainname.com

but still no local mail arrive

Can you help?

thanis 12th August 2007 13:56

Hi, Zimbra definitely needs a DNS Server as it requires an A- and an MX-record. Since you do not have a DNS domain yet (I presume), I would suggest installing a local DNS server (e.g. BIND) and then configure your own domain there.

After installing and configuring Bind (setup forwarders to your ISP's dns!), just edit the /etc/resolv.conf file and point it to 127.0.0.1 or your server's IP address.

Also, remove the lines in your /etc/hosts as they will only cause confusion and other errors later on !

Kind regards,
Thanis


All times are GMT +2. The time now is 07:41.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.