Link to home
Start Free TrialLog in
Avatar of solunatec
solunatec

asked on

installed squirrelmail; not getting emails but can send out; do I have to forward ports such as 25

I installed courierimap; openssl ; openssh; cyrusssasl; courierauthlb; squirrelmail; I have port 80 forwarded; I ran the squirrelmail configtest and it shows everything is fine; I telnet to all my ports ie..
25: 110; 995; using telnet localhost;## and also cheching openssl ; all seems to work fine...;
so once again I can send emails out and they arrive at another mail server; but when the other mail server tries to respond the email gets sent back with ; 'no user here' message..; I guess the email cannot get in.; so my question is ; does telnet to localhost to port whatever establish that that port is open or do I have to forward one or more ports like I did with the http port?
Avatar of solunatec
solunatec

ASKER

by the way I use dyndns account for my dns and create a mx address there.
here is the returned email;

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  abelsol@solunatec.com
    No Such User Here

------ This is a copy of the message, including all the headers. ------

Return-path: <agarcia@cobm.net>
Received: from localhost ([127.0.0.1]:39003 helo=mail.cobm.net)
        by xterra.websitewelcome.com with esmtpa (Exim 4.69)
        (envelope-from <agarcia@cobm.net>)
        id 1LckBV-0008Se-0p
        for abelsol@solunatec.com; Thu, 26 Feb 2009 11:38:09 -0600
Received: from 173.9.41.202 ([173.9.41.202])
        (SquirrelMail authenticated user agarcia@cobm.net)
        by mail.cobm.net with HTTP;
        Thu, 26 Feb 2009 11:38:09 -0600 (CST)
Message-ID: <1203.173.9.41.202.1235669889.squirrel@mail.cobm.net>
In-Reply-To: <5ee9bf0b71ac228be47aa63dc4f351fa.squirrel@10.1.10.12>
References: <5ee9bf0b71ac228be47aa63dc4f351fa.squirrel@10.1.10.12>
Date: Thu, 26 Feb 2009 11:38:09 -0600 (CST)
Subject: Re: ooooyeah
From: agarcia@cobm.net
To: abelsol@solunatec.com
User-Agent: SquirrelMail/1.4.13
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal

hiiiiiuialllaaaa







> oooheay
>
>

I can send mail to myself: abelsol@solunatec.com to abelsol@soluantec.com
cmon somebody throw me a bone...anything
Try telnetting from outside to port 25
postfix -bt is of help to sort out dangerous rules.
how do you do that you mean like using putty but instead of port 22 use port 25
DO A TCP connection to SMTP service.
Then enter SMTP commands:
EHLO experts-exchange.com
MAIL FROM: <real@domain.com>
RCPT TO: <user@you.com>
DATA
Subject: whatever

Text
--
Signature
.
QUIT
I did the above and seems to work fine: using telnet localhost 25; the email was delivered but when I try to send it back to the user it still says: no user here..
I realized that if I send an email as : name@www.solunatec.com:: instead of :: name@solunatec.com; the email does not get turned back; but it also never makes it to the destination on the server....
Avatar of Maciej S
Post output of "postconf -n" command.
by the way I am trying to figure out a way to post the postconf -n I dont know how to save some text from the command line to file yet...
postconf -n > some_file.txt
here it is as attachment thanks..
here it is as attachment thanks..
conffile.txt
Is it entire output, or maybe you deleted some lines? I don't see myhostname neither mydomain options set. I don't see also any virtualdomains (they are not necessary of course). So there is nothing about domains which are treated as local by postfix (but as I checked solunatec.com (you wrote it in one of previous comments) it accepts emails for @solunatec.com).
Anyway - I reread your comment with full headers, and I see something strange (I should notice this earlier).
Email addressed to abelsol at solunatec.com was sent to mail.cobm.net/xterra.websitewelcome.com. This server gave you "No Such User Here" response.
So the question is - why this email got to mail.cobm.net instead of your server?
I can see, that MX for solunatec.com is solunatec.com, does your server see the same? Check this with command: "host -t mx solunatec.com"
mail.cobm.net / www.cobm.net / is a site I have hosted right now by hostgator: so I am using them as a mail server; the whole idea is to bring cobm.net to the physical server I am working on now being / solunatec.com; but since I have little experience I wanted to set up solunatec first and later cobm.net becuase on cobm.net people rely on emails etc.....: how I do that switch is another story for later becuase I dont know exactly if I can run mail for both addresses?::once I get this email stuff worked out I am most of the way there...i think..need to set up samba too...
ASKER CERTIFIED SOLUTION
Avatar of Maciej S
Maciej S
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I wrote;
www# host -t mx solunatec.com
solunatec.com mail is handled by 10 solunatec.com.  
I use dyndns  and my mx is simply solunatec.com
Two more commands (to be run on solunatec.com) :)
host solunatec.com
grep -i solunatec /etc/hosts
dude it works!!!! you gave me an idea: I realize that that hostgator account is an hosting account and solunatec.com was still an account albeit not active; I just removed it and now it works...:thanks ....so much....I love this site becuase of people like you ; you stick with it until one gets a soluntion...
Glad I could help :)
if you send me an address I will send you a shirt from our company..
agarcia@cobm.net