Internal use only

Julian Field MailScanner at ecs.soton.ac.uk
Wed Jan 30 22:09:25 GMT 2008


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



Dimitri Yioulos wrote:
> Hi, folks.
>
> A particular department in our company wants to restrict its employees to 
> sending email to, and receiving it from, our domain only.  I came across a 
> post that discusses that, using CustomConfig.pm and internal.accounts.conf 
> (at least to limit sending to domain only).  I have a couple of questions:
>
> do I add &InternalActions to the directives I already, as in:
>
> "Non Spam Actions = deliver &InternalActions"
> "Spam Actions = store deliver &InternalActions"
>   
No, you can use either the standard options, eg "store deliver" or a 
Custom Function (&InternalActions), but not both at the same time. You 
need to read a bit more about how Custom Functions work, and how their 
return value is used.

> etc.?
>
> Does this also limit inbound messages to the user to domain mail only?  If 
> not, how do I accomplish that?
>
> Anthing else I should know/do to limit a user to domain mail only?
>   
Read up about Custom Functions, then study CustomConfig.pm and look at 
the code to see what it does and how it works. You need to understand a 
bit of Perl to be able to use your own Custom Functions properly. Sorry.

Jules

- -- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.7.0 (Build 1012)
Comment: Use Thunderbird's Enigmail add-on to verify this message
Charset: ISO-8859-1

wj8DBQFHoPWXEfZZRxQVtlQRAgh7AKD9YAKmXX2dIBZrlJoUw3LHdGrU5ACgteww
gu02Qhp9lXX8P63JfHYcpQY=
=Wska
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list