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