Acho que isso deve ajudar um pouco:
FEATURE(`relay_mail_from')
which allows relaying if the mail sender is listed as RELAY in the access map.
If an optional argument `domain' (this is the literal word `domain', not a
placeholder) is given, the domain portion of the mail sender is also checked
to allowing relaying. This option only works together with the tag From: for
the LHS of the access map entries (see below: Finer control).
This feature allows spammers to abuse your mail server by specifying a return
address that you enabled in your access file. This may be harder to figure
out for spammers, but it should not be used unless necessary.
Finer control by using tags for the LHS of the access map
Read this section only if the options listed so far are not sufficient for
your purposes. There is now the option to tag entries in the access map
according to their type. Three tags are available:
Connect: connection information (${client_addr}, ${client_name})
From: envelope sender
To: envelope recipient
If the required item is looked up in a map, it will be tried first with the
corresponding tag in front, then (as fallback to enable backward
compatibility) without any tag, unless the specific feature requires a tag.
For example,
From:[EMAIL PROTECTED] REJECT
To:friend.domain RELAY
Connect:friend.domain OK
Connect:from.domain RELAY
From:[EMAIL PROTECTED] OK
From:another.dom REJECT
This would deny mails from [EMAIL PROTECTED] but you could still send mail to
that address even if FEATURE(`blacklist_recipients') is enabled. Your system
will allow relaying to friend.domain, but not from it (unless enabled by
other means). Connections from that domain will be allowed even if it ends up
in one of the DNS based rejection lists. Relaying is enabled from from.domain
but not to it (since relaying is based on the connection information for
outgoing relaying, the tag Connect: must be used; for incoming relaying,
which is based on the recipient address, To: must be used). The last two
entries allow mails from [EMAIL PROTECTED] but reject mail from all other
addresses with another.dom as domain part.
Em Qua 29 Jan 2003 13:21, Mauro Cleffs Figueiredo escreveu:
> At 29/01/2003 11:55, you wrote:
> >Se o controle for por m�quina � f�cil. Libere o relay no /etc/mail/access
> >somente para as m�quinas que podem enviar e-mail para fora.
> >N�o estou muito certo, mas acho que d� para especificar FROM/TO tamb�m no
> >access.
>
> Controle por m�quina n�o adianta. Como foi dito: e o acesso via
> webmail?
>
> /etc/mail/access eh para e-mail's recebidos. Nesse caso acho que
> nao se aplica.
>
> Explicando novamente:
>
> - Empresa XYZ, dominio xyz.com.br
> - Usuario jose tem e-mail: [EMAIL PROTECTED] Este usuario soh pode
> mandar e-mail's para o dominio xyz.com.br. Para qualquer outro
> dominio nao.
>
>
>
>
> []'s, Mauro Cleffs Figueiredo
> Interline Provedora de Internet Ltda
> http://www.concordia.psi.br
> (49) 444-2530 ~ (49) 9994-4335
>
> _______________________________________________
> slack-users mailing list
> [EMAIL PROTECTED]
> http://www.linuxmag.com.br/mailman/listinfo/slack-users
--
H�lio Cavichiolo Jr
Analista de Sistemas
_______________________________________________
slack-users mailing list
[EMAIL PROTECTED]
http://www.linuxmag.com.br/mailman/listinfo/slack-users