- 论坛徽章:
- 0
|
I installed qmail+mysql+vpopmail+sqwebmail.
my machine name is : mail.domain.com
mx record on dns server is : mail.domain.com
local user on mail machine is : tester
/var/qmail/defaultdomain: domain.com
/var/qmail/locals: mail.domain.com
/var/qmail/me: mail.domain.com
/var/qmail/rcpthosts: mail.domain.com
domain.com
the problems are:
1)user tester send a message to tester@yahoo.com (by using
mail tester@yahoo.com)is ok.
in tester@yahoo.com mail box. It shows a email from tester@mail.domain.com ( That is not I want ! I want it shows tester@domain.com)
2)
the tester@yahoo.com reply a message to tester@mail.domain.com. It got a error message:Remote host said: 553 sorry, that domain isn't in my list of allowed
rcpthosts (#5.7.1)
but on /var/qmail/control/rcpthosts file:it has mail.domain.com, domain.com. exit !
tester@yahoo.com reply a message to tester@domain.com. IT's OK .
but user tester on mail.domain.com unable to retrive the new message. by using command <mail>; to check message :no new mail tor tester.
but the /var/log/maillog/ it shows : mail server received that new message form tester@yahoo.com
:Mar 4 15:27:41 www qmail: 1046820461.887834 new msg 1064488
Mar 4 15:27:41 www qmail: 1046820461.888003 info msg 1064488: bytes 1069 from <tester@yahoo.com>; qp 1595 uid 12000
Mar 4 15:27:41 www qmail: 1046820461.977226 starting delivery 15: msg 1064488 to local domain.com-tester@domain.com
Mar 4 15:27:41 www qmail: 1046820461.977318 status: local 1/10 remote 0/20
Mar 4 15:27:41 www qmail: 1046820461.980267 delivery 15: deferral: Unable_to_switch_to_/home/vpopmail/domains/domain.com:_file_does_not_exist._(#4.3.0)/
2) I checked /home/vpopmail/domains : no domain.com directory exit.
So I use ./vadddomain domain.com to add a virsual domain name.
but I got a error message: the domain.com name exist already.
3)user tester send local messege to the other local user on mail.domain.com. IT's OK.
but the other user : can't check his new message. when using mail command . IT said : no new message.
under ~user/Maildir/new :It was a new message
/var/log/maillog/ showed the message direvery successfully. |
|