Author Topic: Zentyal as Mail-Relay for authenticated Users  (Read 2460 times)

Thanquol

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Zentyal as Mail-Relay for authenticated Users
« on: November 04, 2012, 07:13:32 pm »
Hi all,

i'm going crazy.. maybe you can help me!

I'm setting up a zentyal Server for Mail / Webmail for me and my friends.

The Network configuration:
- Public IP - Astaro Firewall - Private Network (192.168.20.0/24)
The Zentyal has one NIC and is connected to the Private Network as INTERNAL.
The Firewall uses NAT / Port Forwarding for POP(s)/SMTP/IMAP(s).

I configured the zentyal Box for mydomain.de and configured a bunch of users.

I can send Mails from example@gmail.com to user1@mydomain.de
I can check mails with IMAPs or POP3s from the Zentyal.

But i can't send mails with outlook/thunderbird using zentyal as a relay server.

Outlook gets the error message: 554 5.7.1 <example@gmail.com>: Relay access denied

PostFix Log says:
Code: [Select]
Nov  4 19:09:07 zentyal3 postfix/smtpd[13626]: connect from XXX.dynamic.mnet-online.de[a.b.c.d]
Nov  4 19:09:07 zentyal3 postfix/smtpd[13626]: NOQUEUE: reject: RCPT from XXX.dynamic.mnet-online.dea.b.c.d]: 554 5.7.1 <Florian@myprivatedomain.de>: Relay access denied; from=<thanquol@mydomain.de> to=<Florian@myprivatedomain.de> proto=ESMTP helo=<ThanquolWork>
Nov  4 19:09:10 zentyal3 postfix/smtpd[13626]: disconnect from XXX.dynamic.mnet-online.de[a.b.c.d]

I've read a lot of forum entries, changed a lot of settings in my etc/postfix/main.cf config file - but nothing worked.
Currently i'm using the deafult main.cf

Configuring the internal address range as "relay allowed" is not a good idea - than i can send Mails WITHOUT authentication -> open relay! Great for Spammers :)


Does anyone have any idea what's wrong?

I'm using the currently latest version:
Code: [Select]
ii  language-pack-zentyal-de             3.0.1                                   Zentyal translations for language German
ii  zbwmonitor                           0.4                                     Zentyal bandwith monitor tool
ii  zenbuntu-desktop                     3.0                                     Zentyal Desktop Environment for Ubuntu Server
ii  zentyal                              3.0                                     Zentyal - Core metapackage
ii  zentyal-bwmonitor                    3.0                                     Zentyal - Bandwidth Monitor
ii  zentyal-ca                           3.0                                     Zentyal - Certification Authority
ii  zentyal-common                       3.0.4                                   Zentyal - Common Library
ii  zentyal-core                         3.0.5                                   Zentyal - Core
ii  zentyal-dns                          3.0.1                                   Zentyal - DNS Service
ii  zentyal-ebackup                      3.0.2                                   Zentyal - Backup
ii  zentyal-firewall                     3.0                                     Zentyal - Firewall
ii  zentyal-mail                         3.0.1                                   Zentyal - Mail Service
ii  zentyal-monitor                      3.0                                     Zentyal - Monitor
ii  zentyal-network                      3.0.1                                   Zentyal - Network Configuration
ii  zentyal-ntp                          3.0                                     Zentyal - NTP Service
ii  zentyal-objects                      3.0                                     Zentyal - Network Objects
ii  zentyal-services                     3.0                                     Zentyal - Network Services
ii  zentyal-software                     3.0.2                                   Zentyal - Software Management
ii  zentyal-usercorner                   3.0.1                                   Zentyal - User Corner
ii  zentyal-users                        3.0.4                                   Zentyal - Users and Groups
ii  zentyal-webmail                      3.0                                     Zentyal - Web Mail Service
ii  zentyal-webserver                    3.0                                     Zentyal - Web Server

Thanks a lot,
Florian