LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 06-25-2012, 09:43 PM   #1
Rohit_4739
Member
 
Registered: Oct 2010
Distribution: Red Hat
Posts: 228

Rep: Reputation: 9
Sendmail delays email delivery in Internal network mode ?


I am facing a weird issue and i am not sure about why it is happening and having a hard time to understand it. I have a RHEL VM and i have installed Sendmail on it. I compiled and installed Sendmail from source and running it with default installation, i have not made any changes in any of the configs. I am trying to send email to localhost only, now the problem is when the network mode for Vm guest OS is "Bridged" with a dhcp ip the email is delivered instantly without any delay. However when the network mode is "Internal Network" with a manually assigned IP the email delay of approx 3 minutes occurs. So can anyone let me know why the delay occurs when machine is "Internal network" mode.

This is driving me nuts

Here are the logs confirming that delay

Code:
Jun 22 21:03:07 test sendmail[2119]: q5N133lp002119: from=rohit, size=9, class=0, nrcpts=1, msgid=<201206230103.q5N133lp002119@test.home.com>, relay=root@localhost
Jun 22 21:05:55 test sm-mta[2120]: q5N137CR002120: from=<rohit@test.home.com>, size=263, class=0, nrcpts=1, msgid=<201206230103.q5N133lp002119@test.home.com>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jun 22 21:05:55 test sendmail[2119]: q5N133lp002119: to=stu, ctladdr=rohit (502/505), delay=00:02:52, xdelay=00:02:48, mailer=relay, pri=30009, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (q5N137CR002120 Message accepted for delivery)
Jun 22 21:05:55 test sm-mta[2220]: q5N137CR002120: to=<stu@test.home.com>, ctladdr=<rohit@test.home.com> (502/505), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30449, dsn=2.0.0, stat=Sent
So could any one suggest what could be the issue. Please let me know if you would need any information from me to diagnose the issue better.
 
Old 06-28-2012, 08:19 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
If this is Solved as you marked it can you please post what your solution was? It helps others with similar problems in future.
 
Old 06-28-2012, 08:25 AM   #3
Rohit_4739
Member
 
Registered: Oct 2010
Distribution: Red Hat
Posts: 228

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by MensaWater View Post
If this is Solved as you marked it can you please post what your solution was? It helps others with similar problems in future.
Well what i did was to set up a dhcp server in vbox for an internal network and then use that internal network to get dhcp assigned ips to the guest. After that the IP was assigned to the guest from vbox dhcp and still in Internal Network mode email was being delivered without a delay. But i still was not able to understand that why it was not working when i was using static IP.

Let me know if that helps or if anyone has any better solution please do let me know.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux gateway router delays incoming mail delivery wsimbota Red Hat 1 04-10-2012 08:54 AM
Cause of sendmail delivery delays tajamari Linux - Server 2 09-01-2008 06:03 AM
Sendmail ~ rewrite [x.y.z] in email header (to masq internal ip) designit Linux - Server 0 02-17-2008 02:23 AM
How to setup sendmail as internal email server fjkum Linux - Server 2 12-01-2006 08:27 AM
sendmail for internal network and network config questions RedHat123 Linux - Networking 0 04-06-2005 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 10:36 PM.

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