Re: Postfix + stunnel SMTPS = address rewriting issue

2010-06-02 Thread Jack Browning
On Tue, Jun 1, 2010 at 6:17 PM, Wietse Venema wie...@porcupine.org wrote: Jack Browning: No address rewriting is occurring even though Postfix is invoking its SMTP client to deliver the mail to the remote host, and my generic map (after postmap and a reload) contains an entry like this:

Custom Policy Integration

2010-06-02 Thread punit jain
Hi , I have a postfix server running and it needs to be integrated with 3rd party Policy server. What that server expects is smtp negotiation ie. mail from, rcpt to along with source IP to be sent to policy server in form of a HTTP call. Based on the policy, the policy server will return a code

Re: Custom Policy Integration

2010-06-02 Thread Wietse Venema
punit jain: Hi , I have a postfix server running and it needs to be integrated with 3rd party Policy server. What that server expects is smtp negotiation ie. mail from, rcpt to along with source IP to be sent to policy server in form of a HTTP call. Based on the policy, the policy server

Re: Postfix (Ubuntu 9.10 x64) said: 421 4.4.1 Connection timed out (in reply to end of DATA command)

2010-06-02 Thread Ioannis Tsouvalas
), but what if things do escalate and other mail servers join the queue. Thank you, and everyone else for your input so far. -- Ioannis __ Information from ESET Smart Security, version of virus signature database 5165 (20100602) __ The message was checked by ESET Smart Security. http

RE: Custom Policy Integration

2010-06-02 Thread Khawaja M. Jawad
You can also use policyd - cluebringer as 3rd party policy server with postfix server. http://www.policyd.org -- Jawad -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema Sent: Wednesday, June 02, 2010 4:07 PM

Re: Virtual domains

2010-06-02 Thread curtis
On Tue, 01 Jun 2010, cur...@maurand.com wrote: postconf -n follows. At first glance, I notice you redefine several parameters to their default value. Why? I'll point out just a few of them below. access_map_reject_code = 554 This is default. bounce_queue_lifetime = 0 Are you sure

Re: Postfix + stunnel SMTPS = address rewriting issue

2010-06-02 Thread Wietse Venema
Jack Browning: Live and learn. Since the fix suggested earlier in this thread -- keying the remote username:password entries to the users' local addresses -- produces the desired result, the issue didn't involve generic mapping at all. No generic mapping was done until the message was

Sender address rejected: Domain not found

2010-06-02 Thread Robert Fitzpatrick
I am getting a lot of these for various domains... Jun 2 07:21:08 esmtp postfix/smtpd[55535]: NOQUEUE: reject: RCPT from mail.cypresspartners.com[72.242.211.227]: 450 4.1.8 onlinebanking.ela...@onlinealert.bankofamerica.com: Sender address rejected: Domain not found;

Re: Sender address rejected: Domain not found

2010-06-02 Thread John Peach
On Wed, 02 Jun 2010 08:50:53 -0400 Robert Fitzpatrick li...@webtent.net wrote: I am getting a lot of these for various domains... Jun 2 07:21:08 esmtp postfix/smtpd[55535]: NOQUEUE: reject: RCPT from mail.cypresspartners.com[72.242.211.227]: 450 4.1.8

Re: Sender address rejected: Domain not found

2010-06-02 Thread Ralf Hildebrandt
* Robert Fitzpatrick li...@webtent.net: I am getting a lot of these for various domains... Jun 2 07:21:08 esmtp postfix/smtpd[55535]: NOQUEUE: reject: RCPT from mail.cypresspartners.com[72.242.211.227]: 450 4.1.8 onlinebanking.ela...@onlinealert.bankofamerica.com: Sender address rejected:

Re: Virtual domains

2010-06-02 Thread Charles Marcus
On 2010-06-02 8:21 AM, cur...@maurand.com wrote: Probably not a good idea, but I was stabbing at things without really understanding them. I was working from readme's and examples. the postfix book that I have is good, but incomplete when it comes to virtual domains and wasn't any help in what

force smtp tls from certain senders

