Thomas Seifert writes:
Sam Varshavchik schrieb:
Thomas Seifert writes:
Hey folks,
for moving mail-services to another server I usually used the
transport-maps to forward single accounts or domains to another
server while dns has to keep up with the changes.
With using maildrop as virtual-delivery agent this doesn't seem to work.
Therefore I'm wondering if there is any way to forward mails to the same
email-addresse but on another server?
With transport maps it was something like:
na...@domain.com :[new.servername.com]
Maildrop does not deliver mail for the entire mail server, it handles
mail delivery for an individual account only. Therefore, to forward
all mail from one account to some other account, just use the "to"
command in the first account's .maildropfilter.
Hi Sam,
thanks for your reply.
The problem is, that I want to send to this account on another server:
e.g. I'm sending to us...@maildomain.com and I want to "forward" the mail
to us...@maildomain.com at host mailhost2.com.
Is there any solution for that?
All maildrop can do is:
1) Invoke the sendmail command, and:
2) Specify the message's recipient.
So, you will need to configure in whichever way you need to configure your
mail server so that it delivers a message to the right place. Maildrop does
not care where the message goes after it hands it off to the mail server.
Having said that -- it doesn't really look like any of this is maildrop's
business. Mail forwarding is the mail server's job, not the mail delivery's
agent. Check your mail server's documentation for any information on how to
set up this kind of forwarding.