Re: Quota for mail

2011-11-09 Thread Egoitz Aurrekoetxea Aurre
On Wed, 9 Nov 2011, Martin Strand wrote:B> For what it's worth, here's a similar policy daemon that I've been using for a few years. - it only checks the quota if MAIL FROM has a SIZE parameter (which is not always the case) - it executes 'postmap' on each request to find the proper maildir

Re: Quota for mail

2011-11-09 Thread Egoitz Aurrekoetxea Aurre
On Tue, 8 Nov 2011, Stan Hoeppner wrote: Apologies everyone. I got my threads confused. I thought I was replying to the "reject or discard outgoing mail" thread. (palm to forehead) This thread has nothing to do with spambots. No problem ;) -- Stan

My unqualified host name (servername) unknown; sleeping for retry

2011-11-09 Thread Ian
Hi I'm trying to set up an environment using postfix without dns. For hostnames the server will have only hostname01, hostname02 etc (i.e. not even qualified by .localdomain) At the moment it's not possible to change this hostname setup (because of 3rd party software) In my test environment, th

Re: My unqualified host name (servername) unknown; sleeping for retry

2011-11-09 Thread Ian
Sorry I forgot to mention my postfix version: It's postfix-2.3.3-2.3.el5_6 on Centos 5.6 Thanks

SMTP auth for relayhost

2011-11-09 Thread Robert Hass
Hi I'm using Postfix at my server. I would like to relay all outgoing e-mails via my main SMTP server (relayhost = ... in main.cf). But my main SMTP server needs SMTP authorization. Where I can configure authentication (login and password) for relayhost ? I'm using Postfix 2.7.0 on FreeBSD 7.3 but

Re: SMTP auth for relayhost

2011-11-09 Thread Patrick Ben Koetter
* Robert Hass : > Hi > I'm using Postfix at my server. I would like to relay all outgoing > e-mails via my main SMTP server (relayhost = ... in main.cf). > But my main SMTP server needs SMTP authorization. Where I can > configure authentication (login and password) for relayhost ?

Architecture design for frontend postfix server

2011-11-09 Thread bsd
Hello folks, I am trying to figure out what is the best solution in order to filter incoming e-mail on a front-end relay server quite heavily loaded (100.000 messages / day). We are using LDAP querry in amavisd-new in order to check if the e-mail account exists in our LDAP DB. Internet

Re: Architecture design for frontend postfix server

2011-11-09 Thread Patrick Ben Koetter
* bsd : > I am trying to figure out what is the best solution in order to filter > incoming e-mail on a front-end relay server quite heavily loaded (100.000 > messages / day). Even if you assume that all those messages will be sent within 8 hours (business time) it will boil down to ~ 3.5 msg/sec

Re: Architecture design for frontend postfix server

2011-11-09 Thread postfix
Hi we use here since ages virtual_mailbox_domains = proxy:ldap:/etc/postfix/ldap-domain.cf and if that is positive (i.e. the domain is local) virtual_alias_maps = proxy:ldap:/etc/postfix/ldap-alias.cf with virtual_transport = virtual suomi On 2011-11-09 11:43, Patrick Ben Koetter wrote: * bsd:

Re: Architecture design for frontend postfix server

2011-11-09 Thread Nerijus Kislauskas
On 11/09/2011 12:09 PM, bsd wrote: > If the answer is positive, should I use the "local_recipient_maps" parameter > or is there another more efficient method to be used ? I guess the answer is "relay_recipient_maps", because your first postfix instance is a SMTP relay server. Indeed, we have a

Re: My unqualified host name (servername) unknown; sleeping for retry

2011-11-09 Thread Wietse Venema
Ian: > In my test environment, the postfix install doesn't complain, but in the > production environment, I get the "unqualified host name () unknown; > sleeping for retry", *but* the mails get delivered OK. That is NOT a Postfix error message. You have multiple MTAs on one machine, perh

Re: SMTP auth for relayhost

2011-11-09 Thread Curtis Maurand
On 11/9/2011 4:12 AM, Robert Hass wrote: Hi I'm using Postfix at my server. I would like to relay all outgoing e-mails via my main SMTP server (relayhost = ... in main.cf). But my main SMTP server needs SMTP authorization. Where I can configure authentication (login and password) for relayhost ?

Re: My unqualified host name (servername) unknown; sleeping for retry

2011-11-09 Thread Mike Woods
That particular message is indeed sendmail. -- Sent from my Palm Pre On Nov 9, 2011 11:49 a.m., Wietse Venema wrote: Ian: > In my test environment, the postfix install doesn't complain, but in the > production environment, I get the "unqualified host name () u

smtp_fallback_relay ignored

2011-11-09 Thread Christian Vieser
Hi, we have a two ISP setup and each ISP provides us with an mail relay accessible within their networks. So we have in our postfix configurations relayhost = [relaying.ISP1.com] smtp_fallback_relay = [relaying.ISP2.com] to provide some fault tolerance. This works pretty good in case we have p

Re: smtp_fallback_relay ignored

2011-11-09 Thread Wietse Venema
Christian Vieser: [ Charset ISO-8859-15 unsupported, converting... ] > Hi, > > we have a two ISP setup and each ISP provides us with an mail relay > accessible within their networks. > So we have in our postfix configurations > relayhost = [relaying.ISP1.com] > smtp_fallback_relay = [relaying.ISP

Re: smtp_fallback_relay ignored

2011-11-09 Thread Noel Jones
On 11/9/2011 6:19 AM, Christian Vieser wrote: > Hi, > > we have a two ISP setup and each ISP provides us with an mail relay > accessible within their networks. > So we have in our postfix configurations > relayhost = [relaying.ISP1.com] > smtp_fallback_relay = [relaying.ISP2.com] > to provide some

Re: Architecture design for frontend postfix server

2011-11-09 Thread bsd
Le 9 nov. 2011 à 11:43, Patrick Ben Koetter a écrit : > * bsd : >> I am trying to figure out what is the best solution in order to filter >> incoming e-mail on a front-end relay server quite heavily loaded (100.000 >> messages / day). > > Even if you assume that all those messages will be sent

Re: Architecture design for frontend postfix server

2011-11-09 Thread Patrick Ben Koetter
* bsd : > > Good idea. Reject any message that can't be delivered immediately. That's > > cheap. It takes place in the SMTP session before the payload has been sent > > and > > before a content filter, such as amavis, does ressource intensive filtering. > > Shall I do that using the "Postfix Befo

Re: Architecture design for frontend postfix server

2011-11-09 Thread bsd
Le 9 nov. 2011 à 14:24, Patrick Ben Koetter a écrit : > * bsd : >>> Good idea. Reject any message that can't be delivered immediately. That's >>> cheap. It takes place in the SMTP session before the payload has been sent >>> and >>> before a content filter, such as amavis, does ressource intensi

Re: Signing injected mail

2011-11-09 Thread Simon Brereton
On 9 November 2011 00:48, Noel Jones wrote: > On 11/8/2011 10:35 PM, Simon Brereton wrote: >> On 8 November 2011 15:30, Wietse Venema >> wrote: >>> Simon Brereton: On 4 November 2011 15:49, Simon Brereton wrote: > Hi > > Amavis checks both incoming and outgoing mail. ?DKIMP

Re: Architecture design for frontend postfix server

2011-11-09 Thread Patrick Ben Koetter
* bsd : > > Le 9 nov. 2011 à 14:24, Patrick Ben Koetter a écrit : > > > * bsd : > >>> Good idea. Reject any message that can't be delivered immediately. That's > >>> cheap. It takes place in the SMTP session before the payload has been > >>> sent and > >>> before a content filter, such as amavis

450 4.7.1 error using Postfix/MIMEDefang/milter-manager

2011-11-09 Thread Larry G. Wapnitsky
I'm running PF 2.7.1 with milter-manager handling my milters. I have MIMEDefang configured as one of the managed milters, but when I telnet to port 25 for testing, I receive the following: root@mailproc:/etc/milter-manager# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Esc

Re: 450 4.7.1 error using Postfix/MIMEDefang/milter-manager

2011-11-09 Thread Wietse Venema
Larry G. Wapnitsky: > 220 mailproc.domain.com ESMTP Postfix (Debian/GNU) > helo test > 250 mailproc.domain.com > mail from: root > 451 4.7.1 Service unavailable - try again later This mail server error message is intentionally obscure. It would be a bad idea to give out detailed internal error in

450 4.7.1 error using Postfix/MIMEDefang/milter-manager

2011-11-09 Thread Larry G. Wapnitsky
(sorry if this is a dupe, but I'm fixing my "undisclosed recipient" error from earlier that someone reported to me - no disrespect intended) I'm running PF 2.7.1 with milter-manager handling my milters. I have MIMEDefang configured as one of the managed milters, but when I telnet to p

Re: Signing injected mail

2011-11-09 Thread Noel Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/9/2011 9:43 AM, Simon Brereton wrote: > Probably this is in the documentation, but since amavis checks > ALL mail (incoming and outgoing) doesn't that mean it would try > to sign incoming mail? I admit that I'm not particularly familiar with dk

Reverse entry lookups in LDAP

2011-11-09 Thread Michael A. Leonetti
I really wasn't sure of what to title the mail, but. So, I need to get postfix to deliver both locally to the user (which is no problem) and deliver to an external contact. The actual local e-mail address of the user is found in the "mail" attribute, but the external contact to deliver to is locat

Re: Reverse entry lookups in LDAP

2011-11-09 Thread Stephen Ingram
On Wed, Nov 9, 2011 at 11:29 AM, Michael A. Leonetti wrote: > I really wasn't sure of what to title the mail, but. > > So, I need to get postfix to deliver both locally to the user (which is no > problem) and deliver to an external contact. The actual local e-mail address > of the user is found in

Re: Reverse entry lookups in LDAP

2011-11-09 Thread Mike A. Leonetti
On 2011/11/09, at 14:38, Stephen Ingram wrote: > On Wed, Nov 9, 2011 at 11:29 AM, Michael A. Leonetti > wrote: >> I really wasn't sure of what to title the mail, but. >> >> So, I need to get postfix to deliver both locally to the user (which is no >> problem) and deliver to an external contact.

Re: Signing injected mail

2011-11-09 Thread mouss
Le 09/11/2011 16:43, Simon Brereton a écrit : > On 9 November 2011 00:48, Noel Jones wrote: >> On 11/8/2011 10:35 PM, Simon Brereton wrote: >>> On 8 November 2011 15:30, Wietse Venema >>> wrote: Simon Brereton: > On 4 November 2011 15:49, Simon Brereton > wrote: >> Hi >> >>>

Re: My unqualified host name (servername) unknown; sleeping for retry

2011-11-09 Thread Ian
Oops! Mail systems work much better when postfix isn't being interfered with by sendmail, don't they? Sorry about that. What incredibly shoddy work! I had managed to forget to uninstall sendmail on both my test environment *AND* production environment. Thanks for the help, Wietse & Mike. Much ap

Re: Reverse entry lookups in LDAP

2011-11-09 Thread Viktor Dukhovni
On Wed, Nov 09, 2011 at 03:36:42PM -0500, Mike A. Leonetti wrote: > >> For example the user would be located under > >> "cn=Mike,cn=users,dc=server,dc=local" and have the "mail" attribute for the > >> local mailbox. > >> > >> The contact would be located under: "cn=Mike - > >> Blackberry,cn=users