2010-06-02 Thread m listus
Hi again, I need to tell postfix to force smtp only for certain senders. I read http://www.postfix.org/TLS_README.html which helps me get tls running w/ postfix, plus Client TLS limitations. I'm thinking of using smtpd with smtpd_tls_wrappermode=yes on a different port. But my main problem is

Re: force smtp tls from certain senders

2010-06-02 Thread Wietse Venema
m listus: Hi again, I need to tell postfix to force smtp only for certain senders. IP addresses? Domain names? Envelope addresses? Different requirements allow for different solutions. For example, a packet filter redirect allows you to invisibly switch to a different SMTP server

Re: Sender address rejected: Domain not found

2010-06-02 Thread Robert Fitzpatrick
On 6/2/2010 8:56 AM, Ralf Hildebrandt wrote: * Robert Fitzpatrickli...@webtent.net: I am getting a lot of these for various domains... Jun 2 07:21:08 esmtp postfix/smtpd[55535]: NOQUEUE: reject: RCPT from mail.cypresspartners.com[72.242.211.227]: 450 4.1.8

Re: Sender address rejected: Domain not found

2010-06-02 Thread Ralf Hildebrandt
* Robert Fitzpatrick li...@webtent.net: Your message did not reach some or all of the intended recipients. Subject: LCM Summary Sent: 6/2/2010 10:18 AM The following recipient(s) could not be reached: rob...@webtent.com on 6/2/2010 10:19 AM You do not have permission to send

Re: Sender address rejected: Domain not found

2010-06-02 Thread Robert Fitzpatrick
On 6/2/2010 10:43 AM, Ralf Hildebrandt wrote: I guess Exchange didn't like that and did reject the mail. Usually the error message contains info about mailserver generating this message. Yes, that is what I hate about Exchange, the error messages vagueness. Thanks.

closing connection issue?

2010-06-02 Thread Proniewski Patrick
Hello, I've switched few days ago from an old Mac OS X Server 10.3.x / Postfix 2.0.10 to a FreeBSD 7.3 / Postfix 2.7.0. Since then, I've got various problems. This message will present only one of them. Here is my setup: A postfix mail gateway (MAILGW) doing address rewriting gets emails from

Re: closing connection issue?

2010-06-02 Thread Wietse Venema
Proniewski Patrick: Since the migration from Postfix 2.0.10 to Postfix 2.7.0, smtp logs on LB pool display a huge amount of No answer,timeout message. From about 0-30 per day, the timeout count has jumped to 1500-5500 per day. That implies that the load balancer gets no response from Postfix.

Re: Virtual domains

2010-06-02 Thread /dev/rob0
On Tue, Jun 01, 2010 at 08:48:27PM -0400, cur...@maurand.com wrote: I have several domains that I have non-unix mailboxes (they are stored by sql using an alternative lmtp daemon after running them through amavisd-new. This works under the current configuration, but I'm not bouncing

Re: easy transport case / complicated solution?

2010-06-02 Thread Victor Duchovni
On Wed, May 26, 2010 at 02:46:39PM +0200, Josef G. Bauer wrote: Hi Wietse, thanks for your answer. /etc/postfix/transport: .intranet.mydomain.com : But if an email was addresses to b...@pelikan (without the domain) wouldn't it be delivered via the relayhost then? In default

Re: closing connection issue?

2010-06-02 Thread Victor Duchovni
On Wed, Jun 02, 2010 at 05:14:45PM +0200, Proniewski Patrick wrote: So it appears that the connection between MAILGW and LB is not always properly closed. Am I wrong? http://www.postfix.org/postconf.5.html#smtp_connection_cache_on_demand http://www.postfix.org/CONNECTION_CACHE_README.html

Re: force smtp tls from certain senders

2010-06-02 Thread Victor Duchovni
On Wed, Jun 02, 2010 at 07:15:15AM -0700, m listus wrote: I need to tell postfix to force smtp only for certain senders. This is up to the senders. If they want to disclose the data, they'll post it on slashdot, without talking to your SMTP server... There is not much point in MX hosts,

Re: Virtual domains

2010-06-02 Thread Victor Duchovni
On Wed, Jun 02, 2010 at 08:21:03AM -0400, cur...@maurand.com wrote: defer_code = 550 Why? Why not? I'll look more at the docs. Because it is an incredibly bad idea. Transient errors need to generate *transient* (4XX) error response codes. Setting the defer_code to 5XX is about as

Re: Virtual domains

2010-06-02 Thread Curtis Maurand
On 6/2/2010 1:20 PM, Victor Duchovni wrote: On Wed, Jun 02, 2010 at 08:21:03AM -0400, cur...@maurand.com wrote: defer_code = 550 Why? Why not? I'll look more at the docs. Because it is an incredibly bad idea. Transient errors need to generate *transient* (4XX)

Re: Virtual domains (more)

2010-06-02 Thread mouss
cur...@maurand.com a écrit : Can I also assume that I would use relay_domains and relay_transport? Correct? see the ADDRESS CLASS README. in short, domains/addresses come into many flaours: - if mail is to be delivered to unix accounts, then * list the domain in mydestination * list valid

Re: Virtual domains

2010-06-02 Thread Charles Marcus
On 2010-06-02 4:15 PM, Curtis Maurand wrote: 666 messages blocked by amavis Hopefully you aren't BOUNCING these ('rejecting' *after* you've accepted them, which, once they get to amavisd-new, you've accepted them unless you're using it in a pre-queue filter, which is resource intensive and only

Mail to local domains

2010-06-02 Thread Mike Hutchinson
Hello all, I am writing to ask for a procedure for sending a broadcast E-Mail to locally hosted domains on a postfix system. Currently we use postfixadmin for this, but this is undesirable as it will often double-up or triple-up entire sends (we intend to fix this, eventually). I know the

Re: unknown recipient issue

2010-06-02 Thread Stan Hoeppner
Curtis Maurand put forth on 6/1/2010 2:13 PM: I was editing the table by hand, but it seemed to be easier to do via the dbmail administrator and the mysql lookup. two domains, I'm simply filtering mail for and then sending along to their exchange server via smtp (sort of a postini type

Debian argument.. postfix hostname

2010-06-02 Thread Matt Hayes
Yes.. I know this has come up quite a bit, but on freenode in #postfix this discussion once again erupted when someone mentioned a bug in postfix and referencing this: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=214741 Now, I'm not all that bright on how postfix sorts out the hostname, and

Re: Debian argument.. postfix hostname

2010-06-02 Thread Jim Wright
Failure to properly configure Postfix isn't a bug. Documentation exists for a reason, if a config doesn't work, fix the config. Don't complain because magic doesn't happen. I know nothing about debian, and can't speak to any allowanced postfix does or doesn't make on that platform. I run

Re: Debian argument.. postfix hostname

2010-06-02 Thread Matt Hayes
On 06/02/2010 11:44 PM, Jim Wright wrote: Failure to properly configure Postfix isn't a bug. Documentation exists for a reason, if a config doesn't work, fix the config. Don't complain because magic doesn't happen. I know nothing about debian, and can't speak to any allowanced postfix

Re: Postfix 2.8 and 2.7 updates ready for testing

2010-06-02 Thread Jim Wright
OS X 10.6.3, attempting to build 2.7.1-RC1: (snip) In file included from dns_lookup.c:152: dns.h:26:28: error: nameser_compat.h: No such file or directory make: *** [dns_lookup.o] Error 1 make: *** [update] Error 1 In my 2.7 build, I referenced this file: arpa/nameser_compat.h Jim On Jun

Re: Debian argument.. postfix hostname

2010-06-02 Thread N. Yaakov Ziskind
Matt Hayes wrote (on Wed, Jun 02, 2010 at 11:48:53PM -0400): On 06/02/2010 11:44 PM, Jim Wright wrote: Failure to properly configure Postfix isn't a bug. Documentation exists for a reason, if a config doesn't work, fix the config. Don't complain because magic doesn't happen. I

Re: Debian argument.. postfix hostname

2010-06-02 Thread Stan Hoeppner
Matt Hayes put forth on 6/2/2010 9:46 PM: Yes.. I know this has come up quite a bit, but on freenode in #postfix this discussion once again erupted when someone mentioned a bug in postfix and referencing this: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=214741 Now, I'm not all that