Keep local copy and forward

Alex Neuman alex at NKPANAMA.COM
Tue Aug 9 19:13:23 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. ]

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!



More information about the MailScanner mailing list