destination_concurrency_limit to relayhost only

2012-12-17 Thread Victor d'Agostino
Hi, Our postfix server serves several internal domains and relays outgoing traffic through our ISP SMTP relay server. This external SMTP server is limited to 3 destination domains at the same time. I am wondering if it is possible to set a destination_concurrency_limit of 3 to the relayhost SMTP

smtpd_sender_login_maps

2012-12-17 Thread Petra Humann
Hello, I check the sender address of authenticated users: smtpd_sender_login_maps = ldap:/path/to/postfix/ldapsender.cf smtpd_sender_restrictions = reject_authenticated_sender_login_mismatch, permit_sasl_authenticated, permit_mynetworks This works like expected. But, now I would like to

Re: Send mails use the same source IP across multiple servers

2012-12-17 Thread Wietse Venema
Wietse: > 2) Use a SOCKS server for one or more dedicated external source IP > addresses. This would require an extension of the SOCKS protocol > such that the Postfix SMTP client can specify both the local and > the remote IP address for a connection. Ram: > Option 2 seems perfect > Please is the

Re: RBL 'weighting'?

2012-12-17 Thread Wietse Venema
Miha Valencic: > Hi! > > Is it possible to add-up scores from different RBL's and reject the > incoming message after a certain threshold? Only with postscreen(8). This will not be implemented in smtpd_mumble_restrictions. http://www.postfix.org/POSTSCREEN_README.html http://www.postfix.org/post

Re: RBL 'weighting'?

2012-12-17 Thread Noel Jones
On 12/17/2012 7:40 AM, Miha Valencic wrote: > Hi! > > Is it possible to add-up scores from different RBL's and reject the > incoming message after a certain threshold? > > For instance, we have a number of RBLs configured and would like to > reject email only after a couple of RBLs fail verificat

Re: RBL 'weighting'?

2012-12-17 Thread Miha Valencic
Wietse, Noel, thanks for the prompt answers. I've been already looking at postscreen and postfwd, but wandered if there something in the postfix *_restrictions as well. We're using postfix 2.7, so postscreen is out. We're looking into implementing policyd anyway, so that's probably a good place.

Re: RBL 'weighting'?

2012-12-17 Thread Benny Pedersen
Miha Valencic skrev den 17-12-2012 14:40: Is it possible to add-up scores from different RBL's and reject the incoming message after a certain threshold? sounds like policyd-weight For instance, we have a number of RBLs configured and would like to reject email only after a couple of RBLs fa

Re: RBL 'weighting'?

2012-12-17 Thread Henrik K
On Mon, Dec 17, 2012 at 04:39:36PM +0100, Benny Pedersen wrote: > Miha Valencic skrev den 17-12-2012 14:40: > > >Is it possible to add-up scores from different RBL's and reject the > >incoming message after a certain threshold? > > sounds like policyd-weight > > >For instance, we have a number

Re: RBL 'weighting'?

2012-12-17 Thread Miha Valencic
So, since we need some features of policyd as well (rate limiting, for instance), and we're already using amavis, do we chain postfwd before policyd or vice-versa? Thanks, Miha. On Mon, Dec 17, 2012 at 4:47 PM, Henrik K wrote: > Policyd-weight is deprecated and doesn't even have async DNS looku

Re: RBL 'weighting'?

2012-12-17 Thread Noel Jones
On 12/17/2012 10:52 AM, Miha Valencic wrote: > So, since we need some features of policyd as well (rate limiting, for > instance), and we're already using amavis, do we chain postfwd before > policyd or vice-versa? > > Thanks, > Miha. postfwd does rate limiting, and many other features. Maybe

SMTP vs Submission

2012-12-17 Thread John Allen
For various reasons it has been decided that internal users will only be allowed to use IMAPS/Submiission for email. Our setup is a fairly conventional Postfix/Dovecot/Amavis/... on Debian/Ubuntu. q1) am i correct in assuming that the smtpd section of main.cf is aimed at SMTP (tcp port 25)

Re: SMTP vs Submission

2012-12-17 Thread John Allen
On 17/12/2012 1:54 PM, John Allen wrote: For various reasons it has been decided that internal users will only be allowed to use IMAPS/Submiission for email. Our setup is a fairly conventional Postfix/Dovecot/Amavis/... on Debian/Ubuntu. q1) am i correct in assuming that the smtpd section of ma

Re: RBL 'weighting'?

2012-12-17 Thread Miha Valencic
On Mon, Dec 17, 2012 at 7:13 PM, Noel Jones wrote: > postfwd does rate limiting, and many other features. Maybe you can > consolidate everything into postfwd. We'll take a deeper look at postfwd for that. > Additionally, rate limiting is typically done on outgoing mail, True. But there are som

Re: RBL 'weighting'?

2012-12-17 Thread /dev/rob0
On Mon, Dec 17, 2012 at 04:01:58PM +0100, Miha Valencic wrote: > We're using postfix 2.7, so postscreen is out. Actually not. You could build 2.8 and bring in the postscreen and dnsblog executables and master.cf configuration; this should work according to: http://www.postfix.org/announcements/

Re: SMTP vs Submission

2012-12-17 Thread /dev/rob0
On Mon, Dec 17, 2012 at 01:54:59PM -0500, John Allen wrote: > For various reasons it has been decided that internal users will > only be allowed to use IMAPS/Submiission for email. > Our setup is a fairly conventional Postfix/Dovecot/Amavis/... on > Debian/Ubuntu. > q1) am i correct in assuming tha

Re: smtpd_sender_login_maps

2012-12-17 Thread /dev/rob0
On Mon, Dec 17, 2012 at 11:11:02AM +0100, Petra Humann wrote: > I check the sender address of authenticated users: > > >smtpd_sender_login_maps = ldap:/path/to/postfix/ldapsender.cf > >smtpd_sender_restrictions = > >reject_authenticated_sender_login_mismatch, > >permit_sasl_authenticated, permit_m

Re: SMTP vs Submission - closed

2012-12-17 Thread John Allen
On 17/12/2012 3:03 PM, /dev/rob0 wrote: On Mon, Dec 17, 2012 at 01:54:59PM -0500, John Allen wrote: For various reasons it has been decided that internal users will only be allowed to use IMAPS/Submiission for email. Our setup is a fairly conventional Postfix/Dovecot/Amavis/... on Debian/Ubuntu.