
lists at karthaus
Jan 16, 2011, 4:30 PM
Post #3 of 3
(527 views)
Permalink
|
Hello Paul, That has solved the problem. The messages are now deferred and redelivery is successfull. thank you, Marius On 16-01-11 22:32, Paul J Stevens wrote: > Marius, > > please try this patch > > http://git.dbmail.eu/paul/dbmail/patch/?id=9fedaa2d4fd26ba762b07092998eab34df8252d6 > > > > On 01/16/2011 04:17 PM, Marius Karthaus wrote: >> Hi list, >> >> I'm using DBmail 2.2.17+ postfix 2.7 >> >> I've created a script that receives email and pushes it into a CRM >> system. For this to work I'm forwarding email to a pipe (-t >> |/path/to/program) >> I've found that if this fails (crash, exitcode>0, non-executable etc) >> the message is not queued for retry and no error is send back to the >> sender. >> Is there a way to fix this? >> >> Regards, >> Marius Karthaus >> >> ( Note in this example I've removed the execution permissions from the >> program, i've edited the log to obscure the adresses) >> >> ==> /var/log/dbmail.err<== >> sh: usr/local/sbin/mail2crm: Permission denied >> Jan 16 16:10:20 mail3 dbmail-lmtpd[3222]: Error:[delivery] >> pipe.c,send_mail(+186): sendmail error return value was [126] >> >> ==> /var/log/mail.info<== >> Jan 16 16:10:20 mail3 postfix/smtpd[24157]: 5BC2132C00BD: >> client=localhost[127.0.0.1], sasl_method=PLAIN, sasl_username=XXX [at] XXX >> Jan 16 16:10:20 mail3 postfix/cleanup[24160]: 5BC2132C00BD: >> message-id=<4D330A5B.4030601 [at] XXX> >> Jan 16 16:10:20 mail3 postfix/qmgr[8149]: 5BC2132C00BD: >> from=<XXX [at] XXX>, size=566, nrcpt=1 (queue active) >> Jan 16 16:10:20 mail3 postfix/smtpd[24157]: disconnect from >> localhost[127.0.0.1] >> Jan 16 16:10:20 mail3 dbmail/lmtpd[3222]: Error:[delivery] >> pipe.c,send_mail(+186): sendmail error return value was [126] >> Jan 16 16:10:20 mail3 postfix/lmtp[24161]: 5BC2132C00BD: >> to=<YYY [at] YYY>, relay=localhost[127.0.0.1]:24, delay=0.17, >> delays=0.11/0/0/0.06, dsn=2.0.0, status=sent (215 Recipient<YYY [at] YYY> >> OK) >> >> and after a minute: >> >> ==> /var/log/mail.info<== >> Jan 16 16:11:20 mail3 dbmail/lmtpd[3222]: Error:[lmtp] >> lmtp.c,lmtp_handle_connection(+205): client timed, connection closed >> Jan 16 16:11:20 mail3 postfix/qmgr[8149]: 5BC2132C00BD: removed >> >> >> >> _______________________________________________ >> DBmail mailing list >> DBmail [at] dbmail >> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail >> > _______________________________________________ DBmail mailing list DBmail [at] dbmail http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
|