On 01 10 2004 at 3:51 pm -0400, Joakim Nordberg wrote: >I have been struggling the last day with this. I would like to recieve >all emails sent to [EMAIL PROTECTED] and all should be sent to >[EMAIL PROTECTED] How should I do? > >1. echo "[EMAIL PROTECTED]" >> /etc/courier/hosteddomains/webadmin
Uh, no. First of all, webadmin will clobber your file next time you run it. Secondly, that's the wrong syntax for hosteddomans -- you want just the domain name, no prepended "alias@". >2. create an account called [EMAIL PROTECTED] Sure, that works. >3. echo "|| dotforward" > /home/[EMAIL PROTECTED]/.courier-default >4. echo "[EMAIL PROTECTED]" > >/home/[EMAIL PROTECTED]/.forward That is extremely convoluted; it would be far simpler to just put [EMAIL PROTECTED] into /home/[EMAIL PROTECTED]/.courier. HOWEVER... you could avoid steps 2, 3 and 4 altogether by simply putting "@virtualdomain.tld: [EMAIL PROTECTED]" into /etc/courier/ aliases. -ben -- Ben Kennedy, chief magician zygoat creative technical services 613-228-3392 | 1-866-466-4628 http://www.zygoat.ca ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
