Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-21-2009, 05:45 AM   #1
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 :

* ^From:.*SENDER@domain.tld

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 ?

Old 04-21-2009, 10:09 AM   #2
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.


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:10 PM.

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