Well, I re-installed the qmail portion of the toaster, and now the correct name shows up when I telnet into the box, however, the problem still persists. The /var/log/qmail/smtpd/current file still shows a connection refused. Interestingly the /var/log/qmail/current file shows this:

Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/

As far as I can tell everything looks right, but I could use some help to double-check.

Thanks,
John

John Harmon wrote:
DOH!, should have thought of that one. I am able to connect, however, telnet reports the old server's host name when I do. What do I need to change to make it work? With the exception of the rcpthosts under /var/qmail/* I changed the other instances to the correct name.

Thanks,
John

Tren Blackburn wrote:

And what happens when you try:

telnet localhost 25

And try to simulate a smtp conversation.

t

----- Original Message -----
From: John Harmon <[email protected]>
To: [email protected] <[email protected]>
Sent: Thu Feb 19 07:19:07 2009
Subject: Re: [toaster] SMTP: connection refused -- after migration of data from another server

From the output below, you can see it is indeed running (or appears to be):

ns:~ # ps aux | grep smtp
root      6654  0.0  0.0   1448   324 ?        S    Feb18   0:00
supervise qmail-smtpd
vpopmail  6668  0.0  0.0   1636   500 ?        S    Feb18   0:00
/usr/local/bin/tcpserver -v -H -R -l 0 -x
/home/vpopmail/etc/tcp.smtp.cdb -c 130 -u 89 -g 89 0 smtp
/var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true
qmaill    6672  0.0  0.0   1452   316 ?        S    Feb18   0:00
/usr/local/bin/multilog t /var/log/qmail/smtpd
root 31634 0.0 0.0 1956 672 pts/0 S+ 08:06 0:00 grep smtp

ns:~ # netstat -ant | grep :25
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN

I tried to grab you a piece of the log, but doesn't appear to be
updating anymore despite the above.

Thanks,
John


Tren Blackburn wrote:
> Connection refused means the process isn't running. Ensure your
> qmail-smtpd processes are running. What do the qmail-smtpd logs show?
>
> t.
>
>  >> -----Original Message-----
>> From: John Harmon [mailto:[email protected]]
>> Sent: Wednesday, February 18, 2009 8:55 PM
>> To: [email protected]
>> Subject: [toaster] SMTP: connection refused -- after migration of data
>> from another server
>>
>> I migrated the /var/qmail/* and /srv/data/* from server 1 to server 2. >> The users are recognized under the smtp logs, but I show a "connection
>> refused" with nothing else.  What am I missing after the migration
>>    > that
> >> is refusing the connection. Again, the logs acknowledge that the user
>> is found.
>> Thanks,
>> John
>>


Reply via email to