Paul - 

Many thanks for getting back. I appreciate your help on a Sunday. 


This connection problem is weird, as we had gotten past it before. Have been 
re-reviewing all the bits and pieces, right down to the PG connection 
authorizations. 


Your message has led me to test ALL of the dbmail-lmtpd startup parameters, and 
this is interesting: 


Starting it with: 
# /usr/local/sbin/dbmail-lmtpd 


Sends some normal looking output to the log, with no other messages. But is it 
running? No process visible in # ps -A, for example. 


However, starting it with: 

# /usr/local/sbin/dbmail-lmtpd -D 
.... same good-looking log output, then: 

Segmentation Fault (core dumped) 


So, clearly something's up! Perhaps time to git pull and do another build? 


Side Issues; later: 
Since that email, I have enabled: LMTP-before-SMTP, as the dbmail.err log was 
reporting this was not set up. Important? 


Earlier, when it seemed we _were_ connecting OK, I was seeing an error like 
fatal: virtual_mailbox_base < 1. (true, because I have nothing set in this 
variable). Problem? 


Again, many thanks for your help.... Lou 



----- Original Message ----- 
From: "Paul J Stevens" <[email protected]> 
To: "DBMail mailinglist" <[email protected]> 
Sent: Sunday, August 1, 2010 7:35:53 AM 
Subject: Re: [Dbmail] dbmail-lmtpd connection refused -1 


Lou, 

Is dbmail-lmtpd running? Is it listening on 127.0.0.1:24? 

telnet localhost 24 

should give you something like 

Trying 127.0.0.1... 
Connected to localhost. 
Escape character is '^]'. 
220 mail DBMail LMTP service ready to rock 

Until you fix these, there's no point in testing postfix. 

The query you mention is only relevant for a postfix table lookup. It's 
not generated by lmtpd. 



On 08/01/2010 02:54 AM, Lou Picciano wrote: 
> DBMailers - 
> 
> Am trying again to manage a working configuration of 
> Postfix-DBMAIL-PostgreSQL. 
> Can someone help us diagnose this? 
> 
> Sending a test mail from an 'external domain' to our test server, Postix 
> is reporting: 
> 
> deliver_request_final: send: "connect to localhost[127.0.0.1]:24: 
> Connection refused" -1 
> (this would appear to be referring to the dbmail-lmtpd, no?) 
> 
> In fact, I do see the dbmail query in PostgresQL: 
> 
> SELECT DISTINCT 1 FROM dbmail_aliases WHERE SUBSTRING(alias FROM 
> POSITION('@' in alias)+1) = 'oneofourdomains.com'; 
> 
> and, yes, I have verified that the database user can connect with the 
> uname/password specified in /etc/dbmail.conf 
> 
> Can someone help? Lou 
> 
> 
> 
> _______________________________________________ 
> DBmail mailing list 
> [email protected] 
> 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 
[email protected] 
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail 
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to