LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-30-2003, 04:51 PM   #16
jdunfee
LQ Newbie
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Slackware/FreeBSD/OpenBSD
Posts: 2

Rep: Reputation: 0

Hi,

Two quick things about the email:

If you want to see what's going on do an:

strace -t -otracefile.text mail -v jdunfee@blah.net

This will let you see the SMTP verbage (you should be connecting
to localhost by default now) and the "tracefile.text" will have the
system calls and timestamps for what was happening underneath
the covers. You'll the see the dns delays there (probably 4 5 sec
delays if that is the problem). Just watch for the big gaps in the
timestamps and see if they match a poll for the dns lookup.

As for where sendmail check for DNS, you can insert a file in
/etc/mail to reorder this. By default I believe the name is
/etc/mail/services.switch (configurable in the .mc file).
If you want to set it up for your /etc/hosts file first, the file
should have this line in it:

hosts files dns

(like resolv.conf).

Good luck.
 
Old 07-31-2003, 04:10 AM   #17
Skute
Member
 
Registered: Jul 2003
Distribution: SUSE 9.0 Pro
Posts: 45

Rep: Reputation: 15
well i finally got around the problem, by uninstalling sendmail. deleting the directory and executables and then re-installing from the original RPMs off the redhat 9 disk.

i dont know why upgrading to the latest version causes these slow downs. since then ive used the automatic up2date program to update sendmail and its worked fine.

crazy!
 
Old 07-31-2003, 09:29 AM   #18
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
Since you stated in your earlier posting

Quote:
but i got the source package from sendmail.org
perhaps the problem was caused by mixing packages from different places ie sendmail.org and RedHat. It is always best to avoid such practices since RedHat and other distributors often make subtle changes which can cause compatibility problems in trying to mix their version and that of another
distribution or originating upstream source.

Last edited by Corin; 07-31-2003 at 09:31 AM.
 
Old 10-01-2003, 01:45 AM   #19
davidboon
LQ Newbie
 
Registered: Oct 2003
Distribution: Red Hat
Posts: 2

Rep: Reputation: 0
sendmail header format

myself also have the same problem..how to get sendmail to use user@domain.com instead of user@host.domain.com.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Sendmail ignores my sendmail smarthost entry Paul_assheton Linux - General 1 03-17-2009 08:55 AM
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 03:55 PM
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 02:19 PM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 12:47 PM
sendmail (dont just ignore it 'cause its got sendmail in the subject :P) GnomeKing Linux - Networking 1 11-12-2001 10:57 PM


All times are GMT -5. The time now is 08:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration