virtual_alias_maps works with hash but not LDAP (Postfix 2.5.1)

2009-07-23 Thread John/SML
Hi, I am trying to build a scalable Postfix cluster (Postfix 2.5.1) serving 1000 - 30,000 users with LDAP. The idea is to store the account information inside LDAP and build Postfix servers, such that each server serves its own users, e.g. user1 on server1, user2 on server2 . Virtual domai

Canonical forward and reverse

2009-07-23 Thread Olivier Nicole
Hi, I managed to add canoical rewritting, but now I am stuck with postfix trying to deliver the message to the canonical name and not to the proper Unix login name. Using "sendmail -bv o...@cs.ait.ac.th" I get: --463023A3834.1248410743/mail2.cs.ait.ac.th Content-Description: Notification Content

Disabling SSLv2 on Postfox 2.5.1

2009-07-23 Thread Jake Vickers
I ma having a spot of trouble disabling SSLv2 on a Postfix 2.5.1 installation (from Fedora 9 repo). Here is my postconf: $ postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix co

Re: self signed ssl certs

2009-07-23 Thread S. Berch
Benny Pedersen" wrote: yes this is clear to me its is so, but i dont know why self signed ssl is being used so much when there is plenty of good trusted signers :/ There's little advantage to using CAcert or other free signing authorities compared to self-signed, since not even Firefox has

Re: which address is which?

2009-07-23 Thread Sahil Tandon
On Thu, 23 Jul 2009, Andrew Thompson wrote: > I'm a little confused by this entry in my log: > > Received: from adsl-dynamic-pool-xxx.fpt.vn (unknown [118.71.113.83]) > by mx.myserver.com (Postfix) with ESMTP id DAB68800D3 > for <__use...@aktzero.com>; Thu, 23 Jul 2009 18:23:54 + (

Re: Can't send mail using SSL -- Can send with TSL

2009-07-23 Thread S. Berch
Brian Evans wrote: The reason for sticking with SSL is for Outlook 2003 that doesn't have an option for TSL. "SSL" in older versions of Outlook (pre-2007 to my understanding) means the depreciated smtps port 465. Postfix supports this using wrapper mode and there is an example in your master

Re: Postfix delivery over IPv6, than ISP mail server

2009-07-23 Thread Wietse Venema
Joris Dobbelsteen: > > direct6 unix - - - - - smtp > > -o inet_protocol=ipv6 % postconf inet_protocol postconf: warning: inet_protocol: unknown parameter Wietse

Re: Postfix delivery over IPv6, than ISP mail server

2009-07-23 Thread Joris Dobbelsteen
Joris Dobbelsteen wrote, On 22-07-09 00:27: Wietse Venema wrote, On 21-07-09 23:12: Joris Dobbelsteen: [ Charset ISO-8859-1 unsupported, converting... ] I'm using Postfix 2.3 (with debian etch, but I'm planning to go to postfix 2.5 with debian lenny). I'm using the postfix box solely for relay

Re: Exclude a domain from processing, and forward?

2009-07-23 Thread Sahil Tandon
On Jul 23, 2009, at 6:30 PM, "Terry Carmen" wrote: Perhaps you could use multiple postfix instances; use use foo_transport (instead of content_filter) to route mail to amavisd- new. For domains or recipients that should skip the filter, use a transport_map entry to route directly from first

Re: Mydomain & non-system users

2009-07-23 Thread Noel Jones
Rodman Frowert wrote: Hello, I would like to receive mail at "mydomain" for a few users that are not system (unix) users. I know I can add them as system users, however, from a security standpoint I'd rather not. How can I have postfix deliever mail to them? Do I have to create a new local lo

Re: Exclude a domain from processing, and forward?

2009-07-23 Thread Terry Carmen
> Perhaps you could use multiple postfix instances; use use > foo_transport (instead of content_filter) to route mail to amavisd- > new. For domains or recipients that should skip the filter, use a > transport_map entry to route directly from first -> second instance of > Postfix, bypassing amavis

Mydomain & non-system users

2009-07-23 Thread Rodman Frowert
Hello, I would like to receive mail at "mydomain" for a few users that are not system (unix) users. I know I can add them as system users, however, from a security standpoint I'd rather not. How can I have postfix deliever mail to them? Do I have to create a new local lookup table? If that is

Re: Forwarding Hosted Domain Mail to GMail

2009-07-23 Thread Ryan O'Toole
Thanks Aaron! Your suggestion turns out to be the problem. I was sending my tests from gmail, though I was using a different account than my gmail account for the from address. Apparently, gmail doesn't like that. Sending from that same address but using a different mail client, the mail goes to m

mydomain & alias questions

2009-07-23 Thread Rodman Frowert
Hello, I am wanting to accept mail for "mydomain" but I have users that don't need system (unix) accounts and I really don't want to create them just for their mail. Is there an easy way to lookup these users outside the local table? Also, what happens to my system users if another table is c

Re: Exclude a domain from processing, and forward?

2009-07-23 Thread Sahil Tandon
On Jul 23, 2009, at 1:58 PM, "Terry Carmen" wrote: I asked a similar question on the Amavis list, but as I think about it, it might be more appropriate to handle in postfix, before the mail ever gets to amavis. Currently postfix accepts mail for a number of domains, and all mail gets s

Re: Forwarding Hosted Domain Mail to GMail

2009-07-23 Thread Seth Mattinen
Ryan O'Toole wrote: > Sure, sure. I realize Google is Google and Postfix is Postfix. > > My purpose in mailing to this list is questioning whether there are > additional steps I need to take when configuring my postfix server so > that my mail won't be blacklisted. > > I'm reading a little on rev

Re: Forwarding Hosted Domain Mail to GMail

2009-07-23 Thread Ryan O'Toole
Sure, sure. I realize Google is Google and Postfix is Postfix. My purpose in mailing to this list is questioning whether there are additional steps I need to take when configuring my postfix server so that my mail won't be blacklisted. I'm reading a little on reverse DNS right now and it doesn't

Re: Forwarding Hosted Domain Mail to GMail

2009-07-23 Thread Seth Mattinen
Ryan O'Toole wrote: > > However, when I send an email to one of those addresses it never arrives > to my gmail, though I can see that postfix received and forwarded it. > > mail.log: > Jul 23 18:46:05 izardry postfix/smtp[2039]: 6BF6C3F800AD: > to=mailto:roto...@gmail.com>>, > orig_to=mailto:i...

Re: which address is which?

2009-07-23 Thread Ralf Hildebrandt
* Andrew Thompson : > I'm a little confused by this entry in my log: > > Received: from adsl-dynamic-pool-xxx.fpt.vn (unknown [118.71.113.83]) > by mx.myserver.com (Postfix) with ESMTP id DAB68800D3 > for <__use...@aktzero.com>; Thu, 23 Jul 2009 18:23:54 + (UTC) > > If I `host 118.7

Forwarding Hosted Domain Mail to GMail

2009-07-23 Thread Ryan O'Toole
I want postfix to forward email from a few of my domains to my gmail account, so I followed the Postfix Virtual Domain Hosting HowTofor forwarding. Here are the changes I made to main.cf and /etc/postfix/virtual: main.cf: ... virtual_alias_dom

Re: Exclude a domain from processing, and forward?

2009-07-23 Thread Terry Carmen
> Terry Carmen a écrit : >> I asked a similar question on the Amavis list, but as I think about it, it >> might be more appropriate to handle in postfix, before the mail ever gets to >> amavis. >> >> Currently postfix accepts mail for a number of domains, and all mail gets >> sent >> though amavis

Re: Aliases

2009-07-23 Thread mouss
Postfix a écrit : > Thanks, > Putting the fqn in the virtual map: > someem...@mydomain.comtestal...@fqdn.of.host > > worked. I didn't see this in the online docs, but I may have missed it. > Addresses with a domain part get a @$myorigin added. see the ADDRESS REWRITE README or the entry for

Re: aliases forwarding on local subnetl DMZ

2009-07-23 Thread mouss
Peter Macko a écrit : > I have two mailservers behind a firewall and they are on the same subnet > e.g. > A: @test.sk 192.168.1.5 > B: @test.eu 192.168.1.6 > > MX records in DNS on internet are e.g. > A: @test.sk 194.1.1.5 > B: @test.eu 194.1.1.6 > > On the A server I have setup aliases file to

Re: Exclude a domain from processing, and forward?

2009-07-23 Thread mouss
Terry Carmen a écrit : > I asked a similar question on the Amavis list, but as I think about it, it > might be more appropriate to handle in postfix, before the mail ever gets to > amavis. > > Currently postfix accepts mail for a number of domains, and all mail gets sent > though amavisd-new using

Re: which address is which?

2009-07-23 Thread Brian Evans - Postfix List
Andrew Thompson wrote: > I'm a little confused by this entry in my log: > > Received: from adsl-dynamic-pool-xxx.fpt.vn (unknown [118.71.113.83]) > by mx.myserver.com (Postfix) with ESMTP id DAB68800D3 > for <__use...@aktzero.com>; Thu, 23 Jul 2009 18:23:54 + (UTC) > > If I `host 118.71

which address is which?

2009-07-23 Thread Andrew Thompson
I'm a little confused by this entry in my log: Received: from adsl-dynamic-pool-xxx.fpt.vn (unknown [118.71.113.83]) by mx.myserver.com (Postfix) with ESMTP id DAB68800D3 for <__use...@aktzero.com>; Thu, 23 Jul 2009 18:23:54 + (UTC) If I `host 118.71.113.83`, I get: 83.113

Re: sieve instead procmail?

2009-07-23 Thread Benny Pedersen
On Thu, July 23, 2009 18:20, Michael Monnerie wrote: > Now if you can tell me the way to get the e-mail out of that "deliver" > program again into postfix, with the recipient rewritten to > user+mail...@x.y, then you made my day. http://wiki.dovecot.org/LDA/Postfix see the -m option on delivery

Re: sieve instead procmail?

2009-07-23 Thread Mikael Bak
Michael Monnerie wrote: > > Now if you can tell me the way to get the e-mail out of that "deliver" > program again into postfix, with the recipient rewritten to > user+mail...@x.y, then you made my day. > I can be terribly wrong here, but isn't this what amavisd-new does when working together

Exclude a domain from processing, and forward?

2009-07-23 Thread Terry Carmen
I asked a similar question on the Amavis list, but as I think about it, it might be more appropriate to handle in postfix, before the mail ever gets to amavis. Currently postfix accepts mail for a number of domains, and all mail gets sent though amavisd-new using the configuration below, and is th

Re: How to forwad emails to specific IP address

2009-07-23 Thread J.P. Trosclair
Peter Macko wrote: How can I forward emails to a specific mailserver ip address? I do not want postfix to make DNS lookup for actual mailserver ip address. I am using /etc/aliases u...@domain1.com: u...@domain2.com I would like to specify mailserver's ip address for "@domain2.com" in some conf

Re: How to forwad emails to specific IP address

2009-07-23 Thread David Koski
man transport David On Thursday 23 July 2009, Peter Macko wrote: > How can I forward emails to a specific mailserver ip address? > I do not want postfix to make DNS lookup for actual mailserver ip address. > > I am using /etc/aliases > u...@domain1.com: u...@domain2.com > > I would like to specif

How to forwad emails to specific IP address

2009-07-23 Thread Peter Macko
How can I forward emails to a specific mailserver ip address? I do not want postfix to make DNS lookup for actual mailserver ip address. I am using /etc/aliases u...@domain1.com: u...@domain2.com I would like to specify mailserver's ip address for "@domain2.com" in some configuration file. Is th

Re: Can't send mail using SSL -- Can send with TSL

2009-07-23 Thread Brian Evans - Postfix List
S. Berch wrote: > Sending mail using SSL just hangs. Logs show connection, then disconnect. > > Sending mail using TSL works. > > Adding the following to main.cf didn't help: > smtpd_tls_protocols = SSLv1 SSLv2 SSLv3 TLSv1 > > The reason for sticking with SSL is for Outlook 2003 that doesn't have >

Can't send mail using SSL -- Can send with TSL

2009-07-23 Thread S. Berch
Sending mail using SSL just hangs. Logs show connection, then disconnect. Sending mail using TSL works. Adding the following to main.cf didn't help: smtpd_tls_protocols = SSLv1 SSLv2 SSLv3 TLSv1 The reason for sticking with SSL is for Outlook 2003 that doesn't have an option for TSL. Thanks

Re: sieve instead procmail?

2009-07-23 Thread Brian Evans - Postfix List
Michael Monnerie wrote: > On Donnerstag 23 Juli 2009 Benny Pedersen wrote: > >>> Just why is there not a simple sieve implementation that rewrites >>> mails going to x...@y.z to x+mymail...@y.z and re-calls postfix again. >>> >> this can be done with postfix header test imho, and dovecot

Re: sieve instead procmail?

2009-07-23 Thread Michael Monnerie
On Donnerstag 23 Juli 2009 Victoriano Giralt wrote: > Why don't you just call the "external program" for the delivery as > you call sieve. In my systems we call dovecot's deliver like this: > > dovecot   unix  -       n       n       -       -       pipe >   flags=DRhu user=v:v argv=/usr/libexec/do

Re: Aliases

