Postfix Mailgateway Installation

2012-06-11 Thread santosh malavade
Hi, I am in the process of installing mailgateway server. Which option of installation should I use ? Installing from source code or precompiled packages. The current stable release available on postfix.org is May 20, 2012: Postfix stable release 2.9.3 and legacy releases 2.8.11, 2.7.10, 2.6.16

Re: LDAP URI supported by Postfix

2012-06-11 Thread Павел Бычихин
Thank you Viktor. Your info was very useful. 11.06.2012 23:15, Viktor Dukhovni пишет: On Mon, Jun 11, 2012 at 08:11:08PM +, Viktor Dukhovni wrote: On Mon, Jun 11, 2012 at 09:52:59AM -0700, Quanah Gibson-Mount wrote: --On Monday, June 11, 2012 12:34 PM + Viktor Dukhovni wrote: So t

Re: LDAP URI supported by Postfix

2012-06-11 Thread Viktor Dukhovni
On Mon, Jun 11, 2012 at 08:11:08PM +, Viktor Dukhovni wrote: > On Mon, Jun 11, 2012 at 09:52:59AM -0700, Quanah Gibson-Mount wrote: > > > --On Monday, June 11, 2012 12:34 PM + Viktor Dukhovni > > wrote: > > > > >So this SRV syntax is not available to applications that use > > >OpenLDAP,

Re: LDAP URI supported by Postfix

2012-06-11 Thread Viktor Dukhovni
On Mon, Jun 11, 2012 at 09:52:59AM -0700, Quanah Gibson-Mount wrote: > --On Monday, June 11, 2012 12:34 PM + Viktor Dukhovni > wrote: > > >So this SRV syntax is not available to applications that use > >OpenLDAP, for example Postfix. > > > >I would like to see proper SRV-based LDAP URIs in t

Re: LDAP URI supported by Postfix

2012-06-11 Thread Quanah Gibson-Mount
--On Monday, June 11, 2012 12:34 PM + Viktor Dukhovni wrote: So this SRV syntax is not available to applications that use OpenLDAP, for example Postfix. I would like to see proper SRV-based LDAP URIs in the OpenLDAP library, based on correctly formed escaping rules. Sadly the support for

