Connection refused

Issue #474 resolved
bojan.sliskovic created an issue

Hello, I am showing all piler statuses green (OK), piler is listening on 0.0.0.0:25. I set the hostname fqdn to piler.mydomain.intra and the MTA resolves it ok. However when I try to send email to archive@piler.mydomain.intra, in the postfix log I see dns=4.4.1. status=deffered (connect to piler.mydomain.intra[11.22.33.44]:25: Connection refused)

I also tried to telnet from Windows machine, and it connects, but gives 502 command not implemented to HELO or EHLO. Then I tried telnet from linux machine, and it went ok. I was able to send email, and piler processed it. THEN I tried telnet from the linux server that has the MTA, and got connection refused over 25

I am not sure what is the problem?

EDIT: piler 1.1.0, build 884

Thx for your help!

Comments (8)

  1. Janos SUTO repo owner

    Show me the piler logs, eg. /var/log/maillog. Also it's worth to check "ngrep -X port 25" on the piler host to see what's going on when you try to send an email from postfix.

  2. bojan.sliskovic reporter

    root@xxx:/var/log# netstat -plntu | grep :25 tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 3173/piler

    ngrep -X port 25

    22.22.22.22 is piler host

    T 11.11.11.11:25 -> 22.22.22.22:56377 [AP] 220 mail.server.com ESMTP Postfix..

    T 22.22.22.22:56377 -> 11.11.11.11:25 [AP] QUIT..

    T 11.11.11.11:25 -> 22.22.22.22:56377 [AP] 221 2.0.0 Bye..

    /var/log/mail.log

    basically this repeats:

    • Jan 13 21:05:01 piler logger: INDEXER INFO: indexing delta1 started
    • Jan 13 21:05:01 piler logger: INDEXER INFO: indexing delta1 finished
    • Jan 13 21:05:06 piler logger: INDEXER INFO: merging delta to dailydelta started
    • Jan 13 21:05:06 piler logger: INDEXER INFO: merging delta to dailydelta finished
    • Jan 13 21:07:45 piler piler[3185]: connection from 22.22.22.22
    • Jan 13 21:12:45 piler piler[3176]: connection from 22.22.22.22
    • Jan 13 21:17:45 piler piler[3184]: connection from 22.22.22.22
    • Jan 13 21:22:46 piler piler[3182]: connection from 22.22.22.22
    • Jan 13 21:27:47 piler piler[3180]: connection from 22.22.22.22

    Tnx for any help!

  3. bojan.sliskovic reporter
    • changed status to open

    Have to reopen... 5emails went through, but the problem is back again. Connection refused...

  4. Log in to comment