Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users
Please help me with my ACL to deal with empty From: headers
 

Index | Next | Previous | View Flat


web at iszczecin

Mar 27, 2012, 5:40 PM


Views: 1429
Permalink
Please help me with my ACL to deal with empty From: headers

Hi

I would like to deny messages with empty From headers.

I found such ACL:

deny message = Header From exist, but not have a valid address
condition = ${if def:h_from: {yes}{no}}
condition = ${if or { \
{ eq{${address:$h_from:}}{} } \
{ eq{${domain:$h_from:}}{} } \
{ eq{${local_part:$h_from:}}{} } \
} {yes}{no}}


but this does not work, if someone sends email with more than 1 email
address in From:, for example:

From: abcinfo [at] web , abcint [at] web

Also it does not work if From: looks like:

From: <email [at] addres>

(of course @address is valid domain name eg. gmail.com)

Can you tell me how can I reject email ONLY if there would be 100% empty
From: header like:

To: my-email [at] domai
From:
Subject: Some beauty subject
Reply-path: sender [at] emai
Envelope-To: my-email [at] domai

?

Any idea would be appreciated.

Mike


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Subject User Time
Please help me with my ACL to deal with empty From: headers web at iszczecin Mar 27, 2012, 5:40 PM
    Re: Please help me with my ACL to deal with empty From: headers web at iszczecin Mar 28, 2012, 2:49 AM
    Re: Please help me with my ACL to deal with empty From: headers exim at u61 Mar 28, 2012, 3:25 AM
        Re: Please help me with my ACL to deal with empty From: headers web at iszczecin Mar 28, 2012, 11:04 AM
    Re: Please help me with my ACL to deal with empty From: headers Lena at lena Mar 28, 2012, 4:11 AM
    Re: Please help me with my ACL to deal with empty From: headers exim-users at spodhuis Mar 28, 2012, 5:53 PM
        Re: Please help me with my ACL to deal with empty From: headers web at iszczecin Mar 30, 2012, 1:24 AM
            Re: Please help me with my ACL to deal with empty From: headers exim-users at spodhuis Mar 30, 2012, 1:58 PM
                Re: Please help me with my ACL to deal with empty From: headers web at iszczecin Mar 30, 2012, 4:43 PM
                    Re: Please help me with my ACL to deal with empty From: headers exim-users at spodhuis Mar 30, 2012, 6:31 PM
                        Re: Please help me with my ACL to deal with empty From: headers web at iszczecin Mar 31, 2012, 7:11 AM
                            Re: Please help me with my ACL to deal with empty From: headers exim-users at spodhuis Mar 31, 2012, 3:27 PM
                                Re: Please help me with my ACL to deal with empty From: headers web at iszczecin Apr 2, 2012, 6:10 AM
                                    Re: Please help me with my ACL to deal with empty From: headers tlyons at ivenue Apr 2, 2012, 6:51 AM
                                Re: Please help me with my ACL to deal with empty From: headers exim-users at spodhuis Apr 2, 2012, 7:32 AM
                                    Re: Please help me with my ACL to deal with empty From: headers web at iszczecin Apr 2, 2012, 8:05 AM
                                    Re: SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol web at iszczecin Apr 5, 2012, 5:41 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.