Web Hosting Talk







View Full Version : qmail forwarding


clocker1996
08-15-2002, 03:42 AM
Hi,

I have qmail setup for mydomain.com, with vpopmail too.

so when i add users i do cd /home/vpopmail/bin;./vadduser username@mydomain.com

i have cds@mydomain.com as an email - people email it regularily.

i also my friend an email bob@mydomain.com for him to use..

Does anyone know how i can make it so whenever someone emails cds@mydomain.com it will send the message to

cds@mydomain.com
jim@mydomain.com
bob@mydomain.com

so basically, if someone emails cds@mydomain - it will send the email to cds@ and 2 other people...

ive had some bad experiences trying to get it to work
i tried some things like creating a file called '.qmail' in /home/vpopmail/domains/mydomain.com and putting

&username
&username2
&cds

things like that. didn't turn out too well. i had 500 mailer-daemon messages, and mail kept sending to all the emails like crazy
it was insane

Faggle
08-15-2002, 04:05 AM
you can do it 1 way 2 formats..

in: /home/vpopmail/domains/mydomain.com

make .qmail-cds
with this inside:

&jim@mydomain.com
&bob@mydomain.com

(dont do &cds@mydomain.com or it will just loop)

or inside .qmail-cds u can do this:
/home/vpopmail/domains/mydomain.com/jim/Maildir/
/home/vpopmail/domains/mydomain.com/bob/Maildir/

the first one is easier though

Faggle
08-15-2002, 04:12 AM
if your not much of a command line commando you can get qmailadmin http://inter7.com/qmailadmin/ which is a nice gui for qmail/vpopmail domains

clocker1996
08-15-2002, 10:01 AM
Great. that worked. thanks
heres one that might not be possible

Is there any way to make it so when the username jim@mydomain.com sends OUTGOING messages, it sends a copy of it to bob@mydomain.com

or does jim manually have to add bob@mydomain.com on the CC or BCC or type in his email manually

=/

cperciva
08-15-2002, 10:14 AM
Possible, yes, but you have to hack qmail to do it.

clocker1996
08-15-2002, 10:37 AM
=(

ok thanks

MotleyFool
08-16-2002, 03:29 AM
set up a closed mailing list in ezmlm - all can send to all