Re: [qmailtoaster] connection refused from clients sending email

2009-08-16 Thread Jake Vickers

Maxwell Smart wrote:

Pardon my ignorance.  What exactly does the softlimit do?



It defines the maximum amount of memory a service *may* consume. It 
keeps the processes from running rampant and putting your system into a 
paging thrash.



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]




Re: [qmailtoaster] connection refused from clients sending email

2009-08-16 Thread Maxwell Smart

Pardon my ignorance.  What exactly does the softlimit do?

CJ

Jake Vickers wrote:

Phil Leinhauser wrote:
You said this started a couple weeks after you did a newmodel.  I 
think I smell a softlimit problem.  Are you running x64 OS?  You 
might need to bump the SMTP softlimit back up.  You should also check 
the rest of them (pop3, submit, etc)  I know that's something I have 
always had to do after running newmodel.


I know Jake has tried to bump it up in the patches but for me it 
still wasn't enough.


Phil


Just wanted to bring up the softlimit issue again. I doubled them from 
what they used to be - if they are still causing issues should I bump 
them up even more?
If anyone has been having issues with the softlimits or have needed to 
increase them, please let me know so I can increase them further.

Thanks.


- 

Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and 
installations.

 If you need professional help with your setup, contact them today!
- 

Please visit qmailtoaster.com for the latest news, updates, and 
packages.
 To unsubscribe, e-mail: 
[email protected]
For additional commands, e-mail: 
[email protected]







-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]




Re: [qmailtoaster] connection refused from clients sending email

2009-08-16 Thread Jake Vickers

Phil Leinhauser wrote:
You said this started a couple weeks after you did a newmodel.  I 
think I smell a softlimit problem.  Are you running x64 OS?  You might 
need to bump the SMTP softlimit back up.  You should also check the 
rest of them (pop3, submit, etc)  I know that's something I have 
always had to do after running newmodel.


I know Jake has tried to bump it up in the patches but for me it still 
wasn't enough.


Phil


Just wanted to bring up the softlimit issue again. I doubled them from 
what they used to be - if they are still causing issues should I bump 
them up even more?
If anyone has been having issues with the softlimits or have needed to 
increase them, please let me know so I can increase them further.

Thanks.


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]




RE: [qmailtoaster] connection refused from clients sending email

2009-08-12 Thread Phil Leinhauser
HAHA!!!  Don't ya' just hate that!!

 

Glad it was so simple.  Thanks for letting us know.  I was wondering.

 

From: Glen Vickers [mailto:[email protected]] 
Sent: Wednesday, August 12, 2009 1:17 AM
To: [email protected]
Subject: RE: [qmailtoaster] connection refused from clients sending email

 

Problem solved.

 

And yes, I bought yet another Tee shirt.  My fricken router blew!!!  So it
happened to be something rather simple.  Got the RMA today and all is fine.

 

Glen

 

Yea, there's only so much you can do remotely.  At this point a local visit
is needed.  I'm sure you're going to have a DUH! moment when you find it.
Been there, got too many Tee shirts...



> I'm pretty sure its not a routing problem. I'm starting to think it might
> be my DSL modem. I was able to telnet on the local machine. I'll have to
> test telnet to the box within the network later. I know it can't have an
> IP
> sharing issue. The DHCP range starts at 100 and this box is at 10. (4th
> octet).
> 
> 
> 
> I'll let everyone know what I find when I get myself to the network where
> the box is at.
> 
> 
> 
>
From: Phil Leinhauser [mailto:[email protected]]
> Sent: Friday, August 07, 2009 12:26 PM
> To: [email protected]
> Subject: RE: [qmailtoaster] connection refused from clients sending email
> 
> 
> 
> Off the top of my head. Maybe something will shake loose...
> 
> - Just for grins, run through the process of sending with telnet using ip
> addy on the local machine. Here's an example to follow how to do this:
> http://www.netadmintools.com/art276.html I'm sure it will work but what
> the
> heck...
> - Have you looked at tcp.smtp? Do you have anything that might cause this
> in there?
> - Is it at all possible you have another machine on the network with the
> same IP? Pull the nic cable and ping the ip.
> 
> - This one's a reach but worth a shot, maybe a switch problem? Try
> putting
> the server and one other machine on the same switch with NOTHING else
> connected, not even the rest of the network, and test.
> 
> In these cases I try to break things down into smaller bits and walk my
> way
> in or out.
> 
> Phil
> 
> 
> 
>> In my last reply, I lied. I can now telnet to the local address through
>> console just fine. Got a helo back and it responded. Outside in, is
>> where
>> the failure is.
>>
>> I am getting spamdyke messages in my smtp log. I see a denied for an
>> email
>> that just tried to relay through my server.
>>
>> @40004a7c0ab8320d2604 spamdyke[6976]: DENIED_OTHER from:
>> [email protected] to: gvick...@domain origin_ip: 74.125.149.207
>> origin_rdns: na3sys009aog112.obsmtp.com auth: (unknown)
>>
>>
>> Spamdyke.conf is
>>
>> dns-blacklist-entry=zombie.dnsbl.sorbs.net
>> #dns-blacklist-entry=dul.dnsbl.sorbs.net
>> #dns-blacklist-entry=bogons.cymru.com
>> dns-blacklist-entry=zen.spamhaus.org
>> dns-blacklist-entry=bl.spamcop.net
>> graylist-dir=/var/spamdyke/graylist
>> graylist-level=always
>> graylist-max-secs=2678400
>> graylist-min-secs=180
>> greeting-delay-secs=5
>> idle-timeout-secs=60
>> ip-blacklist-file=/etc/spamdyke/blacklist_ip
>> ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
>> ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
>> ip-whitelist-file=/etc/spamdyke/whitelist_ip
>> local-domains-file=/var/qmail/control/rcpthosts
>> log-level=info
>> log-target=stderr
>> max-recipients=50
>> #policy-url=http://my.policy.explanation.url/
>> rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
>> rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
>> recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
>> recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
>> reject-empty-rdns
>> #reject-ip-in-cc-rdns
>> reject-missing-sender-mx
>> reject-unresolvable-rdns
>> sender-blacklist-file=/etc/spamdyke/blacklist_senders
>> sender-whitelist-file=/etc/spamdyke/whitelist_senders
>> tls-certificate-file=/var/qmail/control/servercert.pem
>>
>>
>> -Original Message-
>>
>
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
>> Sent: Friday, August 07, 2009 11:39 AM
>> To: [email protected]
>> Subject: Re: [qmailtoaster] connection refused from clients sending
>> email
>>
>> Since you're receiving mail, I don't see how it can be a routing
>> problem.
>>
>> spamdyke looks ok. To be sure it's running, are you seeing sp

Re: [qmailtoaster] connection refused from clients sending email

2009-08-11 Thread Maxwell Smart

Great news.

Glen Vickers wrote:


Problem solved.

 

And yes, I bought yet another Tee shirt.  My fricken router blew!!!  
So it happened to be something rather simple.  Got the RMA today and 
all is fine.


 


Glen

 

Yea, there's only so much you can do remotely.  At this point a local 
visit is needed.  I'm sure you're going to have a DUH! moment when you 
find it.  Been there, got too many Tee shirts...




> I'm pretty sure its not a routing problem. I'm starting to think it 
might

> be my DSL modem. I was able to telnet on the local machine. I'll have to
> test telnet to the box within the network later. I know it can't have an
> IP
> sharing issue. The DHCP range starts at 100 and this box is at 10. (4th
> octet).
>
>
>
> I'll let everyone know what I find when I get myself to the network 
where

> the box is at.
>
>
>
>
From: Phil Leinhauser [mailto:[email protected]]
> Sent: Friday, August 07, 2009 12:26 PM
> To: [email protected]
> Subject: RE: [qmailtoaster] connection refused from clients sending 
email

>
>
>
> Off the top of my head. Maybe something will shake loose...
>
> - Just for grins, run through the process of sending with telnet 
using ip

> addy on the local machine. Here's an example to follow how to do this:
> http://www.netadmintools.com/art276.html I'm sure it will work but what
> the
> heck...
> - Have you looked at tcp.smtp? Do you have anything that might cause 
this

> in there?
> - Is it at all possible you have another machine on the network with the
> same IP? Pull the nic cable and ping the ip.
>
> - This one's a reach but worth a shot, maybe a switch problem? Try
> putting
> the server and one other machine on the same switch with NOTHING else
> connected, not even the rest of the network, and test.
>
> In these cases I try to break things down into smaller bits and walk my
> way
> in or out.
>
> Phil
>
>
>
>> In my last reply, I lied. I can now telnet to the local address through
>> console just fine. Got a helo back and it responded. Outside in, is
>> where
>> the failure is.
>>
>> I am getting spamdyke messages in my smtp log. I see a denied for an
>> email
>> that just tried to relay through my server.
>>
>> @40004a7c0ab8320d2604 spamdyke[6976]: DENIED_OTHER from:
>> [email protected] to: gvick...@domain origin_ip: 74.125.149.207
>> origin_rdns: na3sys009aog112.obsmtp.com auth: (unknown)
>>
>>
>> Spamdyke.conf is
>>
>> dns-blacklist-entry=zombie.dnsbl.sorbs.net
>> #dns-blacklist-entry=dul.dnsbl.sorbs.net
>> #dns-blacklist-entry=bogons.cymru.com
>> dns-blacklist-entry=zen.spamhaus.org
>> dns-blacklist-entry=bl.spamcop.net
>> graylist-dir=/var/spamdyke/graylist
>> graylist-level=always
>> graylist-max-secs=2678400
>> graylist-min-secs=180
>> greeting-delay-secs=5
>> idle-timeout-secs=60
>> ip-blacklist-file=/etc/spamdyke/blacklist_ip
>> ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
>> ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
>> ip-whitelist-file=/etc/spamdyke/whitelist_ip
>> local-domains-file=/var/qmail/control/rcpthosts
>> log-level=info
>> log-target=stderr
>> max-recipients=50
>> #policy-url=http://my.policy.explanation.url/
>> rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
>> rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
>> recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
>> recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
>> reject-empty-rdns
>> #reject-ip-in-cc-rdns
>> reject-missing-sender-mx
>> reject-unresolvable-rdns
>> sender-blacklist-file=/etc/spamdyke/blacklist_senders
>> sender-whitelist-file=/etc/spamdyke/whitelist_senders
>> tls-certificate-file=/var/qmail/control/servercert.pem
>>
>>
>> -Original Message-
>>
>
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
>> Sent: Friday, August 07, 2009 11:39 AM
>> To: [email protected]
>> Subject: Re: [qmailtoaster] connection refused from clients sending
>> email
>>
>> Since you're receiving mail, I don't see how it can be a routing
>> problem.
>>
>> spamdyke looks ok. To be sure it's running, are you seeing spamdyke
>> messages in the smtp log?
>> (spamdyke messages have ALLOWED or DENIED_ in them)
>>
>> What does your /etc/spamdyke/spamdyke.conf file contain?
>>
>> Glen Vickers wrote:
>>> Yes, I can receive mail all day and my client is able to download 
them.

