LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Not receiving incoming mails after configuring webmail (https://www.linuxquestions.org/questions/linux-networking-3/not-receiving-incoming-mails-after-configuring-webmail-253516/)

jomy 11-11-2004 01:37 AM

Not receiving incoming mails after configuring webmail
 
Hi ,

I'm running a sendmail server on RHEL ES 3.I've a leased line and a static IP.My sendmail server is behind a Firewall( Cisco Pix).My static IP is configured at the pix inetrface to route the smtp requests to my server this way.

static (inside,outside) 211.40.60.217 192.168.0.30 netmask 55.255.255 0 0
conduit permit tcp host 211.40.60.217 eq smtp any

where 211.40.60.217 is my static IP (which is configured at my router interface) and 192.168.0.30 is the IP of my sendmail server(which is behind this router)

So this is working fine and I'm able to send and receive messages through sendmail.

Now I configured Webmail using squirrelmail.

and put the following entry in my router

conduit permit tcp host 211.40.60.211 eq http any

With this configuration I'm able to get the webmail interface and log in to my server from anywhere. I'm able to send mails either through webmail or through outlook express .

But Now I'm not able to receive any incoming mails.

sometimes I receive delivery failure notification message (when I try to send messages from public domains like hotmail to my domain) and sometimes do not. But i don't receive any messages addressd to my domain (for eg:- jomy@mydomain.com). This happens only after I start using webmail. Outgoing mail service is working fine.

Please give a solution for this

Jomy

maxut 11-11-2004 03:08 AM

Re: Not receiving incoming mails after configuring webmail
 
Quote:

Originally posted by jomy

sometimes I receive delivery failure notification message (when I try to send messages from public domains like hotmail to my domain) and sometimes do not. But i don't receive any messages addressd to my domain (for eg:- jomy@mydomain.com). This happens only after I start using webmail. Outgoing mail service is working fine.

i perfer qmail so i dont know sendmail well.
what does exactly that failure message say? maybe it s a nameserver issue.

bathory 11-11-2004 03:15 AM

You should allow both smtp and http traffic at your router, since sendmail uses smtp and webmail http.

jomy 11-11-2004 04:43 AM

It is not a nameserver issue since I'm able to receive messages until I start using webmail.The failure message says " the message cannot be delivered to the following address jomy@mydomain.com"


http traffic is opened at the router.The code is written down below in my question

Jomy

scowles 11-11-2004 07:30 AM

Since I use squirrelmail at this end, I don't see how squirrelmail can interfere with sendmail delivery. Squirrelmail uses http and imap protocols. The only time squirrelmail interacts with sendmail (smtp protocol) is when it submits e-mail from the user, but this is (by default) done through localhost based on the following entries in /etc/squirrelmail/config.php.
Code:

$useSendmail            = true;
$smtpServerAddress      = 'localhost';
$smtpPort              = 25;
$sendmail_path          = '/usr/sbin/sendmail';

With the above in mind, I would start using tcpdump/ethereal to diagnose the problem you describe. Based on your description, this sounds like a firewall related issue.


All times are GMT -5. The time now is 05:04 PM.