Re: [courier-users] Filtering question ...

This is a discussion on Re: [courier-users] Filtering question ... within the Courier-Imap forums, part of the Mail Servers and Related category; On 03/06/2005, at 19.25, Gordon Messmer wrote: > On Jun 3, 2005, at 6:27 AM, Thomas ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-21-2005
Thomas von Hassel
 
Posts: n/a
Default Re: [courier-users] Filtering question ...


On 03/06/2005, at 19.25, Gordon Messmer wrote:

> On Jun 3, 2005, at 6:27 AM, Thomas von Hassel wrote:
>
>
>> Now, how do i filter/ristrict my mail flow, so that mail from the =20
>> filter and mail from my clients for relay get acceptet, but mail =20
>> from the outside to the domains hosted on the mail server get's =20
>> bounced, or redirected to the filter ?
>>

>
> As Sam and Jay suggested, I'd set AUTH_REQUIRED=3D1 in esmtpd. You =20=


> can avoid messing with the filter's configuration by adding its IP =20
> address to etc/courier/smtpaccess/whitelist with AUTH_REQUIRED=3D0, =20=


> like this:
>
> 192.168.2.3 allow,AUTH_REQUIRE=3D0
>
> Run "makesmtpaccess" to rebuild the dat file, and then restart =20
> esmtpd. Everyone except for your filter will be required to =20
> authenticate.
>
> You can also add the networks or IP addresses of other trusted =20
> hosts, for which you want to relay mail without requiring =20
> authentication. You just need to add the RELAYCLIENT setting along =20=


> with AUTH_REQUIRE=3D0.


Well, i tried it, and put

xxx.xxx.xxx.xxx<tab>allow,RELAYCLIENT,AUTH_REQUIRE =3D0

in smtpaccess/default

but connections from that server still fail with:

courieresmtpd: error,relay=3Dxxx.xxx.xxx.xxx,msg=3D"535 Authentication =20=

required."


The other server is a postfix server running my filtering scripts ...

--
Med venlig hilsen
Thomas von Hassel
thomas@vermoe.dk

Verm=F8 Gruppen A/S
H.N. Andersens Vej 3-5
7400 Herning

Tlf.: 70 25 73 25
Direkte: 96 27 33 04
www.vermoe.dk




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:33 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0