OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: allow MAIL FROM local email accounts only

From: Ignacio Garcia (igpoenus.com)
Date: Thu Jun 04 2009 - 12:45:01 CDT


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

Thanks for all your replies. I see your point. Let's say that I want to
create a whitelist, and I want to whitelist all email addresses from
mycustomer1.com. In that case, the file should contain:

/customer1\.com$/ DUNNO
/^/ reject_authenticated_sender_login_mismatch

Aside from DUNNO, what other options do I have? I've usually used OK and
 REJECT. What's the real difference between OK and DUNNO in a file such
as this?

Thanks again for your help

Ignacio

Victor Duchovni escribió:
> On Thu, Jun 04, 2009 at 12:20:37PM -0400, Brian Evans - Postfix List wrote:
>
>> /^.*bizcustomer1\.example\.com$/ DUNNO
>> /^.*bizcustomer2\.example\.com$/ DUNNO
>> /^/ reject_authenticated_sender_login_mismatch
>
> Or just:
>
> /bizcustomer1\.example\.com$/ DUNNO
> /bizcustomer2\.example\.com$/ DUNNO
> /^/ reject_authenticated_sender_login_mismatch
>
> There is no need to anchor the expression at both ends.
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkooCBoACgkQoYMx3fsuWuq8mwCghkoaK96SEtqLTN9YpXVS9N+d
uKIAoL2SY7N7ltkUUPn7FG60/SIEUUCs
=EfN2
-----END PGP SIGNATURE-----