Re: status=bounced (host ... said: Client host rejected: Access denied

2012-06-11 Thread Wietse Venema
Feel Zhou: > Sorry about my big fronts. I'm not good at English. so I used Microsoft > Word to check my English words right or not. then copy/paste to the mail. > I will never do this again. I can use Google translate web page. > Thank you all friend help me about this problem. I will try my best t

Re: status=bounced (host ... said: Client host rejected: Access denied

2012-06-11 Thread Feel Zhou
Sorry about my big fronts. I'm not good at English. so I used Microsoft Word to check my English words right or not. then copy/paste to the mail. I will never do this again. I can use Google translate web page. Thank you all friend help me about this problem. I will try my best to understood what y

Re: PATCH: status=bounced (host ... said: Client host rejected: Access denied

2012-06-11 Thread Viktor Dukhovni
On Mon, Jun 11, 2012 at 11:33:01AM -0400, Wietse Venema wrote: > Viktor Dukhovni: > > > -o soft_bounce=yes > > > -o smtp_fallback_relay=relayusa.example.com > > > > That said, neither form will forward rejected mail to the fallback > > relay. The soft-bounce feature operates at th

PATCH: status=bounced (host ... said: Client host rejected: Access denied

2012-06-11 Thread Wietse Venema
Viktor Dukhovni: > > -o soft_bounce=yes > > -o smtp_fallback_relay=relayusa.example.com > > That said, neither form will forward rejected mail to the fallback > relay. The soft-bounce feature operates at the wrong layer for that > to happen. First the SMTP delivery agent gives up o

Re: Custom error msg

2012-06-11 Thread DTNX Postmaster
On Jun 11, 2012, at 15:00, tobi wrote: > Am 11.06.2012 13:17, schrieb DTNX Postmaster: >> Also, since it seems you are trying to block the use of address >> literals; the use of these is perfectly valid according to spec, so it >> may be a good idea to adjust your message somewhat, and explain; >>

Re: status=bounced (host ... said: Client host rejected: Access denied

2012-06-11 Thread Viktor Dukhovni
On Mon, Jun 11, 2012 at 10:21:50PM +0800, Feel Zhou wrote: > I set it in the master.cf file. The mail is put into the defer queue. And I > also set the line ?relay?, It still in the defer queue, Why it not send the > mail to the other mail server? > > /etc/postfix/master.cf: > > smtp un

Re: status=bounced (host ... said: Client host rejected: Access denied

2012-06-11 Thread Reindl Harald
would you PLEASE stop * TOP-POSTING * HTML * HTML WITH LARGE FONTS Am 11.06.2012 16:21, schrieb Feel Zhou: > > Thank you, Wietse > > I set it in the master.cf file. The mail is put into the > defer queue. And I also set the line > “relay”, It still in the defer queue, Why it n

Re: status=bounced (host ... said: Client host rejected: Access denied

2012-06-11 Thread Wietse Venema
Feel Zhou: > Thank you, Wietse > > I set it in the master.cf file. The mail is put into the defer queue. And I > also set the line ?relay?, It still in the defer queue, Why it not send the > mail to the other mail server? Look in your LOGFILE. Wietse

Re: DB access details for Postfix

2012-06-11 Thread Curtis Maurand
Check out dbmail, http://www.dbmail.org I've been using it for several years.  It works, though nobody's server management tools interface with it. --Curtis Krzysztof Trybowski wrote: > Hello all, > I've been setting up Postfix recently. I'm using virtual mailboxes and > store user data in M

Re: status=bounced (host ... said: Client host rejected: Access denied

2012-06-11 Thread Feel Zhou
Thank you, Wietse I set it in the master.cf file. The mail is put into the defer queue. And I also set the line “relay”, It still in the defer queue, Why it not send the mail to the other mail server? /etc/postfix/master.cf: smtp unix - - n - - smtp

Re: DB access details for Postfix

2012-06-11 Thread Krzysztof Trybowski
On Mon, Jun 11, 2012 at 3:29 PM, Wietse Venema wrote: > Krzysztof Trybowski: >> On Mon, Jun 11, 2012 at 2:24 PM, Wietse Venema wrote: >> >> > On the Postfix side, you usually need one .cf file per Postfix map. >> > On the MySQL side, you can store everything in one table. >> Yes, I use several P

Re: DB access details for Postfix

2012-06-11 Thread Wietse Venema
Krzysztof Trybowski: > On Mon, Jun 11, 2012 at 2:24 PM, Wietse Venema wrote: > > > On the Postfix side, you usually need one .cf file per Postfix map. > > > > On the MySQL side, you can store everything in one table. > > > > ? ? ? ?Wietse > > Yes, I use several Postfix maps, so I have several .c

Re: status=bounced (host ... said: Client host rejected: Access denied

2012-06-11 Thread Wietse Venema
Feel Zhou: > Maybe I do not make it clear. My mail server is in China, But Hotmail > server or Gmail server,etc (for example )in Usa maybe reject ip (or ip > segment )from china. so ,if my mail server in China be bounced by them, I > want to use my other email server in USA to send the mail who is

Re: Custom error msg

2012-06-11 Thread tobi
Am 11.06.2012 13:17, schrieb DTNX Postmaster: Also, since it seems you are trying to block the use of address literals; the use of these is perfectly valid according to spec, so it may be a good idea to adjust your message somewhat, and explain; /^\[.*\]$/ REJECT address literals not ac

Re: status=bounced (host ... said: Client host rejected: Access denied

2012-06-11 Thread Feel Zhou
Maybe I do not make it clear. My mail server is in China, But Hotmail server or Gmail server,etc (for example )in Usa maybe reject ip (or ip segment )from china. so ,if my mail server in China be bounced by them, I want to use my other email server in USA to send the mail who is be bounced. What ca

Re: DB access details for Postfix

2012-06-11 Thread Krzysztof Trybowski
On Mon, Jun 11, 2012 at 2:24 PM, Wietse Venema wrote: > On the Postfix side, you usually need one .cf file per Postfix map. > > On the MySQL side, you can store everything in one table. > >        Wietse Yes, I use several Postfix maps, so I have several .cf files. And in each of them — database

Re: LDAP URI supported by Postfix

2012-06-11 Thread Viktor Dukhovni
On Mon, Jun 11, 2012 at 10:04:59AM +0300, ? ??? wrote: > Does Postfix support LDAP URI like ldapsearch? Actually, OpenLDAP does not (properly) support SRV record-based LDAP URIs. > With ldapsearch in order to connect to AD controller I use next > URI: ldap:///dc%3Dtestdomain%2Cdc%3Dlocal

Re: DB access details for Postfix

2012-06-11 Thread Wietse Venema
Krzysztof Trybowski: > Hello all, > I've been setting up Postfix recently. I'm using virtual mailboxes and > store user data in MySQL. I'm aiming to create an elegant solution and > there's one thing that bugs me: I have several mysql-virtual_*.cf > files, each holding query to a different MySQL ta

Re: your mail

2012-06-11 Thread Wietse Venema
achal tomar: > On Mon, Jun 11, 2012 at 4:27 PM, Wietse Venema wrote: > > > achal tomar: > > > So wietse can how can i send mail with PHP script to my mail server which > > > has postfix on it so that the return path of mails send has the > > following:- > > > > > > Assume there is a user called a

DB access details for Postfix

2012-06-11 Thread Krzysztof Trybowski
Hello all, I've been setting up Postfix recently. I'm using virtual mailboxes and store user data in MySQL. I'm aiming to create an elegant solution and there's one thing that bugs me: I have several mysql-virtual_*.cf files, each holding query to a different MySQL table. Each of those files also c

Re: Custom error msg

2012-06-11 Thread DTNX Postmaster
On Jun 11, 2012, at 09:36, tobi wrote: > I have a question concerning a custome error msg when using a helo_check > In helo_check I have the following line: > << > /^[0-9\.]+$/ 550 Not a valid helo name >>> > now I want to allow some trustworth hosts to be allowed to send such a > helo. So I put

Re: your mail

2012-06-11 Thread achal tomar
On Mon, Jun 11, 2012 at 4:27 PM, Wietse Venema wrote: > achal tomar: > > So wietse can how can i send mail with PHP script to my mail server which > > has postfix on it so that the return path of mails send has the > following:- > > > > Assume there is a user called ac...@example.net and that an

Re: your mail

2012-06-11 Thread Wietse Venema
achal tomar: > So wietse can how can i send mail with PHP script to my mail server which > has postfix on it so that the return path of mails send has the following:- > > Assume there is a user called ac...@example.net and that an individual, > b...@example.org has has to be send mai. > >- re

Re:

2012-06-11 Thread Reindl Harald
i can not image someone using mail function in PHP http://code.google.com/a/apache-extras.org/p/phpmailer/downloads/list BTW1: normally a thread started without subject should be ignored BTW2: i am too lazy fixing others top-posting Am 11.06.2012 12:30, schrieb Alvin Wong: > Perhaps this is what

Re:

2012-06-11 Thread Alvin Wong
Perhaps this is what you're looking for: http://php.net/manual/en/function.mail.php I can't imagine someone not reading the php manual. 2012/6/11 achal tomar : > So wietse can how can i send mail with PHP script to my mail server which > has postfix on it so that the return path of mails send has

Re:

2012-06-11 Thread Charles Marcus
This is the POSTFIX support list, not a PHP support list. Please go ask your question on an appropriate (PHP support) list... On 2012-06-11 5:58 AM, achal tomar wrote: So wietse can how can i send mail with PHP script to my mail server which has postfix on it so that the return path of mails s

[no subject]

2012-06-11 Thread achal tomar
So wietse can how can i send mail with PHP script to my mail server which has postfix on it so that the return path of mails send has the following:- Assume there is a user called ac...@example.net and that an individual, b...@example.org has has to be send mai. - return path: achal+bob=exampl

Re: status=bounced (host ... said: Client host rejected: Access denied

2012-06-11 Thread Reindl Harald
Am 11.06.2012 04:00, schrieb Feel Zhou: > > Jun 11 09:16:57 testserver postfix/smtp[1289]: AF6B71D: to= >, > relay=hotmail.example.com [192.168.18.36]:25, > delay=0.24, delays=0.04/0.02/0.14/0.04, > dsn=5.7.1, status=bounced (host hotmail.examp

Custom error msg

2012-06-11 Thread tobi
Hi list I have a question concerning a custome error msg when using a helo_check In helo_check I have the following line: << /^[0-9\.]+$/ 550 Not a valid helo name >> now I want to allow some trustworth hosts to be allowed to send such a helo. So I put the sending system in mynetworks parameter an

Re: VERP postfix issue.

2012-06-11 Thread achal tomar
On Sun, Jun 10, 2012 at 4:32 AM, Wietse Venema wrote: > achal tomar: > > ~/.forward+listname: > > "|/some/where/command ..." > > > > I am no able to understand what is the meaning of that is what to write > in it:- > >"|/some/where/command ..." > > VERP_README says: > >You need to set

LDAP URI supported by Postfix

2012-06-11 Thread Павел Бычихин
Hi! Does Postfix support LDAP URI like ldapsearch? Name of my domain is "testdomain.local". With ldapsearch in order to connect to AD controller I use next URI: ldap:///dc%3Dtestdomain%2Cdc%3Dlocal All goes ok: ldapsearch looks for SRV records in DNS and successfully connects to controller. But