Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd July 2006, 21:33
paulley paulley is offline
Member
 
Join Date: Feb 2006
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
Default sending mail to two address with postfix

hi all

i am trying to relay mail from a domain to 2 address eg:

user@example.com >> local user (user) and otheruser@otherdomain.com

config so far:-

/etc/postfix/virtusertable

user@example.com user ( which works fine)

/etc/postfix/virtual

user@example.com otheruser@otherdomain.com (which works fine but disables the virtusertable content

i want it to go to both the local user and the other email address.

any help will be great

thanks
Reply With Quote
Sponsored Links
  #2  
Old 3rd July 2006, 23:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Create a .forward file in the user's homedir which looks like this:

Code:
"|/usr/bin/procmail -f-", otheruser@otherdomain.com
Then run
Code:
chmod 600 /path/to/.forward
chown username:group /path/to/.forward
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27
problems sending receiving mail on Postfix mavgh1 HOWTO-Related Questions 17 10th March 2006 12:43
Problem sending mail to 2nd SMTP server inside network kisong Server Operation 2 2nd March 2006 18:05
Postfix mail is held in queue indefinitely... squallbsr Server Operation 9 15th January 2006 19:13
postfix starts and stops why lhatle Installation/Configuration 2 21st December 2005 15:20


All times are GMT +2. The time now is 15:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.