I have a Mdaemon server with a registered domain name. and a local domain.
The registered domain name is used to exchange emails etc.. using the internet and the local domain s used for emails within our private wan.
we can send/receive emails with no problems
assume public domain = pd.com
we have users who retrieve their emails FROM MDAEMON and other (remote users) who retrieve their emails from the ISP
the problem is:
we can use the local domain to send/receive emails.
when we use the public domain to send emails to users (who use mdaemon), emails are sent successfully but when sending emails to remote users (users who use ISP) mdaemon respond with a '550' error.
the reason of this error is that mdaemon doesn't know the remote users. and I don't want to create user accounts for these remote users cause in this case, the mdaemon will try to get their emails and the remote users won't be able to retrieve their emails via ISP (since mdaemon retrieved them and removed them from server).
I ibelieve there are 2 solutions to this problem: (which I don't know how to fix in both cases)
1- create accounts for remote users however instruct mdaemon not to retrieve their emails from the servers. then pass every email send from local users to ISP mail server via MDaemon
2- stop SPF and all type of SPamFilter that way mdaemon will consider the mail recipient unknown and will forward the emails to ISP mail server.
I believe one of these solutions should work. please advice on what/how to do it.