Take a look at the --smtpname option in "man fetchmail" if your looking
for a one off solution for moving an account using the command line.
That's my lazy way of dealing with moving accounts (dont have many, so it
works rather well).
--smtpname <[EMAIL PROTECTED]>
(Keyword: smtpname) Specify the domain and user to
be put in RCPT TO lines shipped to SMTP. The
default user is the current local user.
-chuck
--------------------
[EMAIL PROTECTED]
http://www.lemure.net
all that tasty chuck fun, without the nasty aftertaste
> --__--__--
>
> Message: 1
> From: "Martin Honermeyer" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Date: Thu, 31 Jul 2003 19:17:48 +0100
> Subject: [Dbmail] fetchmail and dbmail ?
> Reply-To: [email protected]
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_002A_01C35798.6E0C2100
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Hello,
>
> I've set up a host with postfix, dbmail, mysql and fetchmail. I'd like =
> to fetch some pop3-accounts. dbmail should get those and put them into =
> the database.=20
>
> The problem is: when i simply use fetchmail to get my mails, everything =
> gets delivered to the user who started fetchmail (i.e. root).=20
>
> I set up my /etc/postfix/transports with those domains which my accounts =
> belong to.
>
> So how do I tell fetchmail or postfix to call dbmail-smtp instead of =
> locally delivering all fetchmail'ed mails to the users mbox??
>
>
> Greets,
> Martin