If MACHINE is the name of the Directadmin server (e.g., sunshine.rahul.net) and DOMAIN is any of your domains, and USER is your Directadmin username, then mail arriving for any of these addresses will reach the same one default mailbox:
USER@DOMAIN for each of your domains USER@MACHINE
You may add forwarders for any or all of the USER@DOMAIN addresses. These forwarders will cause mail to be forwarded to some other address. No mail will then be saved in the USER@DOMAIN mailbox.
However, mail arriving for USER@MACHINE can't be forwarded using a forwarder. You can forward all mail arriving for USER@MACHINE and USER@DOMAIN addresses by connecting to the Directadmin server using ssh, logging in, and creating a ".forward" file in your home directory.
The .forward file must be writable only by your username and not writable group or world, otherwise it will not work. To set correct protections on the .forward file, you can use the following command from the Linux shell:
$ chmod 600 .forward
If you have enabled SpamAssassin, you may find that it is NOT active for mail arriving for your default mailbox. To cause SpamAssassin to filter mail arriving for your default mailbox, create some other mail account, and use a .forward file as described above to forward mail, which would have normally gone into the default mailbox, to go to that other mail account. Make sure that SpamAssassin has been enabled for that other mail account. When mail is delivered into that other mail account, SpamAssassin will be active at that time.
We recommend that the USER name for your DirectAdmin account be something you have not used as a username in any email address email in the past and will not use in any email address email in the future. This will minimize spam arriving for this name.
For example, if you have used, or plan to use, firstname.lastname@example.org as an email address, then your username should not be “joe”. It could be something slightly different, e.g., “joexyz” or “joe32”. If you don’t request otherwise, we will add two or three random digits to the username we give you.
This document is: http://faq.rahul.net/cgi-bin/fom.cgi?file=25
[Search] [Appearance] This is a Faq-O-Matic 2.721.