montana | 1 Jun 01:06 2006

Re: request help with nis user lookups


On Wed, 31 May 2006, Tony Finch wrote:

> On Wed, 31 May 2006, montana <at> geo.utep.edu wrote:
>>
>> i have the nsswitch setup to check nis.
>> check_local_users does not recognize my nis users
>
> Have you tried tracking down the problem?

tony:

nis works fine in this box except w/ exim

>
>> if i use extract, what variables do i need to set? does it know how to
>> divide into substrings?
>
> ${extract {5}{:} {${lookup {user} nis {passwd.byname} }} }
>
> http://www.exim.org/exim-html-4.62/doc/html/spec_html/ch11.html#id2551855
>

i tried this:

data = ${extract {5}{:} {${lookup {$local_part} nis { passwd.byname } }}}

the router was declined. is there a way to inspect the values extracted?

i'm wondering if my build has some problem. i just downloaded the current 
(Continue reading)

Nathan Rzepecki | 1 Jun 07:39 2006
Picon

Filters for outgoing mail

Hi Newbie here.

I am trying to find out if Exim if capable of a specific task.

I want to setup a rule or filter that will allow me to copy / forward Outgoing mail for specific email accounts
on our site.  I don't want to copy all account email only two specific accounts.

The sender nor receiver of the original email are to know that a copy of the message has been sent on.

Is this possible in Exim and how would I go about setting this up.

Thanks

Thanks

----------------------------------------------------------
Nathan Rzepecki
for
Biante Model Cars - www.biante.com.au
Biante Auctions - www.bianteauctions.com
Fax: (08) 9479 5165
Confidentiality
Please note: This e-mail is confidential and may also be privileged. Please
notify us immediately if you are not the intended recipient.
Whether you are the intended recipient or not, you may not copy it, forward
it or use it for any other purpose or disclose the contents to any person
--

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/
(Continue reading)

Kushner Anatoliy | 1 Jun 07:59 2006
Picon

Re: Filters for outgoing mail

On Thu, Jun 01, 2006 at 01:39:04PM +0800, Nathan Rzepecki wrote:
> Hi Newbie here.
> 
> I am trying to find out if Exim if capable of a specific task.
> 
> I want to setup a rule or filter that will allow me to copy / forward Outgoing mail for specific email
accounts on our site.  I don't want to copy all account email only two specific accounts.
> 
> The sender nor receiver of the original email are to know that a copy of the message has been sent on.
> 
> Is this possible in Exim and how would I go about setting this up.
> 
> 
> Thanks
> 
> 
> Thanks

copy_to_admin:
  driver = redirect
  condition = ${if eq{$sender_address}{email <at> from}{yes}{no}}
  data = admin <at> email.org
  unseen

if you want that the original recipient does not reciev this message ,
just delete "unseen"

> ----------------------------------------------------------
> Nathan Rzepecki
> for
(Continue reading)

Kushner Anatoliy | 1 Jun 08:17 2006
Picon

Re: Filters for outgoing mail


On Thu, Jun 01, 2006 at 02:08:41PM +0800, Nathan Rzepecki wrote:
> Kushner
> 
> Thank you and that will go into the .forward file correct?

no it is not for .forward file, it a part of exim conf file. ROUTER
section

> 
> 
> Thanks
> 
> ----------------------------------------------------------
> Nathan Rzepecki
> for
> Biante Model Cars - www.biante.com.au
> Biante Auctions - www.bianteauctions.com
> Fax: (08) 9479 5165
> Confidentiality
> Please note: This e-mail is confidential and may also be privileged. Please
> notify us immediately if you are not the intended recipient.
> Whether you are the intended recipient or not, you may not copy it, forward
> it or use it for any other purpose or disclose the contents to any person
> 
> ----- Original Message ----- 
> From: "Kushner Anatoliy" <orlik <at> craft.seanet.ru>
> To: <exim-users <at> exim.org>
> Sent: Thursday, June 01, 2006 1:59 PM
> Subject: Re: [exim] Filters for outgoing mail
(Continue reading)

JP Kelly | 1 Jun 08:25 2006
Picon

demime not working

I have ClamAV set up with exim but I cant get it to work.
It seems exim's demime is not demiming.
I have the following in the ACL section and exim still passes the  
attachments with unwanted extensions.
any ideas?

acl_check_data:

