Because vpopmail is compiled with mysql, aliases are put in the mysql
vpopmail db when done programmatically, otherwise add aliases manually
in .qmail files.
You can use valias at cli with -i switch (below):
# /home/vpopmail/bin/valias
must supply alias email address
valias: usage: [options] email_address
options: -v ( display the vpopmail version number )
-n ( show alias names, use just domain )
-s ( show aliases, can use just domain )
-d ( delete alias )
-i alias_line (insert alias line)
Example: valias -i [email protected] [email protected]
(adds alias from [email protected] to [email protected]
Eric
On 5/21/2021 9:36 AM, Jaime Lerner wrote:
You can also use qmail aliases with qmail-toaster.
You just put them in the directory for the specific domain and not in
/var/qmail/alias
For example, if your domain was example.com, you would put it in
/home/vpopmail/domains/example.com
I have specialized aliases in there that do things like pipe to a
script, which I can't do in qmailadmin of course. :)
*From: *Tony White <[email protected]>
*Reply-To: *<[email protected]>
*Date: *Friday, May 21, 2021 at 2:25 AM
*To: *<[email protected]>
*Subject: *Re: [qmailtoaster] forwarding incoming email for single
client to two different email accounts.
Hi,
First time ever had to do this...
Not installed qmailadmin.
Will look into it.
Thank you.
regards
Tony White
Across Technology
4a Birmingham Rd,
Mount Evelyn,
Victoria 3796
Mob 0481 362 743
acrosstechnology.com.au
On 21/5/21 4:13 pm, Andreas Galatis wrote:
Hi Toni,
the alias means you dont have the original account but only send mails
to the recipients
ie
&[email protected]
&[email protected]
With qmail-toaster the forwardings are managed in the valias- table of
vpopmail.
Dont you use qmailadmin?
Andreas
Am 21.05.21 um 06:50 schrieb Tony White:
Hi folks,
Do I simply add two email addresses to this file?
/var/qmail/alias/.qmail-username
ie
&[email protected]
&[email protected]
Does this then remove the email from the original
account?
--
regards
Tony White
Across Technology
4a Birmingham Rd,
Mount Evelyn,
Victoria 3796
Mob 0481 362 743
acrosstechnology.com.au