Re: Timeout delivering via LMTP

2012-06-12 Thread Angel L. Mateo
On 12/06/12 18:12, Viktor Dukhovni wrote: On Tue, Jun 12, 2012 at 12:32:24PM +0200, Angel L. Mateo wrote: In the smtp logs I have: Jun 12 11:41:18 xenon13 postfix/lmtp[4248]: 4433E5D5A0: to=, relay=pop.um.es[155.54.212.106]:24, delay=31, delays=0.41/0.06/0/30, dsn=4.4.0, status=deferre

RE: Postfix sometime ignoring transport map

2012-06-12 Thread Maxime Gaudreault
I deleted /var/lib/postfix/verify.db and reloaded postfix.. It seems ok now Thanks a lot for that ! I noticed a lot of these warning in mail.log: Jun 12 21:48:25 mx01 postfix/verify[12799]: close database /var/lib/postfix/verify.db: No such file or directory (possible Berkeley DB bug) Do you thi

Re: Postfix sometime ignoring transport map

2012-06-12 Thread Wietse Venema
Maxime Gaudreault: > Good answer ;) > > But, I just did some test, and more than 24 hours after the I first > noticed the issue, it still relay emails through the default relayhost: No, it doesn't. > Jun 12 16:43:03 mx01 postfix/smtpd[30843]: connect from > mailrelay7.megamailservers.com[209.235

RE: Postfix sometime ignoring transport map

