This happens when you decide to ditch your original domain in favor
of its alias.
Here's how to do what I think you want to do:
Remove domainb.com from the rcpthosts and morercpthosts files, and
you can still keep domaina.com as an alias to domainb.
If you really want to clean up, take domainb.com out of
virtualdomains and the line in /var/qmail/users/assign that starts
with domainb.com. If you want, change the line that reads
domaina.com:domainb.com to domaina.com:domainb.com.
You'll want to keep the domain's directory at ~vpopmail/domains/
domainb.com. Changing that is a big pain.
If they have mailing lists, you'll want to grep through the list
configuration files for domainb.com and update them to domaina.com.
-Tom
On Feb 11, 2008, at 11:23 PM, Harman Nagra wrote:
Sorry if I am missing something obvious here.. but,
- Why setup domainb.com on the server, if you are going to bounce
everything for domainb.com, i.e. as highlighted before remove the
alias.
- However if you only want to bounce for some users @domainb.com,
then yes use /var/qmail/control/badmailto
HTH
Harman
On Feb 12, 2008 4:10 AM, Tonix (Antonio Nati)
<[EMAIL PROTECTED]> wrote:
Rick Macdougall ha scritto:
> Tonix (Antonio Nati) wrote:
>> Joey Novak ha scritto:
>>> Hey Guys,
>>>
>>> We have a domain that has an alias, and a customer has requested
>>> that we bounce all mail sent to his accounts alias on the other
domain.
>>>
>>> i.e. domaina.com <http://domaina.com> is an alias for domainb.com
>>> <http://domainb.com>. The customer wants [EMAIL PROTECTED]
>>> <mailto:[EMAIL PROTECTED]> to come through, but all messages
sent to
>>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> to go to trash or be
>>> bounced. Is this possible?
>> If you use chkuser, you can make: vmoduser -b [EMAIL PROTECTED], and it's
>> mail will be bounced at SMTP level.
>>
>> Tonino
>
> I'm pretty sure since there is only one record for user, doing a
> vmoduser -b [EMAIL PROTECTED] would also cause [EMAIL PROTECTED] to
bounce.
>
Sorry, I did not read carefully the first part, related to domain
aliasing. I have the feeling domain aliasing should be deleted in this
case...
Tonino
> Regards,
>
> Rick
>
>
--
------------------------------------------------------------
[EMAIL PROTECTED] Interazioni di Antonio Nati
http://www.interazioni.it [EMAIL PROTECTED]
------------------------------------------------------------