View previous topic :: View next topic |
Author |
Message |
pmgas Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Apr 2003 Posts: 97 Location: Austria
|
Posted: Thu Jul 29, 2004 12:23 pm Post subject: qmail alias mail forward |
|
|
Hi
Ok, i use qmail and I am an absolute noob....
I have a mailserver with qmail. I want to send a mail
to for example office@mydomain. Ok, in the DNS server
the MX records points to my mailserver, so every mail
sent to office@mydomain gets forwarded to my mailserver (right?).
I want to forward this mail to another email-address, for
example office@mydomain2 ...
How can I do this?
I have tried using the qmail-alias stuff, but I don't unterstand
how it works ..
Can anybody please help me?
thanxs
best regards
peda |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
br0mGreV Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 28 Jul 2004 Posts: 265 Location: Paris, France
|
Posted: Thu Jul 29, 2004 1:27 pm Post subject: |
|
|
Hi,
I think you can use fastForward
http://cr.yp.to/fastforward.html
Now let's see if Qmail can do it by itself, without any plugin.
I suppose that your qmail already deliver mails to the local users.
* Add to the file /var/qmail/users/assign the line :
Code: | office:alias:alias-uid:alias-gid:/var/qmail/alias:-:office: |
where alias-uid and alias-gid must be substitued by their correct values (check /etc/passwd)
* Then edit the /var/qmail/alias/.qmail-office file
and add the line
to make the redirection
* last, convert the assign file to the CDB file by typing
hope it helps, and that i've not made any mistake
[/url] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|