Re: [CentOS-docs] Short postgrey guide?

2008-01-14 Thread Ned Slider



Alain Reguera Delgado wrote:


Of course ... it is into a table, in order to center it on the page.
Feel free to move its position.



Thanks Alain - looks great!
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Short postgrey guide?

2008-01-13 Thread Karanbir Singh

Ned Slider wrote:

Could we add the following image:
http://wiki.centos.org/HowTos/postgrey?action=AttachFiledo=gettarget=postgrey-en.png 

Thanks Alain - nice image and explains the concept well.

Any objections to adding it from anyone?



Please go ahead and add it. It looks clear enough to me.

btw, I just decimated your article with loads of other info that people 
might find interesting. All of that came from my head, so if someone can 
technically proof read it once would be appreciated.


- KB
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Short postgrey guide?

2007-12-24 Thread Alain Reguera Delgado
On 12/17/07, Ned Slider [EMAIL PROTECTED] wrote:
 Hi Guys,
...

Could we add the following image:
http://wiki.centos.org/HowTos/postgrey?action=AttachFiledo=gettarget=postgrey-en.png

I found the article very clear and easy to read. I would like to thank
you with this image, if it helps of course. If some modification is
needed, tell me please, I will be glad to fix it.

Cheers,
al.
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Short postgrey guide?

2007-12-24 Thread Ned Slider



Alain Reguera Delgado wrote:

On 12/17/07, Ned Slider [EMAIL PROTECTED] wrote:

Hi Guys,

...

Could we add the following image:
http://wiki.centos.org/HowTos/postgrey?action=AttachFiledo=gettarget=postgrey-en.png

I found the article very clear and easy to read. I would like to thank
you with this image, if it helps of course. If some modification is
needed, tell me please, I will be glad to fix it.

Cheers,
al.


Thanks Alain - nice image and explains the concept well.

Any objections to adding it from anyone?

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Short postgrey guide?

2007-12-23 Thread Karanbir Singh

Ned Slider wrote:

Hi Guys,

Are you interested in a brief guide on how to set up postgrey (anti-spam 
greylisting) with postfix? I set it up today and it took me a while to 
get it working as the config is slightly different from that on many of 
the googled guides (many are debian/ubuntu based). The darn config file 
lives in /etc/sysconfig on RH/CentOS rather than /etc/default as 
mentioned in all the guides I found!


quick question here - isnt it actually better to just use postgrey over 
a named socket rather than over a network socket ?


--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Short postgrey guide?

2007-12-23 Thread Ned Slider


Karanbir Singh wrote:

Ned Slider wrote:
Anyway, if you can point me in the right direction, I'm happy to try 
and can amend the article if you think it's better that way (maybe you 
could  also explain why unix sockets are preferable to a network 
socket - security maybe??)


 check_policy_service unix:postgrey/socket
in the smtpd_recipient_restrictions = line is all you need, and postfix 
will check on /var/spool/postfix/postgrey/socket


which is what postgrey will listen on.



Great - thanks. Got that working so I'll update the page :)


Security is one reason, better load handling is another. There is a lot 
less resources required to setup and teardown a unix socket than a 
network socket.




Thanks for the explanation :)

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-docs] Short postgrey guide?

2007-12-17 Thread Ned Slider

Hi Guys,

Are you interested in a brief guide on how to set up postgrey (anti-spam 
greylisting) with postfix? I set it up today and it took me a while to 
get it working as the config is slightly different from that on many of 
the googled guides (many are debian/ubuntu based). The darn config file 
lives in /etc/sysconfig on RH/CentOS rather than /etc/default as 
mentioned in all the guides I found!


Anyway, happy to write something if you feel it would be useful (below 
is a summary of my notes to give you an idea)


Regards,

Ned
---

Notes:

# Install postgrey from RPMForge:

yum install postgrey

# Configure postgrey:

Create /etc/sysconfig/postgrey with:
OPTIONS=--inet=127.0.0.1:6 --delay=60

# Configure postfix to use postgrey in main.cf:

smtpd_recipient_restrictions =
   reject_unknown_recipient_domain,
   permit_mynetworks,
   check_policy_service inet:127.0.0.1:6
   permit

# Start the postgrey service:
/etc/init.d/postgrey restart
(check service to automatically start in runlevels 3,4,5)

# reload postfix configs
postfix reload

# Check maillog for signs of postgrey working:

# postgrey loads:
Dec 17 21:44:58 jessie postgrey[6844]: Process Backgrounded
Dec 17 21:44:58 jessie postgrey[6844]: 2007/12/17-21:44:58 postgrey 
(type Net::Server::Multiplex) starting! pid(6844)
Dec 17 21:44:58 jessie postgrey[6844]: Binding to TCP port 6 on host 
127.0.0.1

Dec 17 21:44:58 jessie postgrey[6844]: Setting gid to 101 101
Dec 17 21:44:58 jessie postgrey[6844]: Setting uid to 100

#postgrey working:
Dec 17 21:23:49 jessie postfix/smtpd[6714]: connect from 
mk-outboundfilter-4-a-1.mail.uk.tiscali.com[212.74.114.8]
Dec 17 21:23:49 jessie postfix/smtpd[6714]: NOQUEUE: reject: RCPT from 
mk-outboundfilter-4-a-1.mail.uk.tiscali.com[212.74.114.8]: 450 4.2.0 
[EMAIL PROTECTED]: Recipient address rejected: Greylisted, see 
http://postgrey.schweikert.ch/help/example.com.html; 
from=[EMAIL PROTECTED] to=[EMAIL PROTECTED] proto=ESMTP 
helo=mk-outboundfilter-4-a-1.mail.uk.tiscali.com
Dec 17 21:23:54 jessie postfix/smtpd[6714]: disconnect from 
mk-outboundfilter-4-a-1.mail.uk.tiscali.com[212.74.114.8]


___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs