LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-21-2009, 05:45 AM   #1
robbtek
LQ Newbie
 
Registered: Mar 2009
Posts: 26

Rep: Reputation: 0
procmail correct syntax


Hello ,

I must move email from specific sender to specific dir with procmail .

I use this syntax :

:0:
* ^From:.*SENDER@domain.tld
/home/myuser/mail/SENDER_PATH

but this work also for email received from address other_SENDER@domain.tld and not only from SENDER@domain.tld .

what is the correct syntax ?


Thanks
 
Old 04-21-2009, 10:09 AM   #2
*******
Member
 
Registered: Feb 2009
Posts: 63

Rep: Reputation: 16
I don't know if procmail handles more elaborate regex stuff so "^From:..SENDER@domain.tld" might be less greedy.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Correct syntax for cu jowa45 Slackware 10 11-01-2007 09:26 AM
What is the correct syntax for chcon TexanJoe Linux - Security 1 10-19-2007 04:57 AM
Correct Syntax for ethtool kaplan71 Linux - Networking 1 08-21-2007 12:30 AM
What is the correct syntax for Lame darkscot Linux - Software 2 08-14-2006 01:29 AM
what is the correct syntax shanenin Linux - Software 2 10-19-2003 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:38 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