2012-06-12 Thread Maxime Gaudreault
Good answer ;) But, I just did some test, and more than 24 hours after the I first noticed the issue, it still relay emails through the default relayhost: Jun 12 16:43:03 mx01 postfix/smtpd[30843]: connect from mailrelay7.megamailservers.com[209.235.143.13] Jun 12 16:43:13 mx01 postfix/smtpd[3084

Re: return address header postfix issue.

2012-06-12 Thread achal tomar
I have gone thorugh that actualy my scenario is that we have a server through which mails are sent by a PHP script to a server which has postfix as an MTA this postfix server then forwards mails to the network i.e to their destinations. In this scenario how can i achieve my goal with a VERP- encode

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

2012-06-12 Thread Feel Zhou
Hello, all my friend I'm very excited that slove the problem.with your help. Especially, I want to thank Wietse Venema very much. He give me the patch file , and teach me all the time. These things make me interested in Postfix more than before. Have a good day, my friend. Thanks again. 2012/6/1

Re: turn off mailer daemon returns

2012-06-12 Thread Noel Jones
On 6/12/2012 11:47 AM, Wael MANAI wrote: > with internal_mail_filter_classes and header_checks I can redirect > the message to my software in order to change X-Mms-Transaction-ID > parameter. But when I send the mailer-daemon with the good > parameter, the message loops. > > Here are my settings:

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

2012-06-12 Thread Wietse Venema
Feel Zhou: > Wietse said > > > You probably copied the patch from the email message via cut/paste, > > yes,I just do it. > > > You need to save the message to the patch file exactly as posted. > > What can I do that make it work? Instead of cut-and-paste, save the message to file. In gmail, s

i am interested to open relay exemple in c

2012-06-12 Thread ml
hello masters of postfix masters of c honorable and doctors and especially to master Wietse I am looking for a mini smtp server that takes a few lines or file. as it is possible to write an smtp client in c in a few hundred lines https://github.com/fakessh/openprojectssl/blob/master/smtp_openss

Re: turn off mailer daemon returns

2012-06-12 Thread Wael MANAI
with internal_mail_filter_classes and header_checks I can redirect the message to my software in order to change X-Mms-Transaction-ID parameter. But when I send the mailer-daemon with the good parameter, the message loops. Here are my settings: In main.cf: internal_mail_filter_classes = bounce hea

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

2012-06-12 Thread Feel Zhou
Wietse said > You probably copied the patch from the email message via cut/paste, yes,I just do it. > You need to save the message to the patch file exactly as posted. What can I do that make it work? 2012/6/13 Viktor Dukhovni > On Wed, Jun 13, 2012 at 12:19:11AM +0800, Feel Zhou wrote: > >

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

2012-06-12 Thread Viktor Dukhovni
On Wed, Jun 13, 2012 at 12:19:11AM +0800, Feel Zhou wrote: > Hi Wietse > > [root@relay smtp]# patch < smtp_trouble.c.patch > patching file smtp_trouble.c > Hunk #2 FAILED at 191. > Hunk #3 FAILED at 198. > Hunk #4 FAILED at 246. > Hunk #5 FAILED at 355. > Hunk #6 FAILED at 370. > Hunk #7 FAILED a

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

2012-06-12 Thread Feel Zhou
Hi Wietse [root@relay smtp]# patch < smtp_trouble.c.patch patching file smtp_trouble.c Hunk #2 FAILED at 191. Hunk #3 FAILED at 198. Hunk #4 FAILED at 246. Hunk #5 FAILED at 355. Hunk #6 FAILED at 370. Hunk #7 FAILED at 379. 6 out of 7 hunks FAILED -- saving rejects to file smtp_trouble.c.rej Wha

Re: Timeout delivering via LMTP

2012-06-12 Thread Viktor Dukhovni
On Tue, Jun 12, 2012 at 12:32:24PM +0200, Angel L. Mateo wrote: > In the smtp logs I have: > > Jun 12 11:41:18 xenon13 postfix/lmtp[4248]: 4433E5D5A0: > to=, relay=pop.um.es[155.54.212.106]:24, delay=31, > delays=0.41/0.06/0/30, dsn=4.4.0, status=deferred (host > pop.um.es[155.54.212.106] s

Re: Postfix sometime ignoring transport map

2012-06-12 Thread Wietse Venema
Maxime Gaudreault: > Jun 11 17:07:00 mx01 postfix/smtp[2003]: 61C50561039: to=< > recipi...@domain.ca>, relay=192.168.100.9[192.168.100.9]:25, > delay=3.4, delays=3.4/0/0/0, dsn=2.0.0, status=sent (250 2.0.0 > 4fd65e47-000321f5 Message accepted for delivery) Wietse: > This appears to be a real

RE: Postfix sometime ignoring transport map

2012-06-12 Thread Maxime Gaudreault
Bad delivery tries to send through 10.0.1.11 but verify the recipient with 192.168.100.9. 10.0.1.11 can't accept mail for this domain The good delivery send through 192.168.100.9 -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf

Re: Postfix sometime ignoring transport map

2012-06-12 Thread Wietse Venema
Maxime Gaudreault: > Jun 11 17:07:00 mx01 postfix/smtp[2003]: 61C50561039: to=< > recipi...@domain.ca>, relay=192.168.100.9[192.168.100.9]:25, delay=3.4, > delays=3.4/0/0/0, dsn=2.0.0, status=sent (250 2.0.0 4fd65e47-000321f5 > Message accepted for delivery) This appears to be a real email message

[SOLVED] virtual_alias_maps ignored when used dovecot-lda

2012-06-12 Thread Marko Weber
Solved. I had in master.cf in my reinjection point " no_address_mappings". after finxing 127.0.0.1:10026 inet n - n - - smtpd -o content_filter= -o local_header_rewrite_clients= -o local_recipient_maps= -o mynetworks=127.0.0.0/8 -o mynetworks_style=host -o

RE: Postfix sometime ignoring transport map

2012-06-12 Thread Maxime Gaudreault
root@mx01:~# postconf -n address_verify_map = btree:/var/lib/postfix/verify alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix disable_vrfy_command = yes hash_queue_names = "" header_checks = regexp:/etc/postfix/heade

Re: Postfix sometime ignoring transport map

2012-06-12 Thread Wietse Venema
Maxime Gaudreault: > I tried to set a text transport map and postmap'd it instead of mysql > and I get the same issue. Please show "postconf -n" output with the text transport maop, and logging for a "good" delivery and for a "bad" delivery. Please indicate which delivery is "good" and which is "b

Postfix sometime ignoring transport map

2012-06-12 Thread Maxime Gaudreault
Hi I posted this message on Baruwa and Postfix mailing list since I don't know where the problem is Postfix is set to use a relayhost and a mysql based transport map for some domain that are not hosted on the same server /etc/postfix/main.cf: transport_maps = mysql:/etc/postfix/mysql-

Postfix sometime ignoring transport map

2012-06-12 Thread Maxime Gaudreault
Hi I posted this message on Baruwa and Postfix mailing list since I don't know where the problem is Postfix is set to use a relayhost and a mysql based transport map for some domain that are not hosted on the same server /etc/postfix/main.cf: transport_maps = mysql:/etc/postfix/mysql-

SV: Mysql alias and "loops back to myself".

2012-06-12 Thread Jan Johansson
>query = select forwards.destination,users.email from forwards,users where >(forwards.user_id = users.id) and forwards.active and forwards.destination = >'%s'; maayyyb because I was still selecting two fields ... *sigh* sorry.

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

2012-06-12 Thread Wietse Venema
Feel Zhou: [ Charset ISO-8859-1 unsupported, converting... ] > Hi ,Wietse > My system is centos6.2/64bit > > version2.6.6 > postconf >postconf.feel > > version2.9.3 > postconf >postconf.feels > diff postconf.feel postconf.feels >postconf.patch > > cat postconf.patch > 3a4 > > address_ver

Re: return address header postfix issue.

2012-06-12 Thread Wietse Venema
Achal tomar: > > This is header of mail that i have received from mailchimp: > > Return-Path: > bounce-mc.us2_6034522.1358370-achal.tomar58=gmail@mail76.us2.mcsv.net> That is a VERP-encoded sender address. This combines the sender bounce-mc.us2_6034522.1358...@mail76.us2.mcsv.net

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

2012-06-12 Thread Feel Zhou
Hi ,Wietse My system is centos6.2/64bit version2.6.6 postconf >postconf.feel version2.9.3 postconf >postconf.feels diff postconf.feel postconf.feels >postconf.patch cat postconf.patch 3a4 > address_verify_cache_cleanup_interval = 12h 6c7 < address_verify_map = --- > addre

Mysql alias and "loops back to myself".

2012-06-12 Thread Jan Johansson
Ok, I have a bit of a problem with mysql aliases... user = dbuser password = dbpass dbname = c1mailforwards query = select forwards.destination,users.email from forwards,users where (forwards.user_id = users.id) and forwards.active and forwards.destination = '%s'; select_field = forwards.desti

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

2012-06-12 Thread Feel Zhou
/usr/local/src/postfix-2.9.3/src/smtp/smtp_troble.c I find this file,and check it,got the different with your patch Maybe I know how to patch old file to the new file. Let me try it. When patch finish, I need to make install again. Am I right? 2012/6/12 Feel Zhou > > Hello, wietse > > My operati

Re: virtual_alias_maps ignored when used dovecot-lda?

2012-06-12 Thread Marko Weber
hello list, back again ;-) on the dovecot list i got hint my problem must be postfix related. ( a bit of log is in mail downside ) Here is my output of postconf -n : address_verify_negative_cache = yes address_verify_negative_expire_time = 1d address_verify_negative_refresh_time = 1h address_

Timeout delivering via LMTP

2012-06-12 Thread Angel L. Mateo
Hi, I have a postfix farm delivering mail to dovecot backend servers via LMTP. Dovecot is configured with a LMTP proxy (director) that proxies the LMTP connection to the recipient's final server. Under heavy load (not so heavy really) I have sporadic timeout errors but messages are deliver

Re: Postfix Mailgateway Installation

2012-06-12 Thread santosh malavade
Thanks Stan and Pavel for your responses. On Tue, Jun 12, 2012 at 2:39 PM, Stan Hoeppner wrote: > On 6/12/2012 1:54 AM, santosh malavade wrote: > > > I am in the process of installing mailgateway server. > > Which option of installation should I use ? Installing from source code > or > > precom

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

2012-06-12 Thread Feel Zhou
Hello, wietse My operating system is centos6.2/64bit, It has postfix 2.6.6 itself, I tar the new postfix 2.9.3 Does this patch work in the 2.6.6 and 2.9.3 both? Does this patch work in centos 6.2/32bits? Would you show me the details about how to use this patch? Thank you very much 2012/6/12 Vik

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

2012-06-12 Thread Feel Zhou
Hi,Wietse /etc/postfix/master.cf smtp unix - - n - - smtp -o soft_bounce=yes -o smtp_fallback_relay=relayusa.example.net # When relaying mail as backup MX, disable fallback_relay to avoid MX loops relay unix - - n -

Re: Postfix Mailgateway Installation

2012-06-12 Thread Stan Hoeppner
On 6/12/2012 1:54 AM, santosh malavade wrote: > I am in the process of installing mailgateway server. > Which option of installation should I use ? Installing from source code or > precompiled packages. First, what message load are you designing this gateway to handle? One msg/sec? Ten msgs/se

Re: return address header postfix issue.

2012-06-12 Thread achal tomar
On Tue, Jun 12, 2012 at 2:30 PM, Reindl Harald wrote: > PLEASE reply to the list and not private! > > Am 12.06.2012 10:56, schrieb achal tomar: > > > > > > On Tue, Jun 12, 2012 at 1:40 PM, Reindl Harald > > h.rei...@thelounge.net>> wrote: > > > > > > > > Am 12.06.2012 09:26, schrieb Achal to

Re: return address header postfix issue.

2012-06-12 Thread Reindl Harald
Am 12.06.2012 09:26, schrieb Achal tomar: > > This is header of mail that i have received from mailchimp: > > Return-Path: > bounce-mc.us2_6034522.1358370-achal.tomar58=gmail@mail76.us2.mcsv.net> > Received: from mail76.us2.mcsv.net (mail76.us2.mcsv.net. [173.231.139.76]) > by mx.go

Re: Postfix Mailgateway Installation

2012-06-12 Thread Павел Бычихин
12.06.2012 9:54, 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: Post

Re: your mail

2012-06-12 Thread achal tomar
On Mon, Jun 11, 2012 at 5:50 PM, Wietse Venema wrote: > 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 s

return address header postfix issue.

2012-06-12 Thread Achal tomar
This is header of mail that i have received from mailchimp: Return-Path: bounce-mc.us2_6034522.1358370-achal.tomar58=gmail@mail76.us2.mcsv.net> Received: from mail76.us2.mcsv.net (mail76.us2.mcsv.net. [173.231.139.76]) by mx.google.com with ESMTP id er6si2501863qab.62.2012.06.03.05.09