Quick procmail question

hi guys,

I am trying to process all emails sent so ca_*@mydomain.com (such as ca_test@frenchguys.com but not test@mydomain.com)

Right now I use: * ^TO\/ca_.*@mydomain.com

but it doesn't seem to work and processes all emails

Any idea ?

Erik

2 Replies

Shouldn't it be````

  • ^To.ca_.@mydomain.com
    ````

No, because that'll catch any email with "ca_" in the mailbox part, whether or not it's at the beginning.

I'd assume something like this would be more appropriate:

^To:.*[< ]ca_[^@]+@mydomain\.com

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct