I have this setup.
PLESK 11.5.30 on Ubuntu 12.04
Two domains, and web for both domains is served by my server with plesk.
Hoover for one domain Mail is served by another server.
Problem is when i try to send email from server that has mail served by plesk to another that is not served by plesk it does not work it assumes my email is on the same server with plesk and email does not get delivered. The same hapens if i send email from my webapp to the server that has mail on external server.
The same thing as in http://forum.parallels.com/pda/index.php/t-93222.html
I cannot edit /var/qmail/control/virtualdomains because it is empty. and i cannot disable mailbox for that domain.
/usr/local/psa/bin/domain -i domain.tld -mail_service false
does not disable mailbox
here is maillog
So im out of ideas what to do.
Do i delete domain in /var/qmail/mailnames or what else ?
PS.
If i send email from gmail or from any other host to that email address it works like excepted and i recieve email and can replay.
PLESK 11.5.30 on Ubuntu 12.04
Two domains, and web for both domains is served by my server with plesk.
Hoover for one domain Mail is served by another server.
Problem is when i try to send email from server that has mail served by plesk to another that is not served by plesk it does not work it assumes my email is on the same server with plesk and email does not get delivered. The same hapens if i send email from my webapp to the server that has mail on external server.
The same thing as in http://forum.parallels.com/pda/index.php/t-93222.html
I cannot edit /var/qmail/control/virtualdomains because it is empty. and i cannot disable mailbox for that domain.
/usr/local/psa/bin/domain -i domain.tld -mail_service false
does not disable mailbox
here is maillog
Code:
courier-imapd: Connection, ip=[::ffff:127.0.0.1]
courier-imapd: LOGIN, user=user1@senderdomain.tld, ip=[::ffff:127.0.0.1], port=[37142], protocol=IMAP
postfix/qmgr[1451]: C5591231A47: from=<user1@senderdomain.tld>, size=663, nrcpt=1 (queue active)
postfix-local[3127]: postfix-local: from=user1@senderdomain.tld, to=user2@recieverdomain.tld, dirname=/var/qmail/mailnames
postfix-local[3127]: cannot chdir to mailname dir user2: No such file or directory
postfix-local[3127]: Unknown user: user2@recieverdomain.tld
postfix/pipe[3126]: C5591231A47: to=<user2@recieverdomain.tld>, relay=plesk_virtual, delay=0.21, delays=0.13/0/0/0.09, dsn=2.0.0, plesk_virtual service)
postfix/qmgr[1451]: C5591231A47: removed
courier-imapd: LOGOUT, user=user1@senderdomain.tld, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=573, sent=127, time=0, starttls=1
So im out of ideas what to do.
Do i delete domain in /var/qmail/mailnames or what else ?
PS.
If i send email from gmail or from any other host to that email address it works like excepted and i recieve email and can replay.