Hi all,
        
I've been trying to work out one things but seem to not have enough of a clue to get 
anywhere. I can briefly describe this problem I am having as 'problem with filtering 
using user prefs when dealing with an aliased addresses ?'

Firstly, I use exim with the following to deliver mail to that directory 

local_delivery:
  driver = appendfile
  group = mail
  mode = 0660
  mode_fail_narrower = false
  envelope_to_add = true
  file = /var/spool/mail/${local_part}

and this to process the aliases

virtual:
  driver = aliasfile
  domains = partial2-lsearch;/etc/exim/clients/domains
  file_transport = address_file
  pipe_transport = address_pipe
  file = /etc/exim/clients/$domain_data
  search_type = lsearch*

the alias format will be - alias username - on each line......

and this for spamcheck

spamcheck:
    driver = pipe
    command = /usr/sbin/exim -oMr spam-scanned -bS
    transport_filter = /usr/bin/spamc -u ${local_part}
    bsmtp = all
    home_directory = "/tmp"
    current_directory = "/tmp"
    # must use a privileged user to set $received_protocol on the way back in!
    user = mail
    group = mail
    return_path_add = false
    log_output = true
    return_fail_output = true
    prefix =
    suffix =

so lets say my alias is 'chris' (hence [EMAIL PROTECTED]) and my username is 'christo' 

if mail coming into [EMAIL PROTECTED], spamd will run with uid 'chris' (of course...no 
such user on system)...so it does not run the user_pref file in home dir

but, if mail comes in as [EMAIL PROTECTED], then spamd will run with uid of 
'christo'. which makes proper use of user_pref file in home dir.

i've looked through everything in the list archives and found nothing i could kinda 
try as a solution. 

would anyone have some idea to what i can try or a solution that might work ?

Thanks to all for any all

Regards

Chris


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to