Thanks Eric, this was just what I needed! Best, Peter
On Thu, May 18, 2017 at 7:45 PM, Eric Broch <[email protected]> wrote: > This is basically what the forwards option does in qmailadmin (below), > create a .qmail file. > > This could easily be scripted. If you already have a .qmail file in place > (as I do) this will overwrite it. > > # echo "&[email protected]" > > /home/vpopmail/domains/origin.com/user/.qmail > # chmod 0600 /home/vpopmail/domains/origin.com/user/.qmail > # chown vpopmail:vchkpw /home/vpopmail/domains/origin.com/user/.qmail > > > > On 5/18/2017 10:10 AM, Peter Peltonen wrote: >> >> A common task I encounter when managing toaster accounts is setting up >> / modifying or removing forwards for existing email accounts. >> >> Can this be done from command line? I find it very cumbersome to have >> to do it via qmailadmin. >> >> And I mean here real email accounts with inboxes, not aliases that I >> can manage with valias. >> >> Regards, >> Peter >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > -- > Eric Broch > White Horse Technical Consulting (WHTC) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
