LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   sendmail takes 30 second to send. (http://www.linuxquestions.org/questions/linux-general-1/sendmail-takes-30-second-to-send-829056/)

MrUmunhum 08-28-2010 05:16 PM

sendmail takes 30 second to send.
 
Hi group,
I am having a problem with sendmail. Using a php script the process that 30 seconds to send. I have googled the symptoms and have changed sendmail.cf ==> Timeout.ident=0 and configured /etc/hosts properly.

I'm using Fedora 11 and 12, same issue.

Anything else I need to fix??

MrUmunhum 08-28-2010 08:57 PM

[Solved] sendmail takes 30 second to send.
 
Quote:

Originally Posted by MrUmunhum (Post 4080985)
Hi group,
I am having a problem with sendmail. Using a php script the process that 30 seconds to send. I have googled the symptoms and have changed sendmail.cf ==> Timeout.ident=0 and configured /etc/hosts properly.

I'm using Fedora 11 and 12, same issue.

Anything else I need to fix??

It turns out that Timeout.ident is in two config files!
Code:

grep Timeout.ident *
sendmail.cf:O Timeout.ident=0s
submit.cf:O Timeout.ident=0s

I really hate that!

All is well now.

MrUmunhum 08-31-2010 05:23 PM

sendmail broken again
 
After rebooting, sendmail is delaying out going mail again by 40 seconds.
It was fixed before rebooting, it only took less than 1 second.

Any ideas?

MrUmunhum 08-31-2010 06:28 PM

Quote:

Originally Posted by MrUmunhum (Post 4084057)
After rebooting, sendmail is delaying out going mail again by 40 seconds.
It was fixed before rebooting, it only took less than 1 second.

Any ideas?

I think is has to do with the network changes I made. I redefined the virtual network.

MrUmunhum 09-05-2010 01:52 PM

[Solved] sendmail takes 30 second to send. Again!
 
I changed the Trusted.users file to add apache and root. Now sendmail takes less than 1 second.
The problem was that the run user changed when I did the 'service sendmail start' from when the system booted. I think??

MrUmunhum 09-07-2010 08:16 PM

Well it broke again. This time I made changes to the /etc/hosts file, rebooted and now it works again.

Hope all of this is helping other with simular problems?

gilead 09-07-2010 08:40 PM

I'm not having that problem - I just wanted to thank you for keeping the thread updated with what happened and how you fixed it :)

MrUmunhum 09-08-2010 12:13 AM

Quote:

Originally Posted by gilead (Post 4090932)
I'm not having that problem - I just wanted to thank you for keeping the thread updated with what happened and how you fixed it :)

You are more than welcome. I just want to give back to the community.


All times are GMT -5. The time now is 01:47 AM.