Re: reject_sender_login_mismatch

2021-07-31 Thread Simon Wilson
- Message from Wietse Venema - Date: Sat, 31 Jul 2021 09:45:00 -0400 (EDT) From: Wietse Venema Reply-To: Postfix users Subject: Re: reject_sender_login_mismatch To: Postfix users Simon Wilson: A quick query on?smtpd_sender_login_maps format. I have this working

Re: reject_sender_login_mismatch

2021-07-31 Thread Wietse Venema
Simon Wilson: > A quick query on?smtpd_sender_login_maps format. > > I have this working well on port 587 to ensure that specified > SASL-authenticated users only can send emails from their owned email > addresses. > > So I have in a file 'controlled_envelope_senders' this, as an example: >

Re: reject_sender_login_mismatch

2021-07-31 Thread Simon Wilson
- Message from tobi - Date: Sat, 31 Jul 2021 06:49:48 + From: tobi Subject: Re: reject_sender_login_mismatch To: postfix-users@postfix.org you could add a sender access map in your relay config which rejects those domains. Place it before your sender login maps

Re: reject_sender_login_mismatch

2021-07-30 Thread tobi
you could add a sender access map in your relay config which rejects those domains. Place it before your sender login maps Am 31. Juli 2021 06:06:17 UTC schrieb Simon Wilson : >A quick query on smtpd_sender_login_maps format. > >I have this working well on port 587 to ensure that specified >SA

Re: reject_sender_login_mismatch message

2020-09-11 Thread Wietse Venema
?ngel L. Mateo: > Hi, > > I have configured my postfix with the reject_sender_login_mismatch > option in the smtpd_sender_restrictions. > > With this configuration, when a ussage wants to send an email with an > unauthorized sender it gets a reject message like: > > 553 5.7.1 : Sen

Re: reject_sender_login_mismatch exception

2018-06-07 Thread Bill Cole
On 7 Jun 2018, at 12:07, Marek Kozlowski wrote: :-) I have all users in an LDAP database and store users' aliases, virtuals, canonicals, forwards etc as attributes. For that purpose using the `reject_sender_login_mismatch' seems to be a simple and powerful solution for increasing security an

RE: reject_sender_login_mismatch

2016-07-01 Thread Michael Fox
> > Specify, for example: > > smtpd_sender_login_maps = hash:/etc/postfix/sasl_senders, >pcre:/etc/postfix/sasl_default_senders > > Where the contents of sasl_default_senders is, for example: > > root# cat sasl_default_senders > /^(.*)@domain$/ $1 > > Which restrict

Re: reject_sender_login_mismatch

2016-07-01 Thread Michael D. Sofka
On 07/01/2016 01:19 PM, Michael Fox wrote: I’m confused about how the reject_sender_login_mismatch restriction works. I can understand the value of this mapping if you want to allow a given SASL login to use multiple MAIL FROM addresses. But is there a way to require that the MAIL FROM address

Re: reject_sender_login_mismatch and rewriting problem...

2014-09-22 Thread Marek Kozlowski
:-) >> My postfix hostname is `mail.my.domain'. >> >> DNS settings result in redirecting not only mail to >> `some...@mail.my.domain' but also mail addressed to: >> `sm...@programmers.my.domain', `jo...@office.my.domain', etc to this host. >> >> `virtual_alias_maps' allow resolving: >> sm...@progra

Re: reject_sender_login_mismatch and rewriting problem...

2014-09-22 Thread Wietse Venema
Marek Kozlowski: > :-) > > My postfix hostname is `mail.my.domain'. > > DNS settings result in redirecting not only mail to > `some...@mail.my.domain' but also mail addressed to: > `sm...@programmers.my.domain', `jo...@office.my.domain', etc to this host. > > `virtual_alias_maps' allow resolving

Re: reject_sender_login_mismatch problem

2013-11-16 Thread Pol Hallen
> Perhaps you can use reject_authenticated_sender_login_mismatch instead. > http://www.postfix.org/postconf.5.html#reject_authenticated_sender_login_mismatch Yeah! Thanks Jones :-) Solved! Pol

Re: reject_sender_login_mismatch problem

2013-11-16 Thread Noel Jones
On 11/16/2013 12:44 PM, Pol Hallen wrote: > Hi all :-) I configurated postfix to check if a client is within the > > smtpd_sender_login_maps = hash:/etc/postfix/smtpd_sender_login_maps > > with sasl sender authentication, and: > > smtpd_recipient_restrictions = > permit_mynetworks, >

Re: reject_sender_login_mismatch problem

2013-11-16 Thread li...@rhsoft.net
and where is the complete log of the message you are speaking about in your initial post? you are long enough here to know how debugging works and how it can't work > mydestination = fuckaround what's that? this is not a domain Am 16.11.2013 19:54, schrieb Pol Hallen: > alias_database = hash:/et

Re: reject_sender_login_mismatch problem

2013-11-16 Thread Pol Hallen
alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases anvil_rate_time_unit = 10s anvil_status_update_time = 120s append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix delay_warning_time = 10m disable_vrfy_command = yes helpful_warnings = yes h

Re: reject_sender_login_mismatch problem

2013-11-16 Thread li...@rhsoft.net
Am 16.11.2013 19:44, schrieb Pol Hallen: > Hi all :-) I configurated postfix to check if a client is within the > > smtpd_sender_login_maps = hash:/etc/postfix/smtpd_sender_login_maps > > with sasl sender authentication, and: > > smtpd_recipient_restrictions = > permit_mynetworks, >

Re: reject_sender_login_mismatch behavior

2013-09-18 Thread Emmanuel Fusté
Le 16/09/2013 18:43, Viktor Dukhovni a écrit : On Mon, Sep 16, 2013 at 11:24:12AM -0400, Wietse Venema wrote: So I think putting "sender" first and indicating that *only* listed senders are in scope makes sense: reject_restricted_sender_wrong_login this should likely automatically imp

Re: reject_sender_login_mismatch behavior

2013-09-16 Thread Viktor Dukhovni
On Mon, Sep 16, 2013 at 11:24:12AM -0400, Wietse Venema wrote: > > So I think putting "sender" first and indicating that *only* > > listed senders are in scope makes sense: > > > > reject_restricted_sender_wrong_login > > > > this should likely automatically imply reject_unauth_sender_login_

Re: reject_sender_login_mismatch behavior

2013-09-16 Thread Viktor Dukhovni
On Mon, Sep 16, 2013 at 10:19:14AM -0400, Wietse Venema wrote: > > Perhaps: > > > > reject_restricted_sender_misuse > > > > Patch below, potentially subject to replacement of the above name with > > something more obvious. > > Bah, you solved the easy part of the problem :-) Yes, I know.

Re: reject_sender_login_mismatch behavior

2013-09-16 Thread Wietse Venema
Viktor Dukhovni: > So I think putting "sender" first and indicating that *only* > listed senders are in scope makes sense: > > reject_restricted_sender_wrong_login > > this should likely automatically imply reject_unauth_sender_login_mismatch > (to protect said restricted sender addresses f

Re: reject_sender_login_mismatch behavior

2013-09-16 Thread Wietse Venema
Viktor Dukhovni: > On Mon, Sep 16, 2013 at 08:35:16AM -0400, Wietse Venema wrote: > > > If you want to reject authenticated sender/login mis-matches only > > for sender addresses in $smtpd_sender_login_maps, then that would > > have to be a completely different feature, with a clear name, and > >

Re: reject_sender_login_mismatch behavior

2013-09-16 Thread Viktor Dukhovni
On Mon, Sep 16, 2013 at 08:35:16AM -0400, Wietse Venema wrote: > If you want to reject authenticated sender/login mis-matches only > for sender addresses in $smtpd_sender_login_maps, then that would > have to be a completely different feature, with a clear name, and > with clearly defined semantic

Re: reject_sender_login_mismatch behavior

2013-09-16 Thread Emmanuel Fusté
Le 16/09/2013 14:35, Wietse Venema a écrit : Emmanuel Fust?: But in either case, I want to accept the email if the envelope address is not in the map. Given that "reject_sender_login_mismatch" is implemented internally as an alias for "reject_authenticated_sender_login_mismatch, reject_unauthen

Re: reject_sender_login_mismatch behavior

2013-09-16 Thread Wietse Venema
Emmanuel Fust?: > But in either case, I want to accept the email if the envelope address > is not in the map. Given that "reject_sender_login_mismatch" is implemented internally as an alias for "reject_authenticated_sender_login_mismatch, reject_unauthenticated_sender_login_mismatch", the defini

Re: reject_sender_login_mismatch behavior

2013-09-16 Thread Emmanuel Fusté
Le 16/09/2013 12:41, Wietse Venema a écrit : Emmanuel Fust?: Hello, I did not find a way to "emulate" the behavior of reject_sender_login_mismatch for authenticated connexions as for unauthenticated connexions. reject_authenticated_sender_login_mismatch Enforces the reject_sender_log

Re: reject_sender_login_mismatch behavior

2013-09-16 Thread Wietse Venema
Emmanuel Fust?: > Hello, > > I did not find a way to "emulate" the behavior of > reject_sender_login_mismatch for authenticated connexions as for > unauthenticated connexions. reject_authenticated_sender_login_mismatch Enforces the reject_sender_login_mismatch restriction for

Re: reject_sender_login_mismatch doc

2009-08-01 Thread mouss
/dev/rob0 a écrit : > On Saturday 01 August 2009 10:15:08 johnea wrote: >> The postfix documentation regarding reject_sender_login_mismatch: >> >> http://www.postfix.org/postconf.5.html#reject_sender_login_mismatch >> or maybe in here: >> http://www.postfix.org/SMTPD_ACCESS_README.html >> >> Specif

Re: reject_sender_login_mismatch doc

2009-08-01 Thread /dev/rob0
On Saturday 01 August 2009 10:15:08 johnea wrote: > The postfix documentation regarding reject_sender_login_mismatch: > > http://www.postfix.org/postconf.5.html#reject_sender_login_mismatch > or maybe in here: > http://www.postfix.org/SMTPD_ACCESS_README.html > > Specifically the reject_authenticat

Re: reject_sender_login_mismatch for client certificates

2009-06-08 Thread Victor Duchovni
On Mon, Jun 08, 2009 at 02:31:06PM +0200, Florian Wagner wrote: > I'm currently playing around with client certificates in postfix. > > Is there any way do do something similar to reject_sender_login_mismatch > with certificate authentication? A table to map from certificate > fingerprints to all

Re: reject_sender_login_mismatch for client certificates

2009-06-08 Thread Jan P. Kessler
Florian Wagner schrieb: > Hi, > > I'm currently playing around with client certificates in postfix. > > Is there any way do do something similar to reject_sender_login_mismatch > with certificate authentication? A table to map from certificate > fingerprints to allowed addresses? > postfwd (a p

Re: reject_sender_login_mismatch out relay backscatter / closed

2009-04-08 Thread Robert Schetterer
Robert Schetterer schrieb: > Hi @ll, > i have a relay for exchange > which is configured with reject_sender_login_mismatch > with accounts allowed to send out for configured domains > at last a infected host generated a faked sender > which was rejected with not owned by user > unfourtunally the bo

Re: reject_sender_login_mismatch

2009-03-17 Thread Victor Duchovni
On Wed, Mar 18, 2009 at 10:29:19AM +0900, Alberto Lepe wrote: > If I understand correctly the Postfix manual, > > "reject_sender_login_mismatch" > > is equivalent of adding these 2 rules instead: > > "reject_unauthenticated_sender_login_mismatch" > "reject_authenticated_sender_l

Re: reject_sender_login_mismatch

2009-03-17 Thread Sahil Tandon
On Wed, 18 Mar 2009, Alberto Lepe wrote: > If I understand correctly the Postfix manual, > > "reject_sender_login_mismatch" > > is equivalent of adding these 2 rules instead: > > "reject_unauthenticated_sender_login_mismatch" > "reject_authenticated_sender_login_mismatch" > > r