• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Making system emails check real MX record and not local mail box....

S

Shadi

Guest
Am not sure if the subject calirfies what am attempting to fix.

But when any mail is sent from the server it currently checks local email accounts to see where to send. The problem here is the fact that we have domains hosted on the server but emails hosted else where.

So i am not sure how or where to change a setting to inform the mail aspect of a plesk based server to check domain records first to see the correct location of the email server. the DNS settings for the domain do not seem to make a difference.

Help on this matter would be much appreciated.

Regards,
Shadi
 
wweeeell, some of the domains still store archived mail in their boxes unfortunaly, and am assuming disabling mail will cause the boxes to be deleted?
 
I don't think the mailboxes will be deleted, but don't take my word for it (just create a bogus domain and test it?). Can't that archived mail be moved to the server that's currently hosting email?
 
unfortunatly the new mail servers won't take old emails, it's not an option at all.

but i am sure i once heard or saw something that you set which states when email is sent where it checks first. local domains or mx records, or something to that effect...
 
unfortunatly the new mail servers won't take old emails, it's not an option at all.

How many mailboxes are you talking about? If just a few you should be able to add both accounts in a mail clients and just copy the messages from the old to the new mailbox. (Use IMAP.)

If you're talking about a large number of mailboxes you might be able to move the message files, if they both use the maildir format.

but i am sure i once heard or saw something that you set which states when email is sent where it checks first. local domains or mx records, or something to that effect...

I believe qmail first checks /var/qmail/control/rcpthosts to see if mail can be delivered locally, so you could try removing that domain from that file and restarting qmail. However, I'm pretty sure Plesk recreates rcpthosts whenever you change something in your setup, so I'd say it's not a very stable setup to rely on this.
 
The new mail system is Gmail Hosted Apps, which unfortunatly doesn't provide IMAP. There really is no way of moving the mail over to GMail that i have been able to find.

Yeah Plesk does recreat that file unfortunatly, so am not sure how to bypass it. :/
 
For our users moving over to Hosted Gmail, we let them have access to the email on our server for about a week after the transition, then we disable the email for the domain. This does not delete the accounts, just prevents them from being accessed and keeps Qmail from sending mail to them. I just instruct them to download all the email they need into their email client via POP before changing it over to Gmail.

No, there is no way to transfer email to Gmail from the server that I know of.

If you don't want email delivered to local mailboxes but to remain active, just remove the domain from the RCPTHOSTS file, Qmail will not readd domains to it after they are removed. You can also setup an SMTPROUTES file with the domain and the MX or IP of the server Qmail should redirect email to if it isn't local.
 
Use a remailer... Microsoft Exchange comes with one kind of. A remailer will check a series of POP3/IMAP boxes and forward each message it finds to a given address.

In Exchange you set up an account in the Exchange Server for each mail user you want to move. You make those accounts forward to the email address for the destination mailbox. Then you set up the POP3 Connector to check email on the source mailbox and have it deliver to the exchange account you created. The connector downloads any emails it finds, then delivers them to the exchange server. The exchange server looks at the account and sees that it has a forward on it and in turn forwards it out to the destination box (gmail). This is how I've moved countless customer and in-house accounts. I'm sure there is a utility out there that does the same. All it has to do is check a pop3 account and "remail" what it finds to an address.
 
Qmail thinks its local !!

I dont understand this, I have a domain hosted on my machine with MX records pointing to Gmail servers (Gmail apps).

I:

- disabled email service for the domain
- make sure domain is not in rcpthosts
- restart qmail

When from shell I try to send an email to that domain I get:

May 11 22:28:04 ns1 qmail: 1178918884.111396 new msg 229549
May 11 22:28:04 ns1 qmail: 1178918884.111571 info msg 229549: bytes 237 from <[email protected]> qp 19624 uid 0
May 11 22:28:04 ns1 qmail: 1178918884.141094 starting delivery 24: msg 229549 to local [email protected]
May 11 22:28:04 ns1 qmail: 1178918884.141275 status: local 1/10 remote 0/20
May 11 22:28:04 ns1 qmail: 1178918884.144802 delivery 24: failure: This_address_no_longer_accepts_mail./
May 11 22:28:04 ns1 qmail: 1178918884.144968 status: local 0/10 remote 0/20
May 11 22:28:04 ns1 qmail: 1178918884.182331 bounce msg 229549 qp 19627
May 11 22:28:04 ns1 qmail: 1178918884.182495 end msg 229549
May 11 22:28:04 ns1 qmail: 1178918884.183530 new msg 230086
May 11 22:28:04 ns1 qmail: 1178918884.183638 info msg 230086: bytes 783 from <> qp 19627 uid 2522
May 11 22:28:04 ns1 qmail: 1178918884.221596 starting delivery 25: msg 230086 to remote [email protected]
May 11 22:28:04 ns1 qmail: 1178918884.221801 status: local 0/10 remote 1/20
May 11 22:28:04 ns1 qmail: 1178918884.226950 delivery 25: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
May 11 22:28:04 ns1 qmail: 1178918884.227120 status: local 0/10 remote 0/20
May 11 22:28:04 ns1 qmail: 1178918884.260613 bounce msg 230086 qp 19629
May 11 22:28:04 ns1 qmail: 1178918884.260790 end msg 230086
May 11 22:28:04 ns1 qmail: 1178918884.261314 new msg 230071
May 11 22:28:04 ns1 qmail: 1178918884.261419 info msg 230071: bytes 1348 from <#@[]> qp 19629 uid 2522
May 11 22:28:04 ns1 qmail: 1178918884.300102 starting delivery 26: msg 230071 to remote [email protected]
May 11 22:28:04 ns1 qmail: 1178918884.300298 status: local 0/10 remote 1/20
May 11 22:28:04 ns1 qmail: 1178918884.303162 delivery 26: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
May 11 22:28:04 ns1 qmail: 1178918884.303338 status: local 0/10 remote 0/20
May 11 22:28:04 ns1 qmail: 1178918884.303401 triple bounce: discarding bounce/230071
May 11 22:28:04 ns1 qmail: 1178918884.303462 end msg 230071


Why when sending email from shell Qmail cant deliver it ?

The problem is I have the website hosted on this machine and I want to send a contact form using mail() (php) and its not working because of this issue.

Any ideas ?


Thanks
Joao Correia
 
Back
Top