Keep local copy and forward

Julian Field MailScanner at ecs.soton.ac.uk
Tue Aug 9 22:59:24 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Max Kipness wrote:

>Thanks. I've actually done this method before and it does work good. It's
>just a lot of work if you have many accounts.
>  
>
It's not a lot of work if you implement it using a very simple Custom 
Function rather than a huge ruleset. It will be many times faster too.

>
>  
>
>>-----Original Message-----
>>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
>>Behalf Of Alex Neuman
>>Sent: Tuesday, August 09, 2005 1:13 PM
>>To: MAILSCANNER at JISCMAIL.AC.UK
>>Subject: Re: Keep local copy and forward
>>
>>Oh, and tell sendmail to relay for company.com by adding company.com to
>>/etc/mail/relay-domains or to /etc/mail/access (as in To:company.com
>>RELAY)...
>>
>>    
>>
>>>Here's how I'd do it.
>>>
>>>Mail arrives for "company.com", and you've set up a domain called
>>>company.local which you receive mail for on the mailscanner box. On
>>>mailertable you set "company.com smtp:[the-m-sexchangeboxip] so that
>>>      
>>>
>>mail
>>    
>>
>>>for that company gets sent directly to your m-sexchange box.
>>>
>>>On "nonspam actions" set a ruleset like this:
>>>
>>>to: jdoe at company.com  deliver forward jdoe at company.local
>>>FromOrTo: default deliver forward
>>>      
>>>
>>someboxtogeteverythingelse at company.local
>>    
>>
>>>That way no viruses or spam will get to your m-sexchange box.
>>>
>>>      
>>>
>>>>I've got a bit of a dilemna, and can't seem to figure out a solution.
>>>>
>>>>I have a client that is switching from Sendmail to Exchange. During the
>>>>transition, they would like a copy of all email to go to the local
>>>>        
>>>>
>>mbox,
>>    
>>
>>>>and relay to Exchange, all while be processed by MailScanner.
>>>>
>>>>I know I can remove remove their domain from local-domains, place it in
>>>>mailertable, and then use the MailScanner archive method. But then they
>>>>have access to viruses that I can't have.
>>>>
>>>>Is there anyway to get the nonspam rule to deliver to an mbox as a
>>>>        
>>>>
>>file,
>>    
>>
>>>>ex. /var/spool/mail/useraccount? This would solve my problem, but it
>>>>doesn't seem to work.
>>>>
>>>>Thanks,
>>>>Max
>>>>
>>>>------------------------ MailScanner list ------------------------
>>>>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>>>>'leave mailscanner' in the body of the email.
>>>>Before posting, read the Wiki (http://wiki.mailscanner.info/) and
>>>>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>>>>
>>>>Support MailScanner development - buy the book off the website!
>>>>
>>>>        
>>>>
>>>------------------------ MailScanner list ------------------------
>>>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>>>'leave mailscanner' in the body of the email.
>>>Before posting, read the Wiki (http://wiki.mailscanner.info/) and
>>>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>>>
>>>Support MailScanner development - buy the book off the website!
>>>
>>>      
>>>
>>------------------------ MailScanner list ------------------------
>>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>>'leave mailscanner' in the body of the email.
>>Before posting, read the Wiki (http://wiki.mailscanner.info/) and
>>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>>
>>Support MailScanner development - buy the book off the website!
>>    
>>
>
>------------------------ MailScanner list ------------------------
>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>'leave mailscanner' in the body of the email.
>Before posting, read the Wiki (http://wiki.mailscanner.info/) and
>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
>Support MailScanner development - buy the book off the website!
>  
>

- -- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2424)

iQA/AwUBQvknPhH2WUcUFbZUEQJIogCfQ6jrQwyIRix5WfQVa1SwHirxa2IAn3j/
gStGiiIdoknyupT4W/g0uNiE
=QYO6
-----END PGP SIGNATURE-----

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list