RE: [qmailtoaster] connection refused from clients sending email

2009-08-11 Thread Glen Vickers
Problem solved.

 

And yes, I bought yet another Tee shirt.  My fricken router blew!!!  So it
happened to be something rather simple.  Got the RMA today and all is fine.

 

Glen

 

Yea, there's only so much you can do remotely.  At this point a local visit
is needed.  I'm sure you're going to have a DUH! moment when you find it.
Been there, got too many Tee shirts...



> I'm pretty sure its not a routing problem. I'm starting to think it might
> be my DSL modem. I was able to telnet on the local machine. I'll have to
> test telnet to the box within the network later. I know it can't have an
> IP
> sharing issue. The DHCP range starts at 100 and this box is at 10. (4th
> octet).
> 
> 
> 
> I'll let everyone know what I find when I get myself to the network where
> the box is at.
> 
> 
> 
>
From: Phil Leinhauser [mailto:[email protected]]
> Sent: Friday, August 07, 2009 12:26 PM
> To: [email protected]
> Subject: RE: [qmailtoaster] connection refused from clients sending email
> 
> 
> 
> Off the top of my head. Maybe something will shake loose...
> 
> - Just for grins, run through the process of sending with telnet using ip
> addy on the local machine. Here's an example to follow how to do this:
> http://www.netadmintools.com/art276.html I'm sure it will work but what
> the
> heck...
> - Have you looked at tcp.smtp? Do you have anything that might cause this
> in there?
> - Is it at all possible you have another machine on the network with the
> same IP? Pull the nic cable and ping the ip.
> 
> - This one's a reach but worth a shot, maybe a switch problem? Try
> putting
> the server and one other machine on the same switch with NOTHING else
> connected, not even the rest of the network, and test.
> 
> In these cases I try to break things down into smaller bits and walk my
> way
> in or out.
> 
> Phil
> 
> 
> 
>> In my last reply, I lied. I can now telnet to the local address through
>> console just fine. Got a helo back and it responded. Outside in, is
>> where
>> the failure is.
>>
>> I am getting spamdyke messages in my smtp log. I see a denied for an
>> email
>> that just tried to relay through my server.
>>
>> @40004a7c0ab8320d2604 spamdyke[6976]: DENIED_OTHER from:
>> [email protected] to: gvick...@domain origin_ip: 74.125.149.207
>> origin_rdns: na3sys009aog112.obsmtp.com auth: (unknown)
>>
>>
>> Spamdyke.conf is
>>
>> dns-blacklist-entry=zombie.dnsbl.sorbs.net
>> #dns-blacklist-entry=dul.dnsbl.sorbs.net
>> #dns-blacklist-entry=bogons.cymru.com
>> dns-blacklist-entry=zen.spamhaus.org
>> dns-blacklist-entry=bl.spamcop.net
>> graylist-dir=/var/spamdyke/graylist
>> graylist-level=always
>> graylist-max-secs=2678400
>> graylist-min-secs=180
>> greeting-delay-secs=5
>> idle-timeout-secs=60
>> ip-blacklist-file=/etc/spamdyke/blacklist_ip
>> ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
>> ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
>> ip-whitelist-file=/etc/spamdyke/whitelist_ip
>> local-domains-file=/var/qmail/control/rcpthosts
>> log-level=info
>> log-target=stderr
>> max-recipients=50
>> #policy-url=http://my.policy.explanation.url/
>> rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
>> rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
>> recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
>> recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
>> reject-empty-rdns
>> #reject-ip-in-cc-rdns
>> reject-missing-sender-mx
>> reject-unresolvable-rdns
>> sender-blacklist-file=/etc/spamdyke/blacklist_senders
>> sender-whitelist-file=/etc/spamdyke/whitelist_senders
>> tls-certificate-file=/var/qmail/control/servercert.pem
>>
>>
>> -Original Message-
>>
>
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
>> Sent: Friday, August 07, 2009 11:39 AM
>> To: [email protected]
>> Subject: Re: [qmailtoaster] connection refused from clients sending
>> email
>>
>> Since you're receiving mail, I don't see how it can be a routing
>> problem.
>>
>> spamdyke looks ok. To be sure it's running, are you seeing spamdyke
>> messages in the smtp log?
>> (spamdyke messages have ALLOWED or DENIED_ in them)
>>
>> What does your /etc/spamdyke/spamdyke.conf file contain?
>>
>> Glen Vickers wrote:
>>> Yes, I can receive mail all day and my client is able to download them.
>>> Just can't send from 

Re: [qmailtoaster] connection refused from clients sending email

2009-08-09 Thread Eric Shubert

ganesh payelkar wrote:


And just watch the log tail -f /var/log/qmail/submission/current


Tip:
# qmlog -f submission
is a shorter command, and gives a much nicer view of the log(s).

--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]




Re: [qmailtoaster] connection refused from clients sending email

2009-08-09 Thread ganesh payelkar
Dear Glen,

 What MUA are you using to send mail to your local server ? Did u
try to send mail on 587 port, try to send mail through telnet from your
local system within the lan.
And just watch the log tail -f /var/log/qmail/submission/current
Did you got nay error when you was trying to send mail to your
server through locally.
What is in /etc/tcprules.d/tcp.smtp  paste it here. If you feel there is
a problem of spamdyke then you can disable for moment and try it to send
mails.


Regards,
Ganesh



On Thu, Aug 6, 2009 at 1:10 PM, Glen Vickers  wrote:

>  Hello all,
>
>
>
> I’m having an issue I have yet to figure out.  About a week or so ago my
> server stopped accepting incoming connections to send mail.  I checked my
> router/firewall/port forwarding settings and all was correct. So I went
> inside our network (origionally the client was outside) and attempted to
> connect/send mail.  Same error from client, unable to connect to mail
> server.  So I attempted to telnet to both the external IP and internal IP
> addresses.  Connection refused (using putty).
>
>
>
> I checked the logs after that and don’t see any reference to any IP address
> attempting to connect to port 25.  I checked to see if IP tables had somehow
> been enabled on the machine. Nothing. I then checked for SELinux and ran
> nmap localhost and nmap *Domain* as well as nmap *hostname*.  It says port
> 25 is open and taking requests yet I get connection refused at any location.
>
>
>
> To make things interesting, I’m able to email to any address that server
> holds.  Just can’t reply/send out from any address the server holds.  Any
> thoughts where I could look?  The logs don’t even show an attempted
> connection.
>
>
>
>
>
>
>
> Glen Vickers
>


RE: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Phil Leinhauser


Yea, there's only so much you can do remotely.  At this point a local
visit is needed.  I'm sure you're going to have a DUH! moment when
you find it.  Been there, got too many Tee shirts...



> I'm pretty sure its not a routing problem.  I'm starting to
think it might
> be my DSL modem.  I was able to telnet on the
local machine.  I'll have to
> test telnet to the box within the
network later.  I know it can't have an
> IP
> sharing
issue.  The DHCP range starts at 100 and this box is at 10. (4th
>
octet).
> 
> 
> 
> I'll let everyone know
what I find when I get myself to the network where
> the box is
at.
> 
> 
> 
>
From: Phil Leinhauser
[mailto:[email protected]]
> Sent: Friday, August 07, 2009 12:26
PM
> To: [email protected]
> Subject: RE:
[qmailtoaster] connection refused from clients sending email
> 
> 
> 
> Off the top of my head.  Maybe something will
shake loose...
> 
> - Just for grins, run through the
process of sending with telnet using ip
> addy on the local
machine.  Here's an example to follow how to do this:
>
http://www.netadmintools.com/art276.html  I'm sure it will work but
what
> the
> heck...
> - Have you looked at
tcp.smtp?  Do you have anything that might cause this
> in
there?
> - Is it at all possible you have another machine on the
network with the
> same IP?  Pull the nic cable and ping the
ip.
> 
> - This one's a reach but worth a shot, maybe a
switch problem?  Try
> putting
> the server and one other
machine on the same switch with NOTHING else
> connected, not even
the rest of the network, and test.
> 
> In these cases I
try to break things down into smaller bits and walk my
> way
> in or out.
> 
> Phil
> 
> 
> 
>> In my last reply, I lied. I can now telnet to the
local address through
>> console just fine. Got a helo back and
it responded. Outside in, is
>> where
>> the failure
is.
>>
>> I am getting spamdyke messages in my smtp
log. I see a denied for an
>> email
>> that just
tried to relay through my server.
>>
>>
@40004a7c0ab8320d2604 spamdyke[6976]: DENIED_OTHER from:
>>
[email protected] to: gvick...@domain origin_ip: 74.125.149.207
>> origin_rdns: na3sys009aog112.obsmtp.com auth: (unknown)
>>
>>
>> Spamdyke.conf is
>>
>> dns-blacklist-entry=zombie.dnsbl.sorbs.net
>>
#dns-blacklist-entry=dul.dnsbl.sorbs.net
>>
#dns-blacklist-entry=bogons.cymru.com
>>
dns-blacklist-entry=zen.spamhaus.org
>>
dns-blacklist-entry=bl.spamcop.net
>>
graylist-dir=/var/spamdyke/graylist
>> graylist-level=always
>> graylist-max-secs=2678400
>>
graylist-min-secs=180
>> greeting-delay-secs=5
>>
idle-timeout-secs=60
>>
ip-blacklist-file=/etc/spamdyke/blacklist_ip
>>
ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
>>
ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
>> ip-whitelist-file=/etc/spamdyke/whitelist_ip
>>
local-domains-file=/var/qmail/control/rcpthosts
>>
log-level=info
>> log-target=stderr
>>
max-recipients=50
>>
#policy-url=http://my.policy.explanation.url/
>>
rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
>>
rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
>>
recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
>>
recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
>>
reject-empty-rdns
>> #reject-ip-in-cc-rdns
>>
reject-missing-sender-mx
>> reject-unresolvable-rdns
>> sender-blacklist-file=/etc/spamdyke/blacklist_senders
>> sender-whitelist-file=/etc/spamdyke/whitelist_senders
>> tls-certificate-file=/var/qmail/control/servercert.pem
>>
>>
>> -Original Message-
>>
>
From: news [mailto:[email protected]] On Behalf
Of Eric Shubert
>> Sent: Friday, August 07, 2009 11:39 AM
>> To: [email protected]
>> Subject:
Re: [qmailtoaster] connection refused from clients sending
>>
email
>>
>> Since you're receiving mail, I don't see
how it can be a routing
>> problem.
>>
>>
spamdyke looks ok. To be sure it's running, are you seeing spamdyke
>> messages in the smtp log?
>> (spamdyke messages have
ALLOWED or DENIED_ in them)
>>
>> What does your
/etc/spamdyke/spamdyke.conf file contain?
>>
>> Glen
Vickers wrote:
>>> Yes, I can receive mail all day and my
client is able to download them.
>>> Just can't send from
external. I can send using squirrelmail.
>>>
>>> smtp]# ll
>>> total 16
>>>
drwx-- 3 qmaill qmail 4096 Jul 29 12:38 log
>>&g

RE: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Glen Vickers
I'm pretty sure its not a routing problem.  I'm starting to think it might
be my DSL modem.  I was able to telnet on the local machine.  I'll have to
test telnet to the box within the network later.  I know it can't have an IP
sharing issue.  The DHCP range starts at 100 and this box is at 10. (4th
octet).

 

I'll let everyone know what I find when I get myself to the network where
the box is at.

 

From: Phil Leinhauser [mailto:[email protected]] 
Sent: Friday, August 07, 2009 12:26 PM
To: [email protected]
Subject: RE: [qmailtoaster] connection refused from clients sending email

 

Off the top of my head.  Maybe something will shake loose...

- Just for grins, run through the process of sending with telnet using ip
addy on the local machine.  Here's an example to follow how to do this:
http://www.netadmintools.com/art276.html  I'm sure it will work but what the
heck...
- Have you looked at tcp.smtp?  Do you have anything that might cause this
in there?
- Is it at all possible you have another machine on the network with the
same IP?  Pull the nic cable and ping the ip.

- This one's a reach but worth a shot, maybe a switch problem?  Try putting
the server and one other machine on the same switch with NOTHING else
connected, not even the rest of the network, and test.

In these cases I try to break things down into smaller bits and walk my way
in or out.

Phil



> In my last reply, I lied. I can now telnet to the local address through
> console just fine. Got a helo back and it responded. Outside in, is
> where
> the failure is.
> 
> I am getting spamdyke messages in my smtp log. I see a denied for an
> email
> that just tried to relay through my server.
> 
> @40004a7c0ab8320d2604 spamdyke[6976]: DENIED_OTHER from:
> [email protected] to: gvick...@domain origin_ip: 74.125.149.207
> origin_rdns: na3sys009aog112.obsmtp.com auth: (unknown)
> 
> 
> Spamdyke.conf is
> 
> dns-blacklist-entry=zombie.dnsbl.sorbs.net
> #dns-blacklist-entry=dul.dnsbl.sorbs.net
> #dns-blacklist-entry=bogons.cymru.com
> dns-blacklist-entry=zen.spamhaus.org
> dns-blacklist-entry=bl.spamcop.net
> graylist-dir=/var/spamdyke/graylist
> graylist-level=always
> graylist-max-secs=2678400
> graylist-min-secs=180
> greeting-delay-secs=5
> idle-timeout-secs=60
> ip-blacklist-file=/etc/spamdyke/blacklist_ip
> ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
> ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
> ip-whitelist-file=/etc/spamdyke/whitelist_ip
> local-domains-file=/var/qmail/control/rcpthosts
> log-level=info
> log-target=stderr
> max-recipients=50
> #policy-url=http://my.policy.explanation.url/
> rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
> rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
> recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
> recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
> reject-empty-rdns
> #reject-ip-in-cc-rdns
> reject-missing-sender-mx
> reject-unresolvable-rdns
> sender-blacklist-file=/etc/spamdyke/blacklist_senders
> sender-whitelist-file=/etc/spamdyke/whitelist_senders
> tls-certificate-file=/var/qmail/control/servercert.pem
> 
> 
> -----Original Message-
>
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
> Sent: Friday, August 07, 2009 11:39 AM
> To: [email protected]
> Subject: Re: [qmailtoaster] connection refused from clients sending email
> 
> Since you're receiving mail, I don't see how it can be a routing problem.
> 
> spamdyke looks ok. To be sure it's running, are you seeing spamdyke
> messages in the smtp log?
> (spamdyke messages have ALLOWED or DENIED_ in them)
> 
> What does your /etc/spamdyke/spamdyke.conf file contain?
> 
> Glen Vickers wrote:
>> Yes, I can receive mail all day and my client is able to download them.
>> Just can't send from external. I can send using squirrelmail.
>>
>> smtp]# ll
>> total 16
>> drwx-- 3 qmaill qmail 4096 Jul 29 12:38 log
>> lrwxrwxrwx 1 root root 12 Aug 7 01:38 run -> run.spamdyke
>> -rwxr-x--x 1 qmaill qmail 555 Apr 17 06:37 run.dist
>> -rwxr-x--x 1 qmaill qmail 584 Aug 7 03:58 run.spamdyke
>> drwx-- 2 qmaill qmail 4096 Aug 7 04:01 supervise
>>
>>
>> the run file reads
>>
>> #!/bin/sh
>> QMAILDUID=`id -u vpopmail`
>> NOFILESGID=`id -g vpopmail`
>> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
>> SPAMDYKE="/usr/local/bin/spamdyke"
>> SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
>> SMTPD="/var/qmail/bin/qmail-smtpd"
>> TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
>> HOSTNAME=`hostname`
>

RE: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Phil Leinhauser


Off the top of my head.  Maybe something will shake loose...

- Just for grins, run through the process of sending with telnet using
ip addy on the local machine.  Here's an example to follow how to do
this: http://www.netadmintools.com/art276.html  I'm sure it will work
but what the heck...
- Have you looked at tcp.smtp?  Do you have
anything that might cause this in there?
- Is it at all possible you
have another machine on the network with the same IP?  Pull the nic
cable and ping the ip.

- This one's a reach but worth a shot,
maybe a switch problem?  Try putting the server and one other machine
on the same switch with NOTHING else connected, not even the rest of the
network, and test.

In these cases I try to break things down
into smaller bits and walk my way in or out.

Phil



> In my last reply, I lied.  I can now telnet to the
local address through
> console just fine.  Got a helo back and it
responded.  Outside in, is
> where
> the failure is.
> 
> I am getting spamdyke messages in my smtp log.  I see a
denied for an
> email
> that just tried to relay through
my server.
> 
> @40004a7c0ab8320d2604 spamdyke[6976]:
DENIED_OTHER from:
> [email protected] to: gvick...@domain
origin_ip: 74.125.149.207
> origin_rdns:
na3sys009aog112.obsmtp.com auth: (unknown)
> 
> 
>
Spamdyke.conf is
> 
>
dns-blacklist-entry=zombie.dnsbl.sorbs.net
>
#dns-blacklist-entry=dul.dnsbl.sorbs.net
>
#dns-blacklist-entry=bogons.cymru.com
>
dns-blacklist-entry=zen.spamhaus.org
>
dns-blacklist-entry=bl.spamcop.net
>
graylist-dir=/var/spamdyke/graylist
> graylist-level=always
> graylist-max-secs=2678400
> graylist-min-secs=180
>
greeting-delay-secs=5
> idle-timeout-secs=60
>
ip-blacklist-file=/etc/spamdyke/blacklist_ip
>
ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
>
ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
> ip-whitelist-file=/etc/spamdyke/whitelist_ip
>
local-domains-file=/var/qmail/control/rcpthosts
>
log-level=info
> log-target=stderr
> max-recipients=50
> #policy-url=http://my.policy.explanation.url/
>
rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
>
rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
>
recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
>
recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
>
reject-empty-rdns
> #reject-ip-in-cc-rdns
>
reject-missing-sender-mx
> reject-unresolvable-rdns
>
sender-blacklist-file=/etc/spamdyke/blacklist_senders
>
sender-whitelist-file=/etc/spamdyke/whitelist_senders
>
tls-certificate-file=/var/qmail/control/servercert.pem
> 
> 
> -Original Message-
>
From: news
[mailto:[email protected]] On Behalf Of Eric Shubert
> Sent:
Friday, August 07, 2009 11:39 AM
> To:
[email protected]
> Subject: Re: [qmailtoaster]
connection refused from clients sending email
> 
> Since
you're receiving mail, I don't see how it can be a routing problem.
> 
> spamdyke looks ok. To be sure it's running, are you
seeing spamdyke
> messages in the smtp log?
> (spamdyke
messages have ALLOWED or DENIED_ in them)
> 
> What does
your /etc/spamdyke/spamdyke.conf file contain?
> 
> Glen
Vickers wrote:
>> Yes, I can receive mail all day and my client
is able to download them.
>> Just can't send from external.  I
can send using squirrelmail.
>>
>> smtp]# ll
>> total 16
>> drwx-- 3 qmaill qmail 4096 Jul 29
12:38 log
>> lrwxrwxrwx 1 root   root12 Aug  7 01:38 run
-> run.spamdyke
>> -rwxr-x--x 1 qmaill qmail  555 Apr 17
06:37 run.dist
>> -rwxr-x--x 1 qmaill qmail  584 Aug  7 03:58
run.spamdyke
>> drwx-- 2 qmaill qmail 4096 Aug  7 04:01
supervise
>>
>>
>> the run file reads
>>
>> #!/bin/sh
>> QMAILDUID=`id -u
vpopmail`
>> NOFILESGID=`id -g vpopmail`
>>
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
>>
SPAMDYKE="/usr/local/bin/spamdyke"
>>
SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
>>
SMTPD="/var/qmail/bin/qmail-smtpd"
>>
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
>>
HOSTNAME=`hostname`
>>
VCHKPW="/home/vpopmail/bin/vchkpw"
>>
REQUIRE_AUTH=0
>>
>> exec /usr/bin/softlimit -m
9000 \
>>  /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x
$TCP_CDB -c "$MAXSMTPD"
>> \
>>  -u
"$QMAILDUID" -g "$NOFILESGID" 0 smtp \
>>  
   $SPAMDYKE --config-file $SPAMDYKE_CONF \
>>  $SMTPD
$VCHKPW /bin/true 2>&1
>>
>>
>> My
log file doesn't show anything hitting the server.  I have a record
>> of
>> when I telnet'd to localhost port 25 but
that's it.
>>
>>
>&g

RE: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Glen Vickers
In my last reply, I lied.  I can now telnet to the local address through
console just fine.  Got a helo back and it responded.  Outside in, is where
the failure is.

I am getting spamdyke messages in my smtp log.  I see a denied for an email
that just tried to relay through my server.

@40004a7c0ab8320d2604 spamdyke[6976]: DENIED_OTHER from:
[email protected] to: gvick...@domain origin_ip: 74.125.149.207
origin_rdns: na3sys009aog112.obsmtp.com auth: (unknown)


Spamdyke.conf is

dns-blacklist-entry=zombie.dnsbl.sorbs.net
#dns-blacklist-entry=dul.dnsbl.sorbs.net
#dns-blacklist-entry=bogons.cymru.com
dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=bl.spamcop.net
graylist-dir=/var/spamdyke/graylist
graylist-level=always
graylist-max-secs=2678400
graylist-min-secs=180
greeting-delay-secs=5
idle-timeout-secs=60
ip-blacklist-file=/etc/spamdyke/blacklist_ip
ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
ip-whitelist-file=/etc/spamdyke/whitelist_ip
local-domains-file=/var/qmail/control/rcpthosts
log-level=info
log-target=stderr
max-recipients=50
#policy-url=http://my.policy.explanation.url/
rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
reject-empty-rdns
#reject-ip-in-cc-rdns
reject-missing-sender-mx
reject-unresolvable-rdns
sender-blacklist-file=/etc/spamdyke/blacklist_senders
sender-whitelist-file=/etc/spamdyke/whitelist_senders
tls-certificate-file=/var/qmail/control/servercert.pem


-Original Message-
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
Sent: Friday, August 07, 2009 11:39 AM
To: [email protected]
Subject: Re: [qmailtoaster] connection refused from clients sending email

Since you're receiving mail, I don't see how it can be a routing problem.

spamdyke looks ok. To be sure it's running, are you seeing spamdyke 
messages in the smtp log?
(spamdyke messages have ALLOWED or DENIED_ in them)

What does your /etc/spamdyke/spamdyke.conf file contain?

Glen Vickers wrote:
> Yes, I can receive mail all day and my client is able to download them.
> Just can't send from external.  I can send using squirrelmail.
> 
> smtp]# ll
> total 16
> drwx-- 3 qmaill qmail 4096 Jul 29 12:38 log
> lrwxrwxrwx 1 root   root12 Aug  7 01:38 run -> run.spamdyke
> -rwxr-x--x 1 qmaill qmail  555 Apr 17 06:37 run.dist
> -rwxr-x--x 1 qmaill qmail  584 Aug  7 03:58 run.spamdyke
> drwx-- 2 qmaill qmail 4096 Aug  7 04:01 supervise
> 
> 
> the run file reads
> 
> #!/bin/sh
> QMAILDUID=`id -u vpopmail`
> NOFILESGID=`id -g vpopmail`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> SPAMDYKE="/usr/local/bin/spamdyke"
> SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
> SMTPD="/var/qmail/bin/qmail-smtpd"
> TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
> HOSTNAME=`hostname`
> VCHKPW="/home/vpopmail/bin/vchkpw"
> REQUIRE_AUTH=0
> 
> exec /usr/bin/softlimit -m 9000 \
>  /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
>  -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
>  $SPAMDYKE --config-file $SPAMDYKE_CONF \
>  $SMTPD $VCHKPW /bin/true 2>&1
> 
> 
> My log file doesn't show anything hitting the server.  I have a record of
> when I telnet'd to localhost port 25 but that's it.
> 
> 
> -Original Message-
> From: news [mailto:[email protected]] On Behalf Of Eric Shubert
> Sent: Friday, August 07, 2009 10:20 AM
> To: [email protected]
> Subject: Re: [qmailtoaster] connection refused from clients sending email
> 
> Just to be sure, what does
> # ls -l /var/qmail/supervise/smtp
> show?
> 
> You're seeing spamdyke messages in your smtp log?
> 
> Do I understand correctly that you're receiving email from outside 
> servers ok, you're just not able to submit from an external client?
> 
> Glen Vickers wrote:
>> I did that.  No change.  Still unable to comm. Through port 25 inside or
>> outside network, only through SSH. (ssh to the box then run telnet
> localhost
>> or telnet (IP addy).
>>
>> -Original Message-
>> From: news [mailto:[email protected]] On Behalf Of Eric Shubert
>> Sent: Friday, August 07, 2009 8:43 AM
>> To: [email protected]
>> Subject: Re: [qmailtoaster] connection refused from clients sending email
>>
>> Glen Vickers wrote:
>>> Telnet gives connection refused.  However, I can ssh and such into the 
>>> box just fine.  I can get to other por

RE: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Glen Vickers
>From console I can telnet to localhost 25.  I cannot telnet to ip addy 25.
>From any machine in the same network or outside the network I cannot telnet
25.  Connection refused.

 

I know its got to be with the machine because I cannot telnet to its IP port
25.  None of the log files can tell me why its getting refused.  No firewall
is running.

 

From: Phil Leinhauser [mailto:[email protected]] 
Sent: Friday, August 07, 2009 11:33 AM
To: [email protected]
Subject: RE: [qmailtoaster] connection refused from clients sending email

 

OK, I just want to restate this to clear up some of my confusion:

When on the local console, you CAN telnet to "localhost 25" and "ip.address
25"
>From another machine on the SAME network you CAN'T telnet to "ip.address 25"
>From anything outside your network you also can't telnet to "ip.address 25"

Does that sound correct?  I think I'm getting confused where the break is
starting.

Phil


> Yes, I can receive mail all day and my client is able to download them.
> Just can't send from external. I can send using squirrelmail.
> 
> smtp]# ll
> total 16
> drwx-- 3 qmaill qmail 4096 Jul 29 12:38 log
> lrwxrwxrwx 1 root root 12 Aug 7 01:38 run -> run.spamdyke
> -rwxr-x--x 1 qmaill qmail 555 Apr 17 06:37 run.dist
> -rwxr-x--x 1 qmaill qmail 584 Aug 7 03:58 run.spamdyke
> drwx-- 2 qmaill qmail 4096 Aug 7 04:01 supervise
> 
> 
> the run file reads
> 
> #!/bin/sh
> QMAILDUID=`id -u vpopmail`
> NOFILESGID=`id -g vpopmail`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> SPAMDYKE="/usr/local/bin/spamdyke"
> SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
> SMTPD="/var/qmail/bin/qmail-smtpd"
> TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
> HOSTNAME=`hostname`
> VCHKPW="/home/vpopmail/bin/vchkpw"
> REQUIRE_AUTH=0
> 
> exec /usr/bin/softlimit -m 9000 \
> /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
> -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
> $SPAMDYKE --config-file $SPAMDYKE_CONF \
> $SMTPD $VCHKPW /bin/true 2>&1
> 
> 
> My log file doesn't show anything hitting the server. I have a record of
> when I telnet'd to localhost port 25 but that's it.
> 
> 
> -Original Message-
>
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
> Sent: Friday, August 07, 2009 10:20 AM
> To: [email protected]
> Subject: Re: [qmailtoaster] connection refused from clients sending email
> 
> Just to be sure, what does
> # ls -l /var/qmail/supervise/smtp
> show?
> 
> You're seeing spamdyke messages in your smtp log?
> 
> Do I understand correctly that you're receiving email from outside
> servers ok, you're just not able to submit from an external client?
> 
> Glen Vickers wrote:
>> I did that. No change. Still unable to comm. Through port 25 inside or
>> outside network, only through SSH. (ssh to the box then run telnet
> localhost
>> or telnet (IP addy).
>>
>> -Original Message-
>>
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
>> Sent: Friday, August 07, 2009 8:43 AM
>> To: [email protected]
>> Subject: Re: [qmailtoaster] connection refused from clients sending
>> email
>>
>> Glen Vickers wrote:
>>> Telnet gives connection refused. However, I can ssh and such into the
>>> box just fine. I can get to other ports except 25. I've already
>>> checked with my ISP and they haven't blocked anything. My ISP would
>>> block me if I made an open relay or my SMTP went retarded and started
>>> spamming people. I am pretty confident its not an ISP issue.
>>>
>>> This happened about 2 weeks ago and I did run new model and patched up.
>>> The problem went away for about 2 weeks but now its back.
>>>
>>> Glen
>>>
>>
>> Jake and Phil have good suggestions (as usual).
>>
>> Are you using spamdyke? If so,
>> # cd /var/qmail/supervise/smtp
>> # ln -sf run.spamdyke run
>> will fix it. qtp-newmodel effectively disables spamdyke.
>>
> 
> 
> --
> -Eric 'shubes'
> 
> 
>

> -
> Qmailtoaster is sponsored by Vickers Consulting Group
> (www.vickersconsulting.com)
> Vickers Consulting Group offers Qmailtoaster support and
> installations.
> If you need professional help with your setup, contact them today!
>
--

Re: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Eric Shubert

Since you're receiving mail, I don't see how it can be a routing problem.

spamdyke looks ok. To be sure it's running, are you seeing spamdyke 
messages in the smtp log?

(spamdyke messages have ALLOWED or DENIED_ in them)

What does your /etc/spamdyke/spamdyke.conf file contain?

Glen Vickers wrote:

Yes, I can receive mail all day and my client is able to download them.
Just can't send from external.  I can send using squirrelmail.

smtp]# ll
total 16
drwx-- 3 qmaill qmail 4096 Jul 29 12:38 log
lrwxrwxrwx 1 root   root12 Aug  7 01:38 run -> run.spamdyke
-rwxr-x--x 1 qmaill qmail  555 Apr 17 06:37 run.dist
-rwxr-x--x 1 qmaill qmail  584 Aug  7 03:58 run.spamdyke
drwx-- 2 qmaill qmail 4096 Aug  7 04:01 supervise


the run file reads

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SPAMDYKE="/usr/local/bin/spamdyke"
SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 9000 \
 /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
 -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
 $SPAMDYKE --config-file $SPAMDYKE_CONF \
 $SMTPD $VCHKPW /bin/true 2>&1


My log file doesn't show anything hitting the server.  I have a record of
when I telnet'd to localhost port 25 but that's it.


-Original Message-
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
Sent: Friday, August 07, 2009 10:20 AM
To: [email protected]
Subject: Re: [qmailtoaster] connection refused from clients sending email

Just to be sure, what does
# ls -l /var/qmail/supervise/smtp
show?

You're seeing spamdyke messages in your smtp log?

Do I understand correctly that you're receiving email from outside 
servers ok, you're just not able to submit from an external client?


Glen Vickers wrote:

I did that.  No change.  Still unable to comm. Through port 25 inside or
outside network, only through SSH. (ssh to the box then run telnet

localhost

or telnet (IP addy).

-Original Message-
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
Sent: Friday, August 07, 2009 8:43 AM
To: [email protected]
Subject: Re: [qmailtoaster] connection refused from clients sending email

Glen Vickers wrote:
Telnet gives connection refused.  However, I can ssh and such into the 
box just fine.  I can get to other ports except 25.  I've already 
checked with my ISP and they haven't blocked anything.  My ISP would 
block me if I made an open relay or my SMTP went retarded and started 
spamming people.  I am pretty confident its not an ISP issue. 

This happened about 2 weeks ago and I did run new model and patched up.  
The problem went away for about 2 weeks but now its back.


Glen


Jake and Phil have good suggestions (as usual).

Are you using spamdyke? If so,
# cd /var/qmail/supervise/smtp
# ln -sf run.spamdyke run
will fix it. qtp-newmodel effectively disables spamdyke.







--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]




RE: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Phil Leinhauser


OK, I just want to restate this to clear up some of my confusion:

When on the local console, you CAN telnet to "localhost 25"
and "ip.address 25"
>From another machine on the SAME
network you CAN'T telnet to "ip.address 25"
>From anything
outside your network you also can't telnet to "ip.address 25"

Does that sound correct?  I think I'm getting confused where
the break is starting.

Phil


> Yes, I can
receive mail all day and my client is able to download them.
>
Just can't send from external.  I can send using squirrelmail.
>

> smtp]# ll
> total 16
> drwx-- 3 qmaill
qmail 4096 Jul 29 12:38 log
> lrwxrwxrwx 1 root   root12 Aug 
7 01:38 run -> run.spamdyke
> -rwxr-x--x 1 qmaill qmail  555
Apr 17 06:37 run.dist
> -rwxr-x--x 1 qmaill qmail  584 Aug  7
03:58 run.spamdyke
> drwx-- 2 qmaill qmail 4096 Aug  7 04:01
supervise
> 
> 
> the run file reads
> 
> #!/bin/sh
> QMAILDUID=`id -u vpopmail`
>
NOFILESGID=`id -g vpopmail`
> MAXSMTPD=`cat
/var/qmail/control/concurrencyincoming`
>
SPAMDYKE="/usr/local/bin/spamdyke"
>
SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
>
SMTPD="/var/qmail/bin/qmail-smtpd"
>
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
>
HOSTNAME=`hostname`
>
VCHKPW="/home/vpopmail/bin/vchkpw"
> REQUIRE_AUTH=0
> 
> exec /usr/bin/softlimit -m 9000 \
> 
/usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c
"$MAXSMTPD" \
>  -u "$QMAILDUID" -g
"$NOFILESGID" 0 smtp \
>  $SPAMDYKE --config-file
$SPAMDYKE_CONF \
>  $SMTPD $VCHKPW /bin/true 2>&1
> 
> 
> My log file doesn't show anything hitting the
server.  I have a record of
> when I telnet'd to localhost port 25
but that's it.
> 
> 
> -Original
Message-
>
From: news [mailto:[email protected]] On
Behalf Of Eric Shubert
> Sent: Friday, August 07, 2009 10:20 AM
> To: [email protected]
> Subject: Re:
[qmailtoaster] connection refused from clients sending email
> 
> Just to be sure, what does
> # ls -l
/var/qmail/supervise/smtp
> show?
> 
> You're
seeing spamdyke messages in your smtp log?
> 
> Do I
understand correctly that you're receiving email from outside
>
servers ok, you're just not able to submit from an external client?
> 
> Glen Vickers wrote:
>> I did that.  No
change.  Still unable to comm. Through port 25 inside or
>>
outside network, only through SSH. (ssh to the box then run telnet
> localhost
>> or telnet (IP addy).
>>
>> -Original Message-
>>
From: news
[mailto:[email protected]] On Behalf Of Eric Shubert
>> Sent:
Friday, August 07, 2009 8:43 AM
>> To:
[email protected]
>> Subject: Re:
[qmailtoaster] connection refused from clients sending
>>
email
>>
>> Glen Vickers wrote:
>>>
Telnet gives connection refused.  However, I can ssh and such into the
>>> box just fine.  I can get to other ports except 25.  I've
already
>>> checked with my ISP and they haven't blocked
anything.  My ISP would
>>> block me if I made an open relay
or my SMTP went retarded and started
>>> spamming people.  I
am pretty confident its not an ISP issue.
>>>
>>> This happened about 2 weeks ago and I did run new model and
patched up.
>>> The problem went away for about 2 weeks but
now its back.
>>>
>>> Glen
>>>
>>
>> Jake and Phil have good
suggestions (as usual).
>>
>> Are you using
spamdyke? If so,
>> # cd /var/qmail/supervise/smtp
>> # ln -sf run.spamdyke run
>> will fix it.
qtp-newmodel effectively disables spamdyke.
>>
> 
> 
> --
> -Eric 'shubes'
> 
> 
>

> -
> Qmailtoaster is sponsored by Vickers Consulting
Group
> (www.vickersconsulting.com)
> Vickers
Consulting Group offers Qmailtoaster support and
>
installations.
>   If you need professional help with your
setup, contact them today!
>

> -
>  Please visit qmailtoaster.com for the latest
news, updates, and
> packages.
> 
>   To
unsubscribe, e-mail:
>
[email protected]
>  For
additional commands, e-mail:
>
[email protected]
> 
> 
>

>
-
> Qmailtoaster is sponsored by Vickers Consulting Group
>
(www.vickersconsulting.com)
> Vickers Consulting Group offers
Qmailtoaster support and
> installations.
>   If you
need professional help with your setup, contact them today!
>
-
>  Please visit qmailtoaster.com for the latest news, updates,
and
> packages.
> 
>   To unsubscribe,
e-mail:
> [email protected]
>
 For additional commands, e-mail:
>
[email protected]
> 
> 
>


RE: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Glen Vickers
Yes, I can receive mail all day and my client is able to download them.
Just can't send from external.  I can send using squirrelmail.

smtp]# ll
total 16
drwx-- 3 qmaill qmail 4096 Jul 29 12:38 log
lrwxrwxrwx 1 root   root12 Aug  7 01:38 run -> run.spamdyke
-rwxr-x--x 1 qmaill qmail  555 Apr 17 06:37 run.dist
-rwxr-x--x 1 qmaill qmail  584 Aug  7 03:58 run.spamdyke
drwx-- 2 qmaill qmail 4096 Aug  7 04:01 supervise


the run file reads

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SPAMDYKE="/usr/local/bin/spamdyke"
SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 9000 \
 /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
 -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
 $SPAMDYKE --config-file $SPAMDYKE_CONF \
 $SMTPD $VCHKPW /bin/true 2>&1


My log file doesn't show anything hitting the server.  I have a record of
when I telnet'd to localhost port 25 but that's it.


-Original Message-
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
Sent: Friday, August 07, 2009 10:20 AM
To: [email protected]
Subject: Re: [qmailtoaster] connection refused from clients sending email

Just to be sure, what does
# ls -l /var/qmail/supervise/smtp
show?

You're seeing spamdyke messages in your smtp log?

Do I understand correctly that you're receiving email from outside 
servers ok, you're just not able to submit from an external client?

Glen Vickers wrote:
> I did that.  No change.  Still unable to comm. Through port 25 inside or
> outside network, only through SSH. (ssh to the box then run telnet
localhost
> or telnet (IP addy).
> 
> -Original Message-
> From: news [mailto:[email protected]] On Behalf Of Eric Shubert
> Sent: Friday, August 07, 2009 8:43 AM
> To: [email protected]
> Subject: Re: [qmailtoaster] connection refused from clients sending email
> 
> Glen Vickers wrote:
>> Telnet gives connection refused.  However, I can ssh and such into the 
>> box just fine.  I can get to other ports except 25.  I've already 
>> checked with my ISP and they haven't blocked anything.  My ISP would 
>> block me if I made an open relay or my SMTP went retarded and started 
>> spamming people.  I am pretty confident its not an ISP issue. 
>>
>> This happened about 2 weeks ago and I did run new model and patched up.  
>> The problem went away for about 2 weeks but now its back.
>>
>> Glen
>>
> 
> Jake and Phil have good suggestions (as usual).
> 
> Are you using spamdyke? If so,
> # cd /var/qmail/supervise/smtp
> # ln -sf run.spamdyke run
> will fix it. qtp-newmodel effectively disables spamdyke.
> 


-- 
-Eric 'shubes'



-
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!

-
 Please visit qmailtoaster.com for the latest news, updates, and
packages.
 
  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail:
[email protected]



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail: [email protected]




RE: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Glen Vickers
Soft limit was set to 4000 in smtp and 9000 in pop3.  I bumped SMTP
up to match.  I think it might have to deal with some port blocking
actually.  I don't have a firewall running/installed on the server, if I'm
on another computer either inside or outside the network I can't telnet to
25.  I can telnet to 25 to localhost while SSH'd to the server but can't
telnet to its IP addy.  I checked to see if IP tables was running (which it
shouldn't be) and it was.  So I shut it down. No change.

 

I ran nmap localhost and nmap (ip address)

 

Both show 

 

21/tcpopen  ftp

22/tcpopen  ssh

25/tcpopen  smtp

80/tcpopen  http

110/tcp   open  pop3

143/tcp   open  imap

587/tcp   open  submission

993/tcp   open  imaps

995/tcp   open  pop3s

 

I checked the /etc/spamdyke/whitelist_ip

 

My external IP is in there.

 

It seems the host IP is blocked for whatever reason or the connection has
been refused through I'm guessing spamdyke.  Not sure which.  I really don't
think this is a firewall or port forwarding issue.  I was able to sent out
until a couple days ago.  Still, I'm not sure what changed to have it crash
like this.

 

From: Phil Leinhauser [mailto:[email protected]] 
Sent: Friday, August 07, 2009 8:29 AM
To: [email protected]
Subject: RE: [qmailtoaster] connection refused from clients sending email

 

You said this started a couple weeks after you did a newmodel.  I think I
smell a softlimit problem.  Are you running x64 OS?  You might need to bump
the SMTP softlimit back up.  You should also check the rest of them (pop3,
submit, etc)  I know that's something I have always had to do after running
newmodel.

I know Jake has tried to bump it up in the patches but for me it still
wasn't enough.

Phil

> 
> 
> 
> 
>
From: Jake Vickers [mailto:[email protected]]
> Sent: Thursday, August 06, 2009 5:34 PM
> To: [email protected]
> Subject: Re: [qmailtoaster] connection refused from clients sending email
> 
> 
> 
> Glen Vickers wrote:
> 
> Hello all,
> 
> 
> 
> I'm having an issue I have yet to figure out. About a week or so ago my
> server stopped accepting incoming connections to send mail. I checked my
> router/firewall/port forwarding settings and all was correct. So I went
> inside our network (origionally the client was outside) and attempted to
> connect/send mail. Same error from client, unable to connect to mail
> server. So I attempted to telnet to both the external IP and internal IP
> addresses. Connection refused (using putty).
> 
> 
> 
> I checked the logs after that and don't see any reference to any IP
> address
> attempting to connect to port 25. I checked to see if IP tables had
> somehow
> been enabled on the machine. Nothing. I then checked for SELinux and ran
> nmap localhost and nmap Domain as well as nmap hostname. It says port 25
> is
> open and taking requests yet I get connection refused at any location.
> 
> 
> 
> To make things interesting, I'm able to email to any address that server
> holds. Just can't reply/send out from any address the server holds. Any
> thoughts where I could look? The logs don't even show an attempted
> connection.
> 
> 
> 
> 
> 
> 
> 
> 
> Try telnetting via a command line, and make sure the HELO is what you're
> expecting. If you're on a standard ISP (Comcast, etc.) then they may have
> put a mail proxy in place without telling you, or some other router using
> the "fixup" protocols.
> If you post an IP/address we can test from outside. If you send me your IP
> off-list I can check it here and run it through DNS-Stuff as well and see
> if
> it flags anywhere.
> 
> 
> 
> 
> 
> Telnet gives connection refused. However, I can ssh and such into the box
> just fine. I can get to other ports except 25. I've already checked with
> my ISP and they haven't blocked anything. My ISP would block me if I made
> an open relay or my SMTP went retarded and started spamming people. I am
> pretty confident its not an ISP issue.
> 
> This happened about 2 weeks ago and I did run new model and patched up. 
> The
> problem went away for about 2 weeks but now its back.
> 
> Glen
> 
>



Re: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Eric Shubert

Glen Vickers wrote:

I did that.  No change.  Still unable to comm. Through port 25 inside or
outside network, only through SSH. (ssh to the box then run telnet localhost
or telnet (IP addy).

-Original Message-
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
Sent: Friday, August 07, 2009 8:43 AM
To: [email protected]
Subject: Re: [qmailtoaster] connection refused from clients sending email

Glen Vickers wrote:
Telnet gives connection refused.  However, I can ssh and such into the 
box just fine.  I can get to other ports except 25.  I've already 
checked with my ISP and they haven't blocked anything.  My ISP would 
block me if I made an open relay or my SMTP went retarded and started 
spamming people.  I am pretty confident its not an ISP issue. 

This happened about 2 weeks ago and I did run new model and patched up.  
The problem went away for about 2 weeks but now its back.


Glen



Jake and Phil have good suggestions (as usual).

Are you using spamdyke? If so,
# cd /var/qmail/supervise/smtp
# ln -sf run.spamdyke run
will fix it. qtp-newmodel effectively disables spamdyke.



This is sounding more and more like a firewall/router issue. How does 
your toaster have 2 (int/ext) addresses? What is the toaster connected to?


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]




Re: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Eric Shubert

Just to be sure, what does
# ls -l /var/qmail/supervise/smtp
show?

You're seeing spamdyke messages in your smtp log?

Do I understand correctly that you're receiving email from outside 
servers ok, you're just not able to submit from an external client?


Glen Vickers wrote:

I did that.  No change.  Still unable to comm. Through port 25 inside or
outside network, only through SSH. (ssh to the box then run telnet localhost
or telnet (IP addy).

-Original Message-
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
Sent: Friday, August 07, 2009 8:43 AM
To: [email protected]
Subject: Re: [qmailtoaster] connection refused from clients sending email

Glen Vickers wrote:
Telnet gives connection refused.  However, I can ssh and such into the 
box just fine.  I can get to other ports except 25.  I've already 
checked with my ISP and they haven't blocked anything.  My ISP would 
block me if I made an open relay or my SMTP went retarded and started 
spamming people.  I am pretty confident its not an ISP issue. 

This happened about 2 weeks ago and I did run new model and patched up.  
The problem went away for about 2 weeks but now its back.


Glen



Jake and Phil have good suggestions (as usual).

Are you using spamdyke? If so,
# cd /var/qmail/supervise/smtp
# ln -sf run.spamdyke run
will fix it. qtp-newmodel effectively disables spamdyke.




--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]




RE: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Glen Vickers
I did that.  No change.  Still unable to comm. Through port 25 inside or
outside network, only through SSH. (ssh to the box then run telnet localhost
or telnet (IP addy).

-Original Message-
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
Sent: Friday, August 07, 2009 8:43 AM
To: [email protected]
Subject: Re: [qmailtoaster] connection refused from clients sending email

Glen Vickers wrote:
> 
> Telnet gives connection refused.  However, I can ssh and such into the 
> box just fine.  I can get to other ports except 25.  I've already 
> checked with my ISP and they haven't blocked anything.  My ISP would 
> block me if I made an open relay or my SMTP went retarded and started 
> spamming people.  I am pretty confident its not an ISP issue. 
> 
> This happened about 2 weeks ago and I did run new model and patched up.  
> The problem went away for about 2 weeks but now its back.
> 
> Glen
> 

Jake and Phil have good suggestions (as usual).

Are you using spamdyke? If so,
# cd /var/qmail/supervise/smtp
# ln -sf run.spamdyke run
will fix it. qtp-newmodel effectively disables spamdyke.

-- 
-Eric 'shubes'



-
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!

-
 Please visit qmailtoaster.com for the latest news, updates, and
packages.
 
  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail:
[email protected]



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail: [email protected]




Re: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Eric Shubert

Glen Vickers wrote:


Telnet gives connection refused.  However, I can ssh and such into the 
box just fine.  I can get to other ports except 25.  I’ve already 
checked with my ISP and they haven’t blocked anything.  My ISP would 
block me if I made an open relay or my SMTP went retarded and started 
spamming people.  I am pretty confident its not an ISP issue. 

This happened about 2 weeks ago and I did run new model and patched up.  
The problem went away for about 2 weeks but now its back.


Glen



Jake and Phil have good suggestions (as usual).

Are you using spamdyke? If so,
# cd /var/qmail/supervise/smtp
# ln -sf run.spamdyke run
will fix it. qtp-newmodel effectively disables spamdyke.

--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]




RE: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Phil Leinhauser


You said this started a couple weeks after you did a newmodel.  I
think I smell a softlimit problem.  Are you running x64 OS?  You
might need to bump the SMTP softlimit back up.  You should also check
the rest of them (pop3, submit, etc)  I know that's something I have
always had to do after running newmodel.

I know Jake has tried
to bump it up in the patches but for me it still wasn't enough.

Phil

> 
> 
> 
> 
>
From: Jake Vickers [mailto:[email protected]]
> Sent:
Thursday, August 06, 2009 5:34 PM
> To:
[email protected]
> Subject: Re: [qmailtoaster]
connection refused from clients sending email
> 
> 
> 
> Glen Vickers wrote:
> 
> Hello all,
> 
> 
> 
> I'm having an issue I have yet to
figure out.  About a week or so ago my
> server stopped accepting
incoming connections to send mail.  I checked my
>
router/firewall/port forwarding settings and all was correct. So I went
> inside our network (origionally the client was outside) and
attempted to
> connect/send mail.  Same error from client, unable
to connect to mail
> server.  So I attempted to telnet to both the
external IP and internal IP
> addresses.  Connection refused
(using putty).
> 
> 
> 
> I checked the
logs after that and don't see any reference to any IP
> address
> attempting to connect to port 25.  I checked to see if IP tables
had
> somehow
> been enabled on the machine. Nothing. I
then checked for SELinux and ran
> nmap localhost and nmap Domain
as well as nmap hostname.  It says port 25
> is
> open and
taking requests yet I get connection refused at any location.
>

> 
> 
> To make things interesting, I'm able to
email to any address that server
> holds.  Just can't reply/send
out from any address the server holds.  Any
> thoughts where I
could look?  The logs don't even show an attempted
>
connection.
> 
> 
> 
> 
> 
> 
> 
> 
> Try telnetting via a command line,
and make sure the HELO is what you're
> expecting.  If you're on a
standard ISP (Comcast, etc.) then they may have
> put a mail proxy
in place without telling you, or some other router using
> the
"fixup" protocols.
> If you post an IP/address we can
test from outside. If you send me your IP
> off-list I can check
it here and run it through DNS-Stuff as well and see
> if
> it flags anywhere.
> 
> 
> 
> 
> 
> Telnet gives connection refused.  However, I can ssh and
such into the box
> just fine.  I can get to other ports except
25.  I've already checked with
> my ISP and they haven't blocked
anything.  My ISP would block me if I made
> an open relay or my
SMTP went retarded and started spamming people.  I am
> pretty
confident its not an ISP issue.
> 
> This happened about 2
weeks ago and I did run new model and patched up. 
> The
>
problem went away for about 2 weeks but now its back.
> 
>
Glen
> 
>


Re: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Jake Vickers

Glen Vickers wrote:



Try telnetting via a command line, and make sure the HELO is what 
you're expecting.  If you're on a standard ISP (Comcast, etc.) then 
they may have put a mail proxy in place without telling you, or some 
other router using the "fixup" protocols.
If you post an IP/address we can test from outside. If you send me 
your IP off-list I can check it here and run it through DNS-Stuff as 
well and see if it flags anywhere.


 

Telnet gives connection refused.  However, I can ssh and such into the 
box just fine.  I can get to other ports except 25.  I've already 
checked with my ISP and they haven't blocked anything.  My ISP would 
block me if I made an open relay or my SMTP went retarded and started 
spamming people.  I am pretty confident its not an ISP issue. 

This happened about 2 weeks ago and I did run new model and patched 
up.  The problem went away for about 2 weeks but now its back.


Glen




Okay, so port 25 is blocked somewhere. This will be why it doesn't work.
You can get your user to use port 587 and that should alleviate half the 
issue, but you'll still need to determine why port 25 is blocked. Is 
there a firewall between the world (Internet) and the mail server that 
may be blocking port 25?

What is the local firewall showing? (iptables -L)
Do you have another mailer daemon running that you're not aware of? 
(service --status-all)
Can you telnet locally and get the HELO you're looking for? (telnet 
localhost)




RE: [qmailtoaster] connection refused from clients sending email

2009-08-07 Thread Glen Vickers
 

 

From: Jake Vickers [mailto:[email protected]] 
Sent: Thursday, August 06, 2009 5:34 PM
To: [email protected]
Subject: Re: [qmailtoaster] connection refused from clients sending email

 

Glen Vickers wrote: 

Hello all,

 

I'm having an issue I have yet to figure out.  About a week or so ago my
server stopped accepting incoming connections to send mail.  I checked my
router/firewall/port forwarding settings and all was correct. So I went
inside our network (origionally the client was outside) and attempted to
connect/send mail.  Same error from client, unable to connect to mail
server.  So I attempted to telnet to both the external IP and internal IP
addresses.  Connection refused (using putty).

 

I checked the logs after that and don't see any reference to any IP address
attempting to connect to port 25.  I checked to see if IP tables had somehow
been enabled on the machine. Nothing. I then checked for SELinux and ran
nmap localhost and nmap Domain as well as nmap hostname.  It says port 25 is
open and taking requests yet I get connection refused at any location.

 

To make things interesting, I'm able to email to any address that server
holds.  Just can't reply/send out from any address the server holds.  Any
thoughts where I could look?  The logs don't even show an attempted
connection.

 

 

 


Try telnetting via a command line, and make sure the HELO is what you're
expecting.  If you're on a standard ISP (Comcast, etc.) then they may have
put a mail proxy in place without telling you, or some other router using
the "fixup" protocols.
If you post an IP/address we can test from outside. If you send me your IP
off-list I can check it here and run it through DNS-Stuff as well and see if
it flags anywhere.



 

Telnet gives connection refused.  However, I can ssh and such into the box
just fine.  I can get to other ports except 25.  I've already checked with
my ISP and they haven't blocked anything.  My ISP would block me if I made
an open relay or my SMTP went retarded and started spamming people.  I am
pretty confident its not an ISP issue.  

This happened about 2 weeks ago and I did run new model and patched up.  The
problem went away for about 2 weeks but now its back.

Glen



Re: [qmailtoaster] connection refused from clients sending email

2009-08-06 Thread Jake Vickers

Glen Vickers wrote:


Hello all,

 

I'm having an issue I have yet to figure out.  About a week or so ago 
my server stopped accepting incoming connections to send mail.  I 
checked my router/firewall/port forwarding settings and all was 
correct. So I went inside our network (origionally the client was 
outside) and attempted to connect/send mail.  Same error from client, 
unable to connect to mail server.  So I attempted to telnet to both 
the external IP and internal IP addresses.  Connection refused (using 
putty).


 

I checked the logs after that and don't see any reference to any IP 
address attempting to connect to port 25.  I checked to see if IP 
tables had somehow been enabled on the machine. Nothing. I then 
checked for SELinux and ran nmap localhost and nmap /Domain/ as well 
as nmap /hostname/.  It says port 25 is open and taking requests yet I 
get connection refused at any location.


 

To make things interesting, I'm able to email to any address that 
server holds.  Just can't reply/send out from any address the server 
holds.  Any thoughts where I could look?  The logs don't even show an 
attempted connection.


 

 

 



Try telnetting via a command line, and make sure the HELO is what you're 
expecting.  If you're on a standard ISP (Comcast, etc.) then they may 
have put a mail proxy in place without telling you, or some other router 
using the "fixup" protocols.
If you post an IP/address we can test from outside. If you send me your 
IP off-list I can check it here and run it through DNS-Stuff as well and 
see if it flags anywhere.





Re: [qmailtoaster] connection refused from clients sending email

2009-08-06 Thread Eric Shubert

Glen Vickers wrote:
I have Spamdyke running on the box currently.  I have spam filtered through spamhaus.org according to 


tail blacklists
-r zen.spamhaus.org


The /var/qmail/control/blacklists file isn't used when spamdyke is 
installed. The default configuration (created by qtp-install-spamdyke) is:

check-dnsrbl=zen.spamhaus.org
check-dnsrbl=bl.spamcop.net
so you're probably using spamcop as well.


What's odd is it doesn't matter where the client is, the connection gets refused.  Squirrelmail works fine so I know on the localhost its running smoothly.  


Sounds like private addresses are being denied. Did you upgrade 
recently? If so, spamdyke probably isn't running any more. An upgrade to 
the qmail-toaster package will effectively disable it.


# cd /var/qmail/supervise/smtp
# ln -sf run.spamdyke run
will fix it.


I checked under /etc/spamdyke and checked the black list settings there.  The 
blacklist files have nothing listed.

-Original Message-
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
Sent: Thursday, August 06, 2009 2:24 PM
To: [email protected]
Subject: Re: [qmailtoaster] connection refused from clients sending email

Good suggestion. In general, you should either use port 587 for 
submissions, or use spamdyke (which bypasses rbl checks for 
authenticated users). You can alter your tcp.smtp file to define an open 
relay for your private network, but that solution is risky (not very 
secure), especially with windoze hosts on your private network.


Maxwell Smart wrote:

Check to see that the IP address your sending mail from hasn't been
blacklisted.

Glen Vickers wrote:

Hello all,

I’m having an issue I have yet to figure out.  About a week or so ago my
server stopped accepting incoming connections to send mail.  I checked
my router/firewall/port forwarding settings and all was correct. So I
went inside our network (origionally the client was outside) and
attempted to connect/send mail.  Same error from client, unable to
connect to mail server.  So I attempted to telnet to both the external
IP and internal IP addresses.  Connection refused (using putty).

I checked the logs after that and don’t see any reference to any IP
address attempting to connect to port 25.  I checked to see if IP tables
had somehow been enabled on the machine. Nothing. I then checked for
SELinux and ran nmap localhost and nmap /Domain/ as well as nmap
/hostname/.  It says port 25 is open and taking requests yet I get
connection refused at any location.

To make things interesting, I’m able to email to any address that server
holds.  Just can’t reply/send out from any address the server holds. 
Any thoughts where I could look?  The logs don’t even show an attempted

connection.

Glen Vickers






--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]




RE: [qmailtoaster] connection refused from clients sending email

2009-08-06 Thread Glen Vickers
I have Spamdyke running on the box currently.  I have spam filtered through 
spamhaus.org according to 

tail blacklists
-r zen.spamhaus.org

What's odd is it doesn't matter where the client is, the connection gets 
refused.  Squirrelmail works fine so I know on the localhost its running 
smoothly.  

I checked under /etc/spamdyke and checked the black list settings there.  The 
blacklist files have nothing listed.

-Original Message-
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
Sent: Thursday, August 06, 2009 2:24 PM
To: [email protected]
Subject: Re: [qmailtoaster] connection refused from clients sending email

Good suggestion. In general, you should either use port 587 for 
submissions, or use spamdyke (which bypasses rbl checks for 
authenticated users). You can alter your tcp.smtp file to define an open 
relay for your private network, but that solution is risky (not very 
secure), especially with windoze hosts on your private network.

Maxwell Smart wrote:
> Check to see that the IP address your sending mail from hasn't been
> blacklisted.
> 
> Glen Vickers wrote:
>> Hello all,
>>
>> I’m having an issue I have yet to figure out.  About a week or so ago my
>> server stopped accepting incoming connections to send mail.  I checked
>> my router/firewall/port forwarding settings and all was correct. So I
>> went inside our network (origionally the client was outside) and
>> attempted to connect/send mail.  Same error from client, unable to
>> connect to mail server.  So I attempted to telnet to both the external
>> IP and internal IP addresses.  Connection refused (using putty).
>>
>> I checked the logs after that and don’t see any reference to any IP
>> address attempting to connect to port 25.  I checked to see if IP tables
>> had somehow been enabled on the machine. Nothing. I then checked for
>> SELinux and ran nmap localhost and nmap /Domain/ as well as nmap
>> /hostname/.  It says port 25 is open and taking requests yet I get
>> connection refused at any location.
>>
>> To make things interesting, I’m able to email to any address that server
>> holds.  Just can’t reply/send out from any address the server holds. 
>> Any thoughts where I could look?  The logs don’t even show an attempted
>> connection.
>>
>> Glen Vickers
>>

-- 
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail: [email protected]



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail: [email protected]




RE: [qmailtoaster] connection refused from clients sending email

2009-08-06 Thread Glen Vickers


-Original Message-
From: Maxwell Smart [mailto:[email protected]] 
Sent: Thursday, August 06, 2009 2:18 PM
To: [email protected]
Subject: Re: [qmailtoaster] connection refused from clients sending email

Check to see that the IP address your sending mail from hasn't been
blacklisted.

Glen Vickers wrote:
> Hello all,
> 
>  
> 
> I’m having an issue I have yet to figure out.  About a week or so ago my
> server stopped accepting incoming connections to send mail.  I checked
> my router/firewall/port forwarding settings and all was correct. So I
> went inside our network (origionally the client was outside) and
> attempted to connect/send mail.  Same error from client, unable to
> connect to mail server.  So I attempted to telnet to both the external
> IP and internal IP addresses.  Connection refused (using putty).
> 
>  
> 
> I checked the logs after that and don’t see any reference to any IP
> address attempting to connect to port 25.  I checked to see if IP tables
> had somehow been enabled on the machine. Nothing. I then checked for
> SELinux and ran nmap localhost and nmap /Domain/ as well as nmap
> /hostname/.  It says port 25 is open and taking requests yet I get
> connection refused at any location.
> 
>  
> 
> To make things interesting, I’m able to email to any address that server
> holds.  Just can’t reply/send out from any address the server holds. 
> Any thoughts where I could look?  The logs don’t even show an attempted
> connection.
> 
>  
> 
>  
> 
>  
> 
> Glen Vickers
> 

 is not listed in the SBL

 is not listed in the PBL

is not listed in the XBL


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail: [email protected]




Re: [qmailtoaster] connection refused from clients sending email

2009-08-06 Thread Eric Shubert
Good suggestion. In general, you should either use port 587 for 
submissions, or use spamdyke (which bypasses rbl checks for 
authenticated users). You can alter your tcp.smtp file to define an open 
relay for your private network, but that solution is risky (not very 
secure), especially with windoze hosts on your private network.


Maxwell Smart wrote:

Check to see that the IP address your sending mail from hasn't been
blacklisted.

Glen Vickers wrote:

Hello all,

I’m having an issue I have yet to figure out.  About a week or so ago my
server stopped accepting incoming connections to send mail.  I checked
my router/firewall/port forwarding settings and all was correct. So I
went inside our network (origionally the client was outside) and
attempted to connect/send mail.  Same error from client, unable to
connect to mail server.  So I attempted to telnet to both the external
IP and internal IP addresses.  Connection refused (using putty).

I checked the logs after that and don’t see any reference to any IP
address attempting to connect to port 25.  I checked to see if IP tables
had somehow been enabled on the machine. Nothing. I then checked for
SELinux and ran nmap localhost and nmap /Domain/ as well as nmap
/hostname/.  It says port 25 is open and taking requests yet I get
connection refused at any location.

To make things interesting, I’m able to email to any address that server
holds.  Just can’t reply/send out from any address the server holds. 
Any thoughts where I could look?  The logs don’t even show an attempted

connection.

Glen Vickers



--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]




RE: [qmailtoaster] connection refused from clients sending email

2009-08-06 Thread Glen Vickers
Blacklisted on my server or blacklisted globally?  It’s a corporate IP address 
so typically they don't get flagged.


-Original Message-
From: Maxwell Smart [mailto:[email protected]] 
Sent: Thursday, August 06, 2009 2:18 PM
To: [email protected]
Subject: Re: [qmailtoaster] connection refused from clients sending email

Check to see that the IP address your sending mail from hasn't been
blacklisted.

Glen Vickers wrote:
> Hello all,
> 
>  
> 
> I’m having an issue I have yet to figure out.  About a week or so ago my
> server stopped accepting incoming connections to send mail.  I checked
> my router/firewall/port forwarding settings and all was correct. So I
> went inside our network (origionally the client was outside) and
> attempted to connect/send mail.  Same error from client, unable to
> connect to mail server.  So I attempted to telnet to both the external
> IP and internal IP addresses.  Connection refused (using putty).
> 
>  
> 
> I checked the logs after that and don’t see any reference to any IP
> address attempting to connect to port 25.  I checked to see if IP tables
> had somehow been enabled on the machine. Nothing. I then checked for
> SELinux and ran nmap localhost and nmap /Domain/ as well as nmap
> /hostname/.  It says port 25 is open and taking requests yet I get
> connection refused at any location.
> 
>  
> 
> To make things interesting, I’m able to email to any address that server
> holds.  Just can’t reply/send out from any address the server holds. 
> Any thoughts where I could look?  The logs don’t even show an attempted
> connection.
> 
>  
> 
>  
> 
>  
> 
> Glen Vickers
> 

-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail: [email protected]



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail: [email protected]




Re: [qmailtoaster] connection refused from clients sending email

2009-08-06 Thread Maxwell Smart
Check to see that the IP address your sending mail from hasn't been
blacklisted.

Glen Vickers wrote:
> Hello all,
> 
>  
> 
> I’m having an issue I have yet to figure out.  About a week or so ago my
> server stopped accepting incoming connections to send mail.  I checked
> my router/firewall/port forwarding settings and all was correct. So I
> went inside our network (origionally the client was outside) and
> attempted to connect/send mail.  Same error from client, unable to
> connect to mail server.  So I attempted to telnet to both the external
> IP and internal IP addresses.  Connection refused (using putty).
> 
>  
> 
> I checked the logs after that and don’t see any reference to any IP
> address attempting to connect to port 25.  I checked to see if IP tables
> had somehow been enabled on the machine. Nothing. I then checked for
> SELinux and ran nmap localhost and nmap /Domain/ as well as nmap
> /hostname/.  It says port 25 is open and taking requests yet I get
> connection refused at any location.
> 
>  
> 
> To make things interesting, I’m able to email to any address that server
> holds.  Just can’t reply/send out from any address the server holds. 
> Any thoughts where I could look?  The logs don’t even show an attempted
> connection.
> 
>  
> 
>  
> 
>  
> 
> Glen Vickers
> 

-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail: [email protected]




[qmailtoaster] connection refused from clients sending email

2009-08-06 Thread Glen Vickers
Hello all,

 

I'm having an issue I have yet to figure out.  About a week or so ago my
server stopped accepting incoming connections to send mail.  I checked my
router/firewall/port forwarding settings and all was correct. So I went
inside our network (origionally the client was outside) and attempted to
connect/send mail.  Same error from client, unable to connect to mail
server.  So I attempted to telnet to both the external IP and internal IP
addresses.  Connection refused (using putty).

 

I checked the logs after that and don't see any reference to any IP address
attempting to connect to port 25.  I checked to see if IP tables had somehow
been enabled on the machine. Nothing. I then checked for SELinux and ran
nmap localhost and nmap Domain as well as nmap hostname.  It says port 25 is
open and taking requests yet I get connection refused at any location.

 

To make things interesting, I'm able to email to any address that server
holds.  Just can't reply/send out from any address the server holds.  Any
thoughts where I could look?  The logs don't even show an attempted
connection.

 

 

 

Glen Vickers