This is a discussion on Connection Refused in Qmail Issue. within the mailing.postfix.users forums, part of the Mail Servers and Related category; Hello, If i send an email using the mail command it shows up in my mailbox which is what I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
If i send an email using the mail command it shows up in my mailbox which is what I want. However if I go jump on my Windows box and use a mail client there and try to send to my linux machine an email I get the following error in my mailq log ----------------------------------------------------------------------------- 230921E79F 1331 Fri Feb 6 09:29:40 ryan@theknopps.com (connect to localhost[127.0.0.1]: Connection refused) ryan@theknopps.com 8A4701ED95 361 Fri Feb 6 09:33:43 ryan@aisp.com (connect to localhost[127.0.0.1]: Connection refused) ryan@thedomain.com B848F1ED5B 1360 Fri Feb 6 09:30:27 ryan@thedomain.com (connect to localhost[127.0.0.1]: Connection refused) ryan@thedomain.com -------------------------------------------------------------------------- I'm using OE in windows for the testing purposes (i usually use thunderbird) and the settings I used for my SMTP settings for OE are Name: Ryan Email: ryan@thedomain.com outgoing email: 192.168.0.101 port: 25 OE created the 230921E79F and B848F1ED5B failed email above. The ip address that my windows machine is on is 192.168.0.106. I also tried it using putty and the SMTP protocol and this is what I did --------------------------------------------------- 220 linux.theknopps.com ESMTP Postfix HELO 501 Syntax: HELO hostname MAIL FROM:ryan@aisp.com 250 Ok RCPT TO:ryan@theknopps.com 250 Ok DATA 354 this is a test. .. 250 Ok: queued as 8A4701ED95 ----------------------------------------------------- and as you see this showed up in my mailq log as a connection refused error. Here's my postconf - n ----------------------------------------------------------------------------- linux:/home/ryan # postconf -n command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/lib/postfix debug_peer_level = 2 disable_dns_lookups = yes inet_interfaces = all mail_owner = postfix mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain, www.$mydomain, ftp.$mydomain mydomain = theknopps.com myhostname = linux.theknopps.com mynetworks = 192.168.0.0/28, 127.0.0.0/8 myorigin = $mydomain newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES sample_directory = /usr/share/doc/packages/postfix/samples sendmail_path = /usr/sbin/sendmail setgid_group = maildrop unknown_local_recipient_reject_code = 450 ---------------------------------------------------------------------------- >> mynetworks = 192.168.0.0/28, 127.0.0.0/8 Shouldn't this line solve this problem? I'm sending this email from ip 192.168.0.101 (Windows Box). I only want the smtp to work in my local network at 192.168.0.*. Any suggestions? Thanks a lot for you help. Ryan Knopp |