Hi !

>>my virtualdomains file :
>>
>>schock-bad.de:schockbad
>>burgbad-service.de:schockbad
>>
>>Well, when i send mail to [EMAIL PROTECTED] , qmail rewrites the
> header to :
>>
>>Delivered-To: [EMAIL PROTECTED]
>>
>>it should be :
>>
>>Delivered-To: [EMAIL PROTECTED]
>>
>>
>>All mail for schock-bad.de and burgbad-service.de should be collected
> within only
>>one maildir, because schock-bad.de uses a windows-nt mailserver that can only
>>retrieve mail from ONE pop3 !
>>
>>How can i "tell" qmail not to rewrite the header ?

> Hello,

> A: Three steps:
>    1. Create /var/qmail/control/virutaldomains:
>        schock-bad.de:schockbad
>       burgbad-service.de:schockbad
>    2. Create a local UNIX Account "schockbad".
>    (a) Log in as "schockbad" and
>        create "Mailbox" or "Maildir" (depending on you QMAIL setup)
>            eg: maildirmake $HOME/Maildir ; echo ./Maildir/ > ~/.qmail
>           eg: touch Mailbox ; echo ./Mailbox > ~/.qmail
>    (b) Edit file .qmail-default
>       # /home/shockbad/.qmail-default
>       |forward [EMAIL PROTECTED] (matches your sample) -- or --
>       |forward "$EXT"@schock-bad.de (matches your wishes)
>    3. Stop QMAIL and restart (changes become activ).

> If you have a file /var/qmail/alias/.qmail-shock... delete it !
> I'm not sure, whether you use POP3 to grep the mail from your QMAIL MTA or
> not.
> By the mechanisms shown above QMAIL does a SMTP delever to the NT-Server.
> Check the MX-Records for the NT-Server and your file
> /var/qmail/control/smtproutes.

You missunderstood me !

I have a qmail server which runs schock-bad.de for around 5 months now.
Now, there is one more domain burgbad-service.de whose mail should also
be deleivered to the schock-bad maildir, keeping the original reciever !

-> delivered-to: [EMAIL PROTECTED]

at the moment, qmail does the following :

delivered-to : [EMAIL PROTECTED]
               ^^^^^^^^^

this should be burgbad-service, not schockbad !

I think it's because i deliver mail for both domains into one maildir,
which is owned by schock-bad !
burgbad-service has no own maildir or user, because it must be delivered
to schock-bad without changing headers !

Thanks,
  Thomas

Reply via email to