[vchkpw] Re: Vpopmail/QMail relay local mail to another server mail ??

2007-06-25 Thread Hoang An

Dear all,

I correct something in the first email
Exactly:
file  virtualdomains - mydomain.com:mydomain.com

When I post the first email I had modify to mydomain.com so it's not
working, VPopMail not delivery email to local anymore. Now I modify again
file virtualdomains - mydomain.com:mydomain.com

I still have problem with Vpopmail/QMail relay local mail to another server
mail.

Thanks,

On 6/25/07, Hoang An [EMAIL PROTECTED] wrote:


Currently, I had a Qmail Server in Fedora 4 and MDeaemon in Windows 2003.
In MDaemon, I store all  email acount in my network.
Now I have some email acounts in QMail ( they're also same name with
account in MDaemon). I have a problem like this:
I use VPoppmail to create mydomain.com and add this name in file
/control/local
user1,user2 account in QMail. user3 account in MDaemon
When [EMAIL PROTECTED] send mail to [EMAIL PROTECTED] User2 receives
successful.
But when user1 send to user3, QMail return error -
Hi. This is the qmail-send program at mydomain.com http://mydomai.com/.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
Sorry, no mailbox here by that name. (#5.1.1) .
I know Qmail would process mail in local so if doesnot find email account
in vpopmail they would return error. I want Qmail continue send email (after
QMail can not find account in it's loccal) to MDaemon so user3 can
receives.
I also configure file smptroute for QMail relay to MDaemon successful.
Mail account in QMail can relay to MDaemon for internet mail.

There is some files in dir /var/qmail/control

file locals - smtp.mydomain.com  (dns record of QMail)

file rcpthosts - there no word, I use tcp.smtp control access

file smtproutes has 2 lines. The first line I hope QMail would continue to
send non-success local email (it means user3) to MDaemon but it can not.
mydomain.com:mail. mydomain.com   (mail. http://mail.henho.com/mydomain.comis 
dns record point to MDaemon)
:mail. http://mail.henho.com/ mydomain.com ( this line to
relay another domain (not mydomain.com http://henho.com/) to MDaemon)

file  virtualdomains - mydomain.com http://henho.com/

file tcp.smtp
127.:allow,RELAYCLIENT=
172.16.:allow,RELAYCLIENT=

When you read to these line, you know that I don't know how to config for
VPopMail relay (or QMail)

Thanks for reading and soon relpy


[vchkpw] Re: Vpopmail/QMail relay local mail to another server mail ??

2007-06-25 Thread Stephane Bouvard (ML)
Hi,

,- - [ Le lundi 25 juin 2007 vers 10:12 Hoang An écrivait: ] - -
|
 Currently, I had a Qmail Server in Fedora 4 and MDeaemon in Windows 2003.
 But when user1 send to user3, QMail return error -
 Hi. This is the qmail-send program at mydomain.com http://mydomai.com/.
 I'm afraid I wasn't able to deliver your message to the following addresses.
 This is a permanent error; I've given up. Sorry it didn't work out.
 Sorry, no mailbox here by that name. (#5.1.1) .

`- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Not really clear...  wich server handle the emails of @mydomain.com ?  Is it 
VPopmail or QMail ?

The better way to do is to use only one server to handle the domain, but you 
remain able to use the other server with another domain, like that :

MDaemon handle mydomain.com
QMail handle intranet.mydomain.com

When MDaemon receive a mail for [EMAIL PROTECTED] wich should be handled by 
qmail, MDaemon redirect the mail to [EMAIL PROTECTED] (i use this kind of 
settings with one main server reachable from internet handling emails account 
of commercials on the road, and another server on the intranet of the company, 
handling the mails for internal staff, this server is not reachable from 
internet and thus cannot handle mail accounts for external people).

-- 
Bien à vous...
 _
(_'  L'informatique est ma passion, vous la simplifier, mon métier !
,_)téphane Bouvard [antarex AT freenet DOT be] http://www.antarex.be