LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-11-2004, 01:37 AM   #1
jomy
Member
 
Registered: Jul 2004
Location: UAE
Distribution: RedHat
Posts: 93

Rep: Reputation: 15
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
 
Old 11-11-2004, 03:08 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
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.
 
Old 11-11-2004, 03:15 AM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You should allow both smtp and http traffic at your router, since sendmail uses smtp and webmail http.
 
Old 11-11-2004, 04:43 AM   #4
jomy
Member
 
Registered: Jul 2004
Location: UAE
Distribution: RedHat
Posts: 93

Original Poster
Rep: Reputation: 15
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
 
Old 11-11-2004, 07:30 AM   #5
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Incoming mails not working bobcatch Linux - Networking 0 02-24-2005 10:03 AM
Evolution 1.4.6 crashes when receiving mails hishii Linux - Software 3 12-19-2004 01:46 PM
No incoming mails gubak Linux - Networking 1 12-06-2004 02:10 AM
Why oracle is not receiving mails imsajjadali Red Hat 0 09-13-2004 02:06 AM
Problems in receiving mails dominant Linux - Newbie 2 01-14-2004 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration