LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-18-2002, 10:02 AM   #1
norman
LQ Newbie
 
Registered: Nov 2002
Posts: 1

Rep: Reputation: 0
Exclamation ? fowarding mail using procmail ?


Looking for a solution to forward mails using procmail, e. g. the mail will be received as single user using fetchmail ... e. g. a mail to example@mails.com should after the fetchmail process be forwarded to example@mails.com

This can be done using procmail as far as I know ... so the procmail process should just do: Get recipient adresses from To, CC, BCC and send mail to those (and not to the user who uses fetchmail to catch all the mails).

I think this somehow works if you have in your .fetchmailrc something like
mda "procmail -d"


Can somebody help me to set up the procmailrc ?
 
Old 11-18-2002, 11:11 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Not that I can't ship a readymade recipe your way in 5 secs, but wouldn't it be more satisfying for yourself if you read the procmailrc manual, try to build a recipe, try it out (add "verbose=on" and logfile=</path/to/filename>), and post here when you try to fix errors?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Procmail: forwarding mail to remote mail account Cadmium Linux - Software 2 01-14-2010 01:05 PM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM
procmail mail sorting FLOODS Linux - Networking 1 11-26-2004 09:12 PM
Fetchmail Procmail - Lost Mail TRBentley Linux - Software 1 09-07-2004 01:47 PM
Procmail Store Mail Attachment mark@mark-goebl Linux - Software 1 01-09-2003 10:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration