Re: sporadic bouts of lost connections to exchange 2010 hub transport

2012-09-24 Thread Stan Hoeppner
On 9/24/2012 3:32 PM, Ralf Hildebrandt wrote: > >> I'm running 2.3.3 on CentOS 5 as a mail relay; most of my mail is >> delivered to an internal Exchange 2010 environment with two Hub >> Transport machines clustered behind Windows NLB under the same >> hostname. > > We have the same setup, but wi

information on setting up another mail domain

2012-09-24 Thread Jon Miller
I need to configure a existing mail server to accept mail for another domain until their server is replaced. I'm currently using postfix-2.2.9-10.18, which I know is old. Is it necessary to update the postfix first? Thanks Jon L Miller m (intl):+61 0412 126 166 m (aus): 0412 126 166

Re: Feature request: new parameter no_result_format for ldap and sql maps

2012-09-24 Thread Viktor Dukhovni
On Thu, Sep 20, 2012 at 10:48:15AM +0200, Michael Storz wrote: > >This is an account provisioning problem, not an MTA routing problem. > >The best solution is to not send email to the user until the > >provisioning is complete. > > Unfortunately we can't tackle the account provisioning problem >

Re: Forward or BCC email

2012-09-24 Thread Noel Jones
On 9/24/2012 5:19 PM, Jeroen van Aart wrote: > I would like to know what is the simplest way to do the following: > > Assuming my server is an MTA for domain example.net with local > delivery to mostly virtual users. Virtual user addresses look like > virtu...@example.net. These users often get em

Re: sporadic bouts of lost connections to exchange 2010 hub transport

2012-09-24 Thread Noel Jones
On 9/24/2012 3:03 PM, Aaron Bennett wrote: > Hi, > > > > I’m running 2.3.3 on CentOS 5 as a mail relay; most of my mail is > delivered to an internal Exchange 2010 environment with two Hub > Transport machines clustered behind Windows NLB under the same > hostname. > > > > I’m seeing spora

Forward or BCC email

2012-09-24 Thread Jeroen van Aart
I would like to know what is the simplest way to do the following: Assuming my server is an MTA for domain example.net with local delivery to mostly virtual users. Virtual user addresses look like virtu...@example.net. These users often get emails from the example.org domain. Email received

Re: Force same in and outgoing ip numbers?

2012-09-24 Thread /dev/rob0
On Mon, Sep 24, 2012 at 10:26:05PM +0200, Benny Pedersen wrote: > DN Singh skrev den 24-09-2012 18:31: > >You can setup multiple postfix instances for each ip. > > and one postfix have no problem have seperate listner pr ip That's not the issue. The issue is that in a single instance, it isn't s

Re: reporting

2012-09-24 Thread Nick Rosier
Jack S wrote: Hello All, Does anyone know of a reporting tool which allows you to search email logs and show the results in a web interface? I see that cpanel has a pretty nice one showing success and failure along with details of the delivery in a very simple clean interface. rsyslog (http:

Re: reporting

2012-09-24 Thread Benny Pedersen
Jack S skrev den 24-09-2012 23:19: Hello All, Does anyone know of a reporting tool which allows you to search email logs and show the results in a web interface? ulogd, then make a webpage that uses sql or syslogd-ng where it logs direct to sql I see that cpanel has a pretty nice one showin

reporting

2012-09-24 Thread Jack S
Hello All, Does anyone know of a reporting tool which allows you to search email logs and show the results in a web interface? I see that cpanel has a pretty nice one showing success and failure along with details of the delivery in a very simple clean interface. -- Thanks! Joey

Re: Pgsql proxymap to IPv6-only DB

2012-09-24 Thread Wietse Venema
Nick Rosier: > proxy:pgsql:/usr/local/etc/postfix/sql/virtual_alias_maps.cf > > virtual_alias_maps.cf: > user = > password = > hosts = db.domain.tld > #hosts = [2001:xxx:xxx:xxx] > dbname = postfix Postfix passes the host directly to the PQsetdbLogin() function. I suppose that the Postgresql do

Re: Pgsql proxymap to IPv6-only DB

2012-09-24 Thread Nick Rosier
Wietse Venema wrote: Nick Rosier: Hi, I have Postfix configured to query some maps (proxy:pgsql) on my Postgresql-server which is only accessible through IPv6. Occasionally I see following errors: postfix/smtp: warning: connect to pgsql server db.domain.tld: could not translate host name "db.d

Re: Pgsql proxymap to IPv6-only DB

2012-09-24 Thread Wietse Venema
Nick Rosier: > Hi, > > I have Postfix configured to query some maps (proxy:pgsql) on my > Postgresql-server which is only accessible through IPv6. Occasionally > I see following errors: > > postfix/smtp: warning: connect to pgsql server db.domain.tld: could > not translate host name "db.domain.tld

Re: sporadic bouts of lost connections to exchange 2010 hub transport

2012-09-24 Thread Ralf Hildebrandt
> I'm running 2.3.3 on CentOS 5 as a mail relay; most of my mail is > delivered to an internal Exchange 2010 environment with two Hub > Transport machines clustered behind Windows NLB under the same > hostname. We have the same setup, but with a more recent postfix and OS. Shouldn't matter that m

Re: Force same in and outgoing ip numbers?

2012-09-24 Thread Benny Pedersen
DN Singh skrev den 24-09-2012 18:31: You can setup multiple postfix instances for each ip. and one postfix have no problem have seperate listner pr ip

Pgsql proxymap to IPv6-only DB

2012-09-24 Thread Nick Rosier
Hi, I have Postfix configured to query some maps (proxy:pgsql) on my Postgresql-server which is only accessible through IPv6. Occasionally I see following errors: postfix/smtp: warning: connect to pgsql server db.domain.tld: could not translate host name "db.domain.tld" to address: hostname n

Re: sporadic bouts of lost connections to exchange 2010 hub transport

2012-09-24 Thread Ralf Hildebrandt
* Aaron Bennett : > Sep 24 11:58:01 megalon.clarku.edu postfix/qmgr[28063]: BA1362E778B: > to=, relay=none, delay=0.06, > delays=0.05/0/0/0, dsn=4.4.2, status=deferred (delivery temporarily > suspended: lost connection with exchange.clarku.edu[140.232.254.129] > while receiving the initial server

sporadic bouts of lost connections to exchange 2010 hub transport

2012-09-24 Thread Aaron Bennett
Hi, I'm running 2.3.3 on CentOS 5 as a mail relay; most of my mail is delivered to an internal Exchange 2010 environment with two Hub Transport machines clustered behind Windows NLB under the same hostname. I'm seeing sporadic - and by sporadic I mean two or three intervals per month - when al

Re: Re: Setup maildir path based on user ID

2012-09-24 Thread Wietse Venema
V?clav Pernica: > > wietse: > > > Specify: > > > > /etc/postfix/main.cf: > > virtual_mailbox_maps = tcp:host:port > > > Thanks! This would be really elegant and easy solution. However > the server is running on RHEL 6.3 where the TCP_Tables are not > supported. Is there some easy way how t

Re: Re: Setup maildir path based on user ID

2012-09-24 Thread Václav Pernica
wietse: > Specify: > > /etc/postfix/main.cf: > virtual_mailbox_maps = tcp:host:port Thanks! This would be really elegant and easy solution. However the server is running on RHEL 6.3 where the TCP_Tables are not supported. Is there some easy way how to allow this functionality? I tested

Re: Force same in and outgoing ip numbers?

2012-09-24 Thread Kingsquare.nl - Marc van Duivenvoorde
Ok, It might need to deliver to the local machine, but the MX will be one of the other three ip's, this specific ip will solely be used as relay host for our web platform. I'll give this a try tomorrow. Thanks. Marc van Duivenvoorde Kingsquare information services. On Mon, Sep 24, 2012 at 6:41 P

Re: Feature request: new parameter no_result_format for ldap and sql maps

2012-09-24 Thread Wietse Venema
Michael Storz: > seems I was > not able to show the underlying problem, let me rephrase my problem: > > How can I configure arbitrarily complex if-then-else constructs > for every possible table type? You will have to outsource that logic with tcp_table lookups. Considering tha

Re: Force same in and outgoing ip numbers?

2012-09-24 Thread Wietse Venema
Kingsquare.nl - Marc van Duivenvoorde: > Hi, I've got a question. Let's say I have a machine with 4 ipnumbers, > all of which are being used to send e-mail. Is it possible to enforce > that whenever someone connects to smtp on one of these numbers, that > the smtpd will use the same ip? > > I have

Re: Force same in and outgoing ip numbers?

2012-09-24 Thread Noel Jones
On 9/24/2012 11:04 AM, Kingsquare.nl - Marc van Duivenvoorde wrote: > Hi, I've got a question. Let's say I have a machine with 4 ipnumbers, > all of which are being used to send e-mail. Is it possible to enforce > that whenever someone connects to smtp on one of these numbers, that > the smtpd will

Re: Force same in and outgoing ip numbers?

2012-09-24 Thread DN Singh
You can setup multiple postfix instances for each ip. On Sep 24, 2012 9:34 PM, "Kingsquare.nl - Marc van Duivenvoorde" < m...@kingsquare.nl> wrote: > Hi, I've got a question. Let's say I have a machine with 4 ipnumbers, > all of which are being used to send e-mail. Is it possible to enforce > that

Re: Problem with "invalid address syntax"

2012-09-24 Thread Noel Jones
On 9/24/2012 10:56 AM, Simon Effenberg wrote: > Hi, > > we have problems that Postfix is crying about "warning: Illegal address > syntax" for mails like: > > -b...@blub.org > > and i'm not sure if this is correct.. in the source code (it's quite > old but also a newer postfix (2.7) shows this) t

Force same in and outgoing ip numbers?

2012-09-24 Thread Kingsquare.nl - Marc van Duivenvoorde
Hi, I've got a question. Let's say I have a machine with 4 ipnumbers, all of which are being used to send e-mail. Is it possible to enforce that whenever someone connects to smtp on one of these numbers, that the smtpd will use the same ip? I have a shared machine, only for one mail account I use

Re: Feature request: new parameter no_result_format for ldap and sql maps

2012-09-24 Thread Michael Storz
Am 2012-09-19 22:27, schrieb Wietse Venema: Michael Storz: The consistency check requires that a user object is first (correctly) defined in OpenLDAP. Only then the second check looks for the correct definition in Active Directory. If it is not then we defer the email (we ... If a new user i

Problem with "invalid address syntax"

2012-09-24 Thread Simon Effenberg
Hi, we have problems that Postfix is crying about "warning: Illegal address syntax" for mails like: -b...@blub.org and i'm not sure if this is correct.. in the source code (it's quite old but also a newer postfix (2.7) shows this) there is a strict_rfc821 but i'm not sure if this one is what i'm

Re: Setup maildir path based on user ID

2012-09-24 Thread Wietse Venema
V?clav Pernica: > The idea is redirect the inbound mail into scrip which check if > user exists in oracle, then determine the path from user ID and > export it eg. like environmental variable. Such message could be Specify: /etc/postfix/main.cf: virtual_mailbox_maps = tcp:host:port where you

Setup maildir path based on user ID

2012-09-24 Thread Václav Pernica
Hello Is there any way how can I specify the mail directory location for virtual user via eg. environmental variable? I cannot use lookup tables because the user information are stored in Oracle DB The mails are delivered to user ID which looks like C. Where C is a character [a-zA-Z] a

Re: comments in master.cf

2012-09-24 Thread Wietse Venema
k p: > Hello, > > what is the rule of commenting out the lines in master.cf? man 5 master also on-line as http://www.postfix.org/master.5.html Wietse

Re: Different smtp-relay for specific recipients

2012-09-24 Thread Wietse Venema
Tobias Kirchhofer: > Am 23.09.12 17:02, schrieb Wietse Venema: > > tob...@kirchhofer.net: > > [ Charset ISO-8859-15 unsupported, converting... ] > >> Hello, this is my first post in this very valuable list. > >> > >> I am running successfully a postfix-sasl-cyrus-setup with virtual > >> domains. So

comments in master.cf

2012-09-24 Thread k p
Hello, what is the rule of commenting out the lines in master.cf? in master.cf lines starting with # comments are ignored , right? what about if the next line is indented (staring with space) I assume in the following sample only the commented line is ignored and -o cleanup... is considered a

Re: Different smtp-relay for specific recipients

2012-09-24 Thread Tobias Kirchhofer
Am 23.09.12 17:02, schrieb Wietse Venema: tob...@kirchhofer.net: [ Charset ISO-8859-15 unsupported, converting... ] Hello, this is my first post in this very valuable list. I am running successfully a postfix-sasl-cyrus-setup with virtual domains. Some recipients of the virtual domain example.c

Re: reject_unauth_pipelining, in smtpd_recipient_restrictions

2012-09-24 Thread Wietse Venema
we...@zackbummfertig.de: > > hello, > > i just ask myself , is it useful to set reject_unauth_pipelining in > "smtpd_recipient_restrictions"? > my thought was, its used only in DATA_restrictions. > am i on wrong way? Before Postfix 2.6 or so, pipelinine detection didn't work well before the DAT

Re: Proper forwarding behaviour

2012-09-24 Thread Bernhard Schmidt
On 23.09.2012 21:51, Ralf Hildebrandt wrote: Hello, >> - try to block as much spam as possible before forwarding (in our case >> that would mean RBL and pre-queue filters, as we are not allowed to drop >> mail we successfully received) > I think you already have some sort of spam filtering in pla

reject_unauth_pipelining, in smtpd_recipient_restrictions

2012-09-24 Thread weber
hello, i just ask myself , is it useful to set reject_unauth_pipelining in "smtpd_recipient_restrictions"? my thought was, its used only in DATA_restrictions. am i on wrong way? thanks for any help or explanations m,arko