2009-07-23 Thread Postfix
Thanks, Putting the fqn in the virtual map: someem...@mydomain.comtestal...@fqdn.of.host worked. I didn't see this in the online docs, but I may have missed it. - Original Message - From: "Barney Desmond" To: Sent: Thursday, July 23, 2009 7:35 AM Subject: Re: Aliases 2009/7/24

Re: sieve instead procmail?

2009-07-23 Thread Michael Monnerie
On Donnerstag 23 Juli 2009 Benny Pedersen wrote: > > Just why is there not a simple sieve implementation that rewrites > > mails going to x...@y.z to x+mymail...@y.z and re-calls postfix again. > > this can be done with postfix header test imho, and dovecot can use + > addresing You miss the point

Re: sieve instead procmail?

2009-07-23 Thread Benny Pedersen
On Thu, July 23, 2009 16:32, Michael Monnerie wrote: > On Mittwoch 22 Juli 2009 Benny Pedersen wrote: >> or add sieve protocol to zarafa > I'd wish that, but that's not in my possibility. tryed http://horde.org/ ? > Just why is there not a simple sieve implementation that rewrites mails > going

Re: sieve instead procmail?

2009-07-23 Thread Victoriano Giralt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/23/09 16:33, Michael Monnerie wrote: > Ah, this was s close. What a pity. > Maybe there's another way? > What about a postfix milter? > I just need a sieve that can call an external program to deliver mails. > Is that really not existing? Wh

Re: postfix strip ??? (highbit chars)

2009-07-23 Thread Benny Pedersen
On Thu, July 23, 2009 16:27, Noel Jones wrote: > Justin Piszcz wrote: >> I also see a similar issue: >> X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "MIME-Version" >> Mainly from veritas-bu and asterisk-users mailing lists, is there a >> work-around or fix for this? contact sender,

Re: Aliases

2009-07-23 Thread Barney Desmond
2009/7/24 Postfix : > I have an alias setup > testalias:    ema...@mydomain.com, ema...@mydomain.com > > I also use virtual mappings, so I have a line like this: > someem...@mydomain.com testalias That sounds about right. > However, when I email someem...@mydomain.com, it gets bounced back as: >

Re: sieve instead procmail?

2009-07-23 Thread Michael Monnerie
On Mittwoch 22 Juli 2009 Ralf Hildebrandt wrote: > User dovecot deliver instead of procmail when doing local delivery. > That's it. From dovecots documentation in LDA.Sieve.txt: NB: Sieve doesn't support running external programs. And in VirtualUsers.txt: It's not possible to use the Sieve plugin

Re: sieve instead procmail?

2009-07-23 Thread Michael Monnerie
On Mittwoch 22 Juli 2009 Stefan Förster wrote: > What excatly are you trying to do with Sieve filtering? To keep existing scripts. I filter my mails to 100+ different folders, no fun to convert this to procmail. mfg zmi -- // Michael Monnerie, Ing.BSc- http://it-management.at // Te

Re: sieve instead procmail?

2009-07-23 Thread Michael Monnerie
On Mittwoch 22 Juli 2009 Benny Pedersen wrote: > or add sieve protocol to zarafa I'd wish that, but that's not in my possibility. Just why is there not a simple sieve implementation that rewrites mails going to x...@y.z to x+mymail...@y.z and re-calls postfix again. That would be a simple postf

Re: postfix strip ??? (highbit chars)

2009-07-23 Thread Noel Jones
Justin Piszcz wrote: I also see a similar issue: X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "MIME-Version" Mainly from veritas-bu and asterisk-users mailing lists, is there a work-around or fix for this? Justin. This is just an informational message. You can ignore it. I

Re: Newbie question - HOWTO Postfix cluster

2009-07-23 Thread Simon Waters
On Thursday 23 July 2009 14:53:01 John Mok wrote: > > I am new to Postfix. Is Postfix capable to build the cluster without > local user accounts on the servers? Yes. See virtual_mailbox_maps, virtual_mailbox_domains etc http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox When I designe

Aliases

2009-07-23 Thread Postfix
Hi All, I have postfix mostly setup and working, everything seems to work except aliases. I have an alias setup testalias:ema...@mydomain.com, ema...@mydomain.com I also use virtual mappings, so I have a line like this: someem...@mydomain.com testalias However, when I email someem...@myd

Re: postfix strip ??? (highbit chars) (SOLVED)

2009-07-23 Thread Benny Pedersen
On Thu, July 23, 2009 12:31, Wietse Venema wrote: > Show 'postconf -n' command output. http://wordpress.junc.org/?p=5 resolved fixed here -- xpoint

