1

Topic: forward problem

I have problem with mail forwarding from old mailserver:

- mail1@oldserver.com (old webserver) is configured to forward all incoming mails to mail2@newserver.com

if I'm sending mail to mail1@oldserver.com from another server (gmail.com and others) forward works fine

for better understanding:
mail@gmail.com --send--> mail1@oldserver.com --forward--> mail2@newserver.com (works fine)

but when sending mails from new server to old server, forwarding back to new server fails: 
mail.log reports - Sender address rejected: not logged in;

for better understanding:
mail2@newserver.com --mail--> mail1@oldserver.com --forward--> mail2@newserver.com (fails)

Is there any other solution except
mynetworks = oldserver
in postfix configuration?

I have iRedmail 6.0.1 with OpenLDAP backend.

Thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: forward problem

strims wrote:

Is there any other solution except
mynetworks = oldserver
in postfix configuration?

Does it work for you?

How about check_client_access? http://www.postfix.org/access.5.html

3

Re: forward problem

ZhangHuangbin wrote:
strims wrote:

Is there any other solution except
mynetworks = oldserver
in postfix configuration?

Does it work for you?

How about check_client_access? http://www.postfix.org/access.5.html

1. found this solution (mynetworks) on previous post, but old e-mail addresses are on too many different mailservers (public free mailservers like gmail.com). I'm afraid that this is not a good idea to put servers like gmail.com in mynetworks.

2. will check out

thanks!