External email forwards

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
i8beef
Posts: 4
Joined: Sat Sep 13, 2014 12:09 am

External email forwards

Postby i8beef » Fri Mar 13, 2009 12:58 am

I'm probably showing my ignorance here, but I have a stupid question...
An SMTP server requires authentication in order to prevent open relays. This I get. In cases of webmail (Zimbra), the server is itself the source (localhost) or behind the SMTP server on the network and added as a OK relay source. Again, this I get.
Now here's my question. When I send a message to an account on Zimbra from inside (webmail, or email client) to another account on Zimbra that has a forwarding address setup that goes to an external domain, everything works fine. However, if I send a message to said address FROM an external domain, to this address that forwards, I get a message back saying something about not relaying.
I ASSUME this is because the Zimbra MTA is looking at the original source of the message to determine if it's going to forward it or not (So a Gmail account wouldn't forward, while an internal account would). My question is then, (a) Why does it work this way? Shouldn't it just forward out from the Zimbra server and thus be OK'd? I'm assuming this is to stop an open relay type attack, but I'm not clear on where the vulnerability is. or (b) if this isn't the case, how do we open up the server to allow our users to have mail forwarded to their external accounts.
Specifically, I want to take user@domain.com with a forward to user@hotmail.com or user@gmail.com and when someone sends an e-mail to this user it automatically forwards it on. I'm getting relay errors though, and my search's to find a solution have been in vain thus far (Again, probably because of my own ignorance into the situation). Can someone explain to me what's going on / why it is that way, and if it is advisable to allow this, and if so, how?
This would be handy for distribution lists as well, unless I am misunderstanding the point of distribution lists...
Michael


uxbod
Ambassador
Ambassador
Posts: 7811
Joined: Fri Sep 12, 2014 10:21 pm

External email forwards

Postby uxbod » Fri Mar 13, 2009 2:25 am

Welcome to the forums :)
Would you post a copy of the error message you get please; and also a extract from /var/log/zimbra.log of when it happens aswell.
Please update your profile aswell with the output from the following command so we know which version of ZCS you are running
su - zimbra

zmcontrol -v
i8beef
Posts: 4
Joined: Sat Sep 13, 2014 12:09 am

External email forwards

Postby i8beef » Fri Mar 13, 2009 3:44 am

* face palms *
I'm an idiot. It wasn't the forwarding, it was the accepting of mail for the domain itself. I... ahem... may have been missing an MX record... :o
I'm all good now... just feeling stupid. Thanks.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 16 guests