Newbie question - HOWTO Postfix cluster

2009-07-23 Thread John Mok
Hi, I am trying to build a Postfix cluster for a large scalable company network (e.g. no. of users 1000 - 30,000). For instance :- Domain : example.com Server #1: server1.example.com Server #2: server2.example.com . The account information will be stored in a LDAP database, such that the

Re: postfix strip ??? (highbit chars)

2009-07-23 Thread Justin Piszcz
On Thu, 23 Jul 2009, Wietse Venema wrote: Benny Pedersen: On Thu, July 23, 2009 02:29, Sahil Tandon wrote: On Jul 22, 2009, at 7:28 PM, "Benny Pedersen" wrote: On Thu, July 23, 2009 01:07, Sahil Tandon wrote: % postconf message_strip_charters postconf: warning: message_strip_charters:

Re: Many SQL Lookups on outbounding mails

2009-07-23 Thread Thomas Gelf
Clunk Werclick wrote: > Thank you Thomas. I stick with Mysql and worry if I ever have to set up > a server so big it fails. If that happens I have lots of £$£ and pay > someone else to do it whilst I sit on beach sipping wine. Once that happens: let me know! I'll join you at the beach and configur

Re: postfix strip ??? (highbit chars)

2009-07-23 Thread Wietse Venema
Benny Pedersen: > > On Thu, July 23, 2009 02:29, Sahil Tandon wrote: > > On Jul 22, 2009, at 7:28 PM, "Benny Pedersen" wrote: > > > >> > >> On Thu, July 23, 2009 01:07, Sahil Tandon wrote: > >> > >>> % postconf message_strip_charters > >>> postconf: warning: message_strip_charters: unknown parame

Re: Many SQL Lookups on outbounding mails

2009-07-23 Thread Clunk Werclick
On Thu, 2009-07-23 at 11:57 +0200, Thomas Gelf wrote: > Clunk Werclick wrote: > > That is very reassuring Thomas, thank you. > > > > Now I don't know if I should stay with SQL or drop to maps ? It is > > easier to configure with SQL from a web based front end - but to get SQL > > to dump to flat

Re: Many SQL Lookups on outbounding mails

2009-07-23 Thread Thomas Gelf
Clunk Werclick wrote: > That is very reassuring Thomas, thank you. > > Now I don't know if I should stay with SQL or drop to maps ? It is > easier to configure with SQL from a web based front end - but to get SQL > to dump to flat files and Postmap is also only a few Perl lines. What is > a fool

Re: Many SQL Lookups on outbounding mails

2009-07-23 Thread Clunk Werclick
On Thu, 2009-07-23 at 11:24 +0200, Thomas Gelf wrote: > Clunk Werclick wrote: > > On Thu, 2009-07-23 at 13:50 +1000, Barney Desmond wrote: > >> You need to ask yourself if this is a real problem, or something > >> you're just imagining. Mysql generally works fine, 50,000 messages a > >> day at 12 q

Re: Many SQL Lookups on outbounding mails

2009-07-23 Thread Clunk Werclick
On Thu, 2009-07-23 at 18:47 +1000, Barney Desmond wrote: > From: > Barney Desmond > >To: > postfix users list > > Subject: > Re: Many SQL Lookups on outbounding > mails > Date:

Re: Many SQL Lookups on outbounding mails

2009-07-23 Thread Thomas Gelf
Clunk Werclick wrote: > On Thu, 2009-07-23 at 13:50 +1000, Barney Desmond wrote: >> You need to ask yourself if this is a real problem, or something >> you're just imagining. Mysql generally works fine, 50,000 messages a >> day at 12 queries each, equates to several queries per second. This is >> a

Re: Many SQL Lookups on outbounding mails

2009-07-23 Thread Barney Desmond
2009/7/23 Clunk Werclick : > That is a comfort to know. My main concern was this hammering was not > optimal, but it is welcome to make as many queries as it likes if it > does not crash the database server. Perhaps Postgresql would be a bit > more manly ? but slower ? Realistically you shouldn't

Re: postfix strip ??? (highbit chars)

2009-07-23 Thread Seth Mattinen
Benny Pedersen wrote: > On Thu, July 23, 2009 01:00, Noel Jones wrote: >> Did you run "postfix reload"? > > yes > >> Do you have postfix 2.3 or later? > > 2.5.7 > >> Show evidence. "postconf -n" output, contents of your >> message, etc. > > do i really have to :/ > If you ask for help and c