Announcement

Collapse
No announcement yet.

Mapping Local accounts to remote accounts?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Crumplerdude
    Guest replied
    I found some help in the (german) server support board:
    In einer lokalen OpenXchange-Installation verwenden wir Postfix f?r die Verwaltung der Mailaccounts. Der eigentliche Mailserver steht bei unserem ISP. Die Dom?ne ist beispiel.de OX Server heisst openxchange.beispiel.de Relay Host ist relay.beispiel.de und liegt remote beim ISP Ich m?chte nun...


    Summary:
    Change these settings in main.cf

    comment out / uncomment the following lines like that:
    Code:
    # mydestination = $myhostname,localhost.$mydomain
    # virtual_alias_domains = mysql:/etc/postfix/ox_domains.cf
    Don't forget to do your settings for
    Code:
    relayhost = relay.example.dom
    relay_domains = example.dom
    Hope this is of any help

    Leave a comment:


  • Crumplerdude
    Guest replied
    Additional Info: I have root access to the Ox machine, as well as webmin installed there.

    Leave a comment:


  • Crumplerdude
    Guest started a topic Mapping Local accounts to remote accounts?

    Mapping Local accounts to remote accounts?

    We are using OpenXhange (Express Edition) on a local machine. But as this is a question rather about Postfix I will post it here.

    I will explain it with example values:
    Let's say our domain is example.tld
    Our remote mail server is provided by our ISP on IP 111.111.111.111
    (mail.example.tld, relay.example.tld)

    Our OpenXchange Installation is installed locally, and can be reached by web on IP 222.222.222.222:1000

    I created two users in Ox:
    user1 (user1@example.tld)
    user2 (user2@example.tld)

    I configured SMTP Auth to be able to connect to our relay host at relay.example.tld.
    With that, I can send mails to any remote mail address like foo@mailservice.com

    I can send mails to existing local users, but they will only be transported locally. Bad if someone tries to fetch his mail directly from the mail server.

    But when I try to send mails to user3@example.tld (who exists on the remote mail server, but not as an Ox user), I get an error that the user is not existant. Which is natural, because Ox is looking for it locally.

    How can I configure Postfix (or the SMTP module) so it will sent mails always via the relay server?
    Last edited by Guest; 03-27-2008, 06:48 PM.
Working...
X