Re: auth relay limitting

Liste des GroupesRevenir à cm sendmail 
Sujet : Re: auth relay limitting
De : hzcnjkx656 (at) *nospam* tormails.com (none)
Groupes : comp.mail.sendmail
Date : 27. Jan 2025, 12:14:10
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vn7pq4$qfrm$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 22/01/2025 18:18, Claus Aßmann wrote:
none  wrote:
 
Currently when a user is authenticated it can send messages with any
  From (and envelope ?). I would like to limit this to only addresses
that the user is configured to receive on.
>
How would I go about implementing such a thing?
 A custom ruleset.
 You might find some examples on "the 'net".
You have maybe a link to a practical example? I have the impression there is not even a check_sender
https://www.sendmail.org/~ca/email/rcpt_old.html
How should this be rewritten so it looks up the from address in the virtual user table so it compares sendmailMTAMapValue with the auth?
R$+ $: $>3 $1
R$+ $: $(dequote $1 $)
R$- $@ ok to here
R$* % $* $: relay attempt
R$* @ $* < @ $* . > $: relay attempt
R$+ < @ $=w . > $@ ok to here
R$+ < @ $={RelayTo} . > $@ ok allow relay to there
R$+ $: $(dequote "" $&{client_addr} $)
R0 $@ ok client_addr is 0 for sendmail -bs
R$={LocalIP}.$* $@ ok from here
R$* $#error $@ 5.7.1 $: "571 we do not support relaying"

Date Sujet#  Auteur
22 Jan 25 * auth relay limitting4none
22 Jan 25 `* Re: auth relay limitting3Claus Aßmann
24 Jan 25  +- Re: auth relay limitting1none
27 Jan 25  `- Re: auth relay limitting1none

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal