Mike,
I have a few questions regarding your post. Depending on your user
level, you may know some or most of this, so I apologize now if I am
covering anything you already know, or not giving enough information to you.
If you need more, just ask. :)
What virtual domain e-mail distribution are you using? (vpopmail or
vmailmrg) what is the version?
When you get e-mail back to edv-support.ch is seems to be acting like a
catch-all. Are these messages coming to you as a bounce or double bounce
back messages from MAILER-DAEMON?
Could you run a (dependant on your qmail home dir)
/var/qmail/bin/qmail-showctl and give us the output?
(this below is just a shot in the dark, not knowing enough about your
configuration)
If you are running virtual domains with either vpopmail or vmailmgr,
(correct me if I am wrong plz) you would need a virtualdomains file. If you
are the full MTA for both your domains (onesworld.ch and edv-support.ch)
only one of them can be set as a 'locals'. The one that is selected to be
the local domain will also be found in your 'me' file... I believe that is
the reason you are getting all mail directed to recipients @onesword.ch.
The locals file is simply an extension of your me file. Mine look like
this:
control]$ less me
g0thic.com
~
~
EOF
control]$ less locals
localhost
g0thic.com
.g0thic.com
mail.g0thic.com
~
~
EOF
Above is the most plausible reason you are getting all mail directed at
@onesworld.ch users to your account.
My guess is you need to do this:
Install a virtual domain enabler... My favorite is vMailMRG and can be
found at http://www.vmailmgr.org/ The documentation is fairly good and can
be followed quite easily.
You might want to consider not being an open relay agent as well. This is a
large annoyance when people start to use you as a spam relay, and I am relay
sure you do not want to get your domain black listed.
You might want to read this if you are not familiar with it already:
http://www.palomine.net/qmail/relaying.html
This is what I recommend to control mail relaying:
http://em.ca/~bruceg/relay-ctrl/
Set up a 'virtualdomains' (following package instructions) file containing
the correct information moved over from 'locals'. Be sure not to duplicate
the information, but be sure that everything in 'locals' and
'virtualdomains' is listed in order of importance.
Some good resources you can check are obviously, past mailing list posts (I
am sure there is a like to an archive on http://www.qmail.org)
Other resources are:
http://www.lifewithqmail.org/
http://www.kitabjian.com/dave/qmailhelp/
http://www.vmailmrg.org
And at the time of this reply, I am too tired to look for a link to
vpopmail.
Cheers,
Sean
Mike A. Sauvain wrote:
> if i send from my host to my self domains it works, but if i try to send
> from
> another domain than my, to my virtual domains i recive follow message:
>
> [EMAIL PROTECTED] ; Action: Failed; Status: 5.1.1 (bad destination
> mailbox address)
> Remote MTA clean-dress.ch: SMTP diagnostic: 550 Unable to relay for
> [EMAIL PROTECTED]
>
> what's ugly, on my main domain (edv-support.ch) i recive all from
> anybody
>
> my control files:
> -rw-r--r-- 1 root root 4 Feb 26 02:24
> concurrencyincoming
> -rw-r--r-- 1 root root 11 Feb 26 02:24 defaultdelivery
> -rw-r--r-- 1 root root 102 Mar 5 04:03 locals
> -rw-r--r-- 1 root root 20 Mar 5 04:04 me
> -rw-r--r-- 1 root root 102 Mar 5 04:03 rcpthosts
> -rw-r--r-- 1 root root 193 Feb 26 02:24 sqlserver
>
> in locals /same on rcpthost:
> mail.edv-support.ch
> edv-support.ch
> mail.onesworld.ch
> onesworld.ch
>
> in me:
> mail.edv-support.ch
>
> ----------> This domain works !:
> mail:~ # dig mail.edv-support.ch
>
> ; <<>> DiG 8.2 <<>> mail.edv-support.ch
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;; mail.edv-support.ch, type = A, class = IN
>
> ;; ANSWER SECTION:
> mail.edv-support.ch. 1D IN A 62.2.200.59
>
> ;; AUTHORITY SECTION:
> edv-support.ch. 1D IN NS 62.2.200.59.edv-support.ch.
>
> ;; Total query time: 2 msec
> ;; FROM: mail to SERVER: default -- 192.168.1.61
> ;; WHEN: Mon Mar 5 15:31:19 2001
> ;; MSG SIZE sent: 37 rcvd: 79
>
>
> admin:~ # dig mx edv-support.ch
>
> ; <<>> DiG 8.3 <<>> mx edv-support.ch
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;; edv-support.ch, type = MX, class = IN
>
> ;; AUTHORITY SECTION:
> edv-support.ch. 1D IN SOA ns1.edv-support.ch.
> msauvain.edv-support.ch. (
> 10844 ; serial
> 3H ; refresh
> 15M ; retry
> 1W ; expiry
> 1D ) ; minimum
>
>
> ;; Total query time: 2 msec
> ;; FROM: admin to SERVER: default -- 192.168.1.61
> ;; WHEN: Mon Mar 5 15:36:08 2001
> ;; MSG SIZE sent: 32 rcvd: 81
>
> --------------------> This domain dosent works:
> # dig mx onesworld.ch
>
> ; <<>> DiG 8.3 <<>> mx onesworld.ch
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;; onesworld.ch, type = MX, class = IN
>
> ;; AUTHORITY SECTION:
> onesworld.ch. 1D IN SOA ns1.EDV.Support.ch.
> one.onesworld.ch. (
> 2001021435 ; serial
> 3H ; refresh
> 15M ; retry
> 1W ; expiry
> 1D ) ; minimum
>
>
> ;; Total query time: 2 msec
> ;; FROM: admin to SERVER: default -- 192.168.1.61
> ;; WHEN: Mon Mar 5 15:38:30 2001
> ;; MSG SIZE sent: 30 rcvd: 86
>
> # dig mail.onesworld.ch
>
> ; <<>> DiG 8.3 <<>> mail.onesworld.ch
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;; mail.onesworld.ch, type = A, class = IN
>
> ;; ANSWER SECTION:
> mail.onesworld.ch. 1D IN A 62.2.200.59
>
> ;; AUTHORITY SECTION:
> onesworld.ch. 1D IN NS 62.2.93.153.onesworld.ch.
>
> ;; Total query time: 3 msec
> ;; FROM: admin to SERVER: default -- 192.168.1.61
> ;; WHEN: Mon Mar 5 15:39:22 2001
> ;; MSG SIZE sent: 35 rcvd: 77
> -----------
>
> thanks again, for all solutions.. mike
>
>
>