##     accept  hosts          = 127.0.0.1:+relay_from_hosts
##     accept  authenticated  = *

   # First unpack MIME containers and reject serious errors.
deny  message = This message contains a MIME error ($demime_reason)
	demime = *
	condition = ${if >{$demime_errorlevel}{2}{1}{0}}

   # Reject typically wormish file extensions. There is almost no
   # sense in sending such files by email.
deny    message = This message contains an unwanted file extension  
($found_extension)
	demime = scr:com:vbs:bat:lnk:pif:exe

   ## Reject virus infested messages.
deny  message = This message contains malware ($malware_name)
	demime = *
	malware = *

--

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
(Continue reading)

JP Kelly | 1 Jun 09:47 2006
Picon

demime not working

I have ClamAV set up with exim but I cant get it to work.
It seems exim's demime is not demiming.
I have the following in the ACL section and exim still passes the  
attachments with unwanted extensions.
any ideas?

acl_check_data:

##     accept  hosts          = 127.0.0.1:+relay_from_hosts
##     accept  authenticated  = *

   # First unpack MIME containers and reject serious errors.
deny  message = This message contains a MIME error ($demime_reason)
	demime = *
	condition = ${if >{$demime_errorlevel}{2}{1}{0}}

   # Reject typically wormish file extensions. There is almost no
   # sense in sending such files by email.
deny    message = This message contains an unwanted file extension  
($found_extension)
	demime = scr:com:vbs:bat:lnk:pif:exe

   ## Reject virus infested messages.
deny  message = This message contains malware ($malware_name)
	demime = *
	malware = *

--

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
(Continue reading)

JP Kelly | 1 Jun 10:14 2006
Picon

mime ACL not working

i have this in the ACL section and exim still happily delivers  
messages with .exe attachments.
What am I missing here?

acl_smtp_mime:

deny
   condition = ${if match {$mime_filename}\
     {\N\.(com|vbs|bat|pif|scr|exe)$\N}}
   message = no Windows executeables accepted here
   log_message = reject, ${substr_-4_4:$mime_filename} file

--

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

Johann Spies | 1 Jun 10:52 2006
Picon
Picon

Re: mime ACL not working

On Thu, Jun 01, 2006 at 01:14:21AM -0700, JP Kelly wrote:
> i have this in the ACL section and exim still happily delivers  
> messages with .exe attachments.
> What am I missing here?
> 
> acl_smtp_mime:
> 
> deny
>    condition = ${if match {$mime_filename}\
>      {\N\.(com|vbs|bat|pif|scr|exe)$\N}}
>    message = no Windows executeables accepted here
>    log_message = reject, ${substr_-4_4:$mime_filename} file

This works for me:

deny  message = $found_extension files are not accepted here \n \
          If you have questions please contact sysadm <at> sun.ac.za
      demime = com:vbs:bat:pif:scr:exe

Regards
Johann

--

-- 
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "Thou will show me the path of life; in thy presence 
      is fullness of joy; at thy right hand there are  
      pleasures for evermore."         Psalms 16:11 

(Continue reading)

Philip Hazel | 1 Jun 11:02 2006
Picon
Picon

Re: Using $authenticated_id in router

On Wed, 31 May 2006, Peter Velan wrote:

> But, in both cases variable "$authenticated_id is not set:

Tony has identified what is happening. The comment in the code says 
this:

/* A locally-supplied message is considered to be coming from a local user   
unless a trusted caller supplies a sender address with -f, or is passing in the
message via SMTP (inetd invocation or otherwise). */                    

> But to get the job done, the question remains: How could I modify
> 
> condition = $authenticated
> 
> to make this condition true if mail comes from an authenticated user OR
> from a local process?

The trusted user doing local submission must specified the authenticated
address using -oMai.

I am not sure why this has ended up the way it has, but does make some sense.
Trusted callers can inject messages with senders that are not 
themselves, so if they do so (using -f or -bs), Exim doesn't
automatically assume a value for $authenticated_id.

--

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book

(Continue reading)

kerneloverdrive | 1 Jun 10:58 2006

User Restrictions


Is it possible to set policies per account? for example user1 <at> domain.com can
only send and receive from  <at> domain.com and user2 <at> domain.com can send to
 <at> domain.com and  <at> otherdomains.com?

If this is possible, how?
--
View this message in context: http://www.nabble.com/User+Restrictions-t1715562.html#a4658686
Sent from the Exim Users forum at Nabble.com.

--

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


Gmane