Koozali.org: home of the SME Server

Internal - External Mail Options

Edgar de Leon

Internal - External Mail Options
« on: July 18, 2002, 06:37:06 AM »
Hello list!, i need help

i want to be able to give mail accounts to all the users in my company, but i
need just 10 got internal and external email, the rest of the people i need
only can send mail to my own domain, just internal, how can i do that?

thanks

Edgar de Leon

Edgar de Leon

Re: Internal - External Mail Options
« Reply #1 on: July 18, 2002, 09:27:46 PM »
Anyone can help with this thread??  thanks

David Stanton

Re: Internal - External Mail Options
« Reply #2 on: July 19, 2002, 04:33:58 AM »
I don't think anyone has any idea how to do it with 5.5 yet. Nathan responded, and affirmed that many people are a bit puzzled, but aparently he ran afoul of the powers that be in the process, and I haven't heard from him since.

I was trying to figure out the CVM authentication required to get the authenticated SMTP running, but not being a strong linux user, I'm a bit nervous about killing my server...  ;-)

I'm also trying to find my old qmail books to see if I can find some way to use the qmail configuration files to set it up.

I would suggest installing 5.1.2 and using his Nathan's pop-before-smtp with obtuse. (funny the front end with the most documentation was "obtuse")  ;-)

Sorry, but that's all I've got for now....

Edgar de Leon wrote:
>
> Hello list!, i need help
>
> i want to be able to give mail accounts to all the users in
> my company, but i
> need just 10 got internal and external email, the rest of the
> people i need
> only can send mail to my own domain, just internal, how can i
> do that?
>
> thanks
>
> Edgar de Leon

Darrell May

Re: Internal - External Mail Options
« Reply #3 on: July 19, 2002, 04:58:07 AM »
Edgar de Leon wrote:
>
> Hello list!, i need help
>
> i want to be able to give mail accounts to all the users in
> my company, but i
> need just 10 got internal and external email, the rest of the
> people i need
> only can send mail to my own domain, just internal, how can i
> do that?
>
> thanks
>
> Edgar de Leon

Under 5.1.2 this can be accomplished using custom smtpdcheckrules.  This doco may help get you started:

http://www.obtuse.com/juniper-docs/man/smtpd_address_check.html

SME 5.5 does not use smtpdcheckrules so I do not know if this is possible.

Regards,

Darrell

Charlie Brady

Re: Internal - External Mail Options
« Reply #4 on: July 19, 2002, 06:24:17 AM »
Edgar de Leon wrote:

> i want to be able to give mail accounts to all the users in
> my company, but i
> need just 10 got internal and external email, the rest of the
> people i need
> only can send mail to my own domain, just internal, how can i
> do that?

For any user which you want to protect from receiving external mail, go to a root shell prompt, and do:

/sbin/e-smith/db accounts setprop xxx Visible internal
/sbin/e-smith/signal-event user-modify xxx

This is true whether you are using version 5.1.2 or version 5.5.

Regards

Charlie

Darrell May

Re: Internal - External Mail Options
« Reply #5 on: July 19, 2002, 09:41:42 AM »
I think you misread Charlie.  Edgar stated:

> only can send mail to my own domain, just internal,

AFAIK, setting the property internal restricts the user from receiving external mail however it permits external sending.  Edgar wants to restrict the user to receive/send internal only.  I know smtpdcheckrules can handle this as per my reply.  I do not know if SME 5.5 and mailfront can offer anything similar.  If it can, please share your knowledge of how :-)

Regards,

Darrell