Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: users

Postfix > DBMail 2.2 (lost connections)

 

 

DBMail users RSS feed   Index | Next | Previous | View Threaded


greminn at gmail

Mar 10, 2009, 9:37 PM

Post #1 of 8 (1796 views)
Permalink
Postfix > DBMail 2.2 (lost connections)

Hi There,

After our "forced upgrade" of the os and dbmail from stage/dbmail_2.0
to etch/dbmail_2.2 we are seeing this sometimes in the mail filter
log:

Mar 11 17:32:21 mail-in1 postfix/qmgr[31948]: BAE4B482F9:
to=<clients [at] emailaddress>, relay=none, delay=0.08,
delays=0.06/0.02/0/0, dsn=4.4.2, status=deferred (delivery temporarily
suspended: lost connection with
210.OUR.DBMAIL.SERVER[210.OUR.DBMAIL.SERVER] while sending end of data
-- message may be sent more than once)

And there are multiple copies of mail going into mailboxes. I havent
the foggiest where to start with this one?

Any pointers?

Thanks,

Simon
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


michael.monnerie at is

Mar 11, 2009, 1:58 AM

Post #2 of 8 (1730 views)
Permalink
Re: Postfix > DBMail 2.2 (lost connections) [In reply to]

On Mittwoch 11 März 2009 Simon wrote:
> status=deferred (delivery temporarily
> suspended: lost connection with
> 210.OUR.DBMAIL.SERVER[210.OUR.DBMAIL.SERVER] while sending end of
> data -- message may be sent more than once)

Log into db logs. Maybe too many connections concurrently?

mfg zmi
--
// Michael Monnerie, Ing.BSc ----- http://it-management.at
// Tel: 0660 / 415 65 31 .network.your.ideas.
// PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


paul at nfg

Mar 11, 2009, 11:29 AM

Post #3 of 8 (1698 views)
Permalink
Re: Postfix > DBMail 2.2 (lost connections) [In reply to]

Simon wrote:
> Hi There,
>
> After our "forced upgrade" of the os and dbmail from stage/dbmail_2.0
> to etch/dbmail_2.2 we are seeing this sometimes in the mail filter
> log:
>
> Mar 11 17:32:21 mail-in1 postfix/qmgr[31948]: BAE4B482F9:
> to=<clients [at] emailaddress>, relay=none, delay=0.08,
> delays=0.06/0.02/0/0, dsn=4.4.2, status=deferred (delivery temporarily
> suspended: lost connection with
> 210.OUR.DBMAIL.SERVER[210.OUR.DBMAIL.SERVER] while sending end of data
> -- message may be sent more than once)

Increase the logging level on the lmtpd server. Set trace_level=5 until
you catch above error, and send in the resulting logs.

--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


greminn at gmail

Mar 11, 2009, 12:17 PM

Post #4 of 8 (1705 views)
Permalink
Re: Postfix > DBMail 2.2 (lost connections) [In reply to]

On Thu, Mar 12, 2009 at 7:29 AM, Paul J Stevens <paul [at] nfg> wrote:
> Simon wrote:
>> Hi There,
>>
>> After our "forced upgrade" of the os and dbmail from stage/dbmail_2.0
>> to etch/dbmail_2.2 we are seeing this sometimes in the mail filter
>> log:
>>
>> Mar 11 17:32:21 mail-in1 postfix/qmgr[31948]: BAE4B482F9:
>> to=<clients [at] emailaddress>, relay=none, delay=0.08,
>> delays=0.06/0.02/0/0, dsn=4.4.2, status=deferred (delivery temporarily
>> suspended: lost connection with
>> 210.OUR.DBMAIL.SERVER[210.OUR.DBMAIL.SERVER] while sending end of data
>> -- message may be sent more than once)
>
> Increase the logging level on the lmtpd server. Set trace_level=5 until
> you catch above error, and send in the resulting logs.

I have set the trace log and i think it is a collation issue in the
database... my tables are still set to latin. Could this be the issue?

I have the trace of several emails going into dbmail, some of which
had the above issue:

http://devtga.newmedia.co.nz/dbmail_trace.txt

(I will remove this after ive solved the issue and i reported back to the list).

Thanks

Simon
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


paul at nfg

Mar 11, 2009, 12:45 PM

Post #5 of 8 (1698 views)
Permalink
Re: Postfix > DBMail 2.2 (lost connections) [In reply to]

Looking at the logs I see:

Mar 12 08:11:40 mail-store1 dbmail/lmtpd[3544]: Info:[delivery]
pipe.c,send_mail(+144): opening pipe to
[/usr/local/autoresponder/autoresponder.php]

Is that script accessible?


Simon wrote:
> On Thu, Mar 12, 2009 at 7:29 AM, Paul J Stevens <paul [at] nfg> wrote:
>> Simon wrote:
>>> Hi There,
>>>
>>> After our "forced upgrade" of the os and dbmail from stage/dbmail_2.0
>>> to etch/dbmail_2.2 we are seeing this sometimes in the mail filter
>>> log:
>>>
>>> Mar 11 17:32:21 mail-in1 postfix/qmgr[31948]: BAE4B482F9:
>>> to=<clients [at] emailaddress>, relay=none, delay=0.08,
>>> delays=0.06/0.02/0/0, dsn=4.4.2, status=deferred (delivery temporarily
>>> suspended: lost connection with
>>> 210.OUR.DBMAIL.SERVER[210.OUR.DBMAIL.SERVER] while sending end of data
>>> -- message may be sent more than once)
>> Increase the logging level on the lmtpd server. Set trace_level=5 until
>> you catch above error, and send in the resulting logs.
>
> I have set the trace log and i think it is a collation issue in the
> database... my tables are still set to latin. Could this be the issue?
>
> I have the trace of several emails going into dbmail, some of which
> had the above issue:
>
> http://devtga.newmedia.co.nz/dbmail_trace.txt
>
> (I will remove this after ive solved the issue and i reported back to the list).
>
> Thanks
>
> Simon
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


greminn at gmail

Mar 11, 2009, 12:53 PM

Post #6 of 8 (1699 views)
Permalink
Re: Postfix > DBMail 2.2 (lost connections) [In reply to]

On Thu, Mar 12, 2009 at 8:45 AM, Paul J Stevens <paul [at] nfg> wrote:
> Looking at the logs I see:
>
> Mar 12 08:11:40 mail-store1 dbmail/lmtpd[3544]: Info:[delivery]
> pipe.c,send_mail(+144): opening pipe to
> [/usr/local/autoresponder/autoresponder.php]
>
> Is that script accessible?

No - not as yet as we are recovering the data on the old VM at the moment.

As you might guess, this is our auto responder script. In the
dbmail_aliases table we have two entries, one to deliver the mail to
the mailbox and one for the auto responder (for the clients who have
auto reponders on).

Do you think this could cause the issue?

Simon
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


greminn at gmail

Mar 11, 2009, 1:11 PM

Post #7 of 8 (1706 views)
Permalink
Re: Postfix > DBMail 2.2 (lost connections) [In reply to]

On Thu, Mar 12, 2009 at 8:53 AM, Simon <greminn [at] gmail> wrote:
> On Thu, Mar 12, 2009 at 8:45 AM, Paul J Stevens <paul [at] nfg> wrote:
>> Looking at the logs I see:
>>
>> Mar 12 08:11:40 mail-store1 dbmail/lmtpd[3544]: Info:[delivery]
>> pipe.c,send_mail(+144): opening pipe to
>> [/usr/local/autoresponder/autoresponder.php]
>>
>> Is that script accessible?
>
> No - not as yet as we are recovering the data on the old VM at the moment.
>
> As you might guess, this is our auto responder script. In the
> dbmail_aliases table we have two entries, one to deliver the mail to
> the mailbox and one for the auto responder (for the clients who have
> auto reponders on).
>
> Do you think this could cause the issue?

Update on this. I created a blank executable so make sure that there
was a script avaialble, but that didnt work. So i removed the entries
in the dbmail_aliases table and now we have no more errors.

However: We do need to make this work again. Is there a trick to
delivering to external scripts in 2.2?

Thanks

Simon
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


paul at nfg

Mar 12, 2009, 2:00 AM

Post #8 of 8 (1691 views)
Permalink
Re: Postfix > DBMail 2.2 (lost connections) [In reply to]

Delivery for external scripts in 2.2. works just the same as in 2.0.
However, autoresponders are much better written in sieve. But of course,
external scripts can do lots of stuff sieve can't.

Apparently dbmail fails to detect the missing script. That is a bug.
However, you can work around this by making sure the script exists, is
accessible for the dbmail user, and will execute as part of a pipe: by
testing that


will work.


Simon wrote:
> On Thu, Mar 12, 2009 at 8:53 AM, Simon <greminn [at] gmail> wrote:
>> On Thu, Mar 12, 2009 at 8:45 AM, Paul J Stevens <paul [at] nfg> wrote:
>>> Looking at the logs I see:
>>>
>>> Mar 12 08:11:40 mail-store1 dbmail/lmtpd[3544]: Info:[delivery]
>>> pipe.c,send_mail(+144): opening pipe to
>>> [/usr/local/autoresponder/autoresponder.php]
>>>
>>> Is that script accessible?
>> No - not as yet as we are recovering the data on the old VM at the moment.
>>
>> As you might guess, this is our auto responder script. In the
>> dbmail_aliases table we have two entries, one to deliver the mail to
>> the mailbox and one for the auto responder (for the clients who have
>> auto reponders on).
>>
>> Do you think this could cause the issue?
>
> Update on this. I created a blank executable so make sure that there
> was a script avaialble, but that didnt work. So i removed the entries
> in the dbmail_aliases table and now we have no more errors.
>
> However: We do need to make this work again. Is there a trick to
> delivering to external scripts in 2.2?
>
> Thanks
>
> Simon
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

DBMail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.