i am runing a zimbra m2 server (test installation) at home. since my internet connection is not stable enough to run a "real" mailserver, i am getting all my mails through fetchmail from a pop3 account i have on a mailserver belonging to my virtual server which is hosting my whole domain and it's locatet at a provider somwhere in switzerland.
now as far as fetching my email goes, everything works fine. fetchmail fetches my mail every 60 seconds and distributes it to local users, according to the pop accounts on my virtual server out on the internet. in order to organize my mails by filter rules, i tend to use many different email addresses which all go to my main account using a catch-all configuration. recieving them works, sorting them works, but i have a big problem sending my mails out:
when i try to send an email to an email address of my domain, which zimbra doesn't know, it shows an error when i try to send the message and tells me that this is an unknown user. well it certainly is with zimbra, but my mailserver on the virtual server at my provider would know what to do. so what i want is, i want to tell zimbra to forward all emails which are addressed to an inexistant local email address to a smtp server so that this smtp server can then send it through te internet and let it go where it should go, which is my mailserver at the internet provider, which will then recieve this mail, and forward it to my main account because of the catch-all statement... and then it will be fetched and i have it back
i understand that with the catch-all example this doesn't make sense, but imagine there is another user on that mail server at my provider's and he pops his mails directly from my mail server.. well he can't pop his mails from my zimbra server at home, because of my bad internet connection so he has to get the mails from my server at the provider. i could never write any mails to this friend again, since he is using the same domain as i do and zimbra won't allow me to send an email to a user of a domain it "owns" if it knows that this user doesn't exist ...
i hope i could explain my problem.. it's quite hard to describe i think sorry for bothering you.. any help would be greatly appreciated...