LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-27-2003, 07:28 AM   #1
macie
Member
 
Registered: Oct 2003
Location: /dev/null
Posts: 33

Rep: Reputation: 15
URGENT: sendmail setup questions + acting up strange


We recently had a domain change to a server i am running now.. the webserver is running all good no problems there ...but we also need a mailserver and unfortunately i've never deal with that aspect before.. and i have to get it working asap

I followed the guide provided here:
http://www.linuxquestions.org/questi...ticle&artid=50
....but it's not doing the trick so far.

So here is the deal. The box is a RedHat9 box with sendmail-8.12.8-9 ..I opened the proper ports on the firewall.. started all services.. sendmail + xinetd services like smpts and pop3s ... at one point i was able to send mail out to external email accounts but never got it to accept any incoming mail.. right now nothing is working... any help to where i can start in order to proplery configure everything is GREATLy appreciated. I'm a nub when it comes to mail servers.

Also, very strange thing.. when i started the sendmail server (for the first time) the HD activity went up quite a bit.. when i inspected the maillogs i noticed it was getting constantly slapped with this:

Dec 27 03:57:28 mydomain.net sendmail[25823]: hBRBsbCm019278: to=<root@mydomain.net >, ctladdr=<root@mydomain.net > (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30779, dsn=2.0.0, stat=Sent
Dec 27 03:57:28 mydomain sendmail[19278]: hBRBsbCo019278: from=<root@mydomain.net >, size=570, class=0, nrcpts=1, msgid=<200309200900.h8K9005x004372@mydomain.net>, proto=ESMTP, daemon=MTA, relay=mydomain.net [127.0.0.1]
Dec 27 03:57:28 mydomain sm-msp-queue[19275]: h8K9005x004372: to=root, ctladdr=root (0/0), delay=98+02:57:27, xdelay=00:00:00, mailer=relay, pri=120214, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (hBRBsbCo019278 Message accepted for delivery)
Dec 27 03:57:29 mydomain sendmail[25825]: hBRBsbCo019278: to=<root@mydomain.net, ctladdr=<root@mydomain.net> (0/0), delay=00:00:01, xdelay=00:00:01, mailer=local, pri=30779, dsn=2.0.0, stat=Sent


...and as u can see, it's getting recorded few times every second NON stop.. what is that? possibly sendmail problem, configuration issue, or perhaps some kind of cracked activity..

Any help on this is greately appreciated.. thank u much..


peace.


ps. in the logs, i replaced my actually domain with "mydomain.net" to avoid any unnecessary curiosities...

Last edited by macie; 12-27-2003 at 07:30 AM.
 
Old 12-27-2003, 09:19 PM   #2
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
Those logs look like root is sending mails to itself.
Have you checked the messages in root's mailbox (possibly /var/mail/root)?
 
Old 12-27-2003, 10:46 PM   #3
macie
Member
 
Registered: Oct 2003
Location: /dev/null
Posts: 33

Original Poster
Rep: Reputation: 15
that seems to be true... the mailbox was quite big.. i del the root mailbox and started sendmail back up again.. and within seconds it was banged with mail again... how do i stop that from happening ?
 
Old 12-28-2003, 08:02 PM   #4
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
What is the content of those mails?
 
Old 12-29-2003, 05:56 AM   #5
macie
Member
 
Registered: Oct 2003
Location: /dev/null
Posts: 33

Original Poster
Rep: Reputation: 15
each email is same, seaz something among the lines: "workdir" /var/www/html/mrtg does not exist.


 
Old 12-29-2003, 08:10 PM   #6
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
Now I am pretty sure your sendmail is misconfigured, and it causes infinite mail loops for you.
I would advise you to google search the web for keywords "sendmail" and "loop" and see if you find anything useful.

I myself only have one tip: maybe you entered "root@mydomain.net" instead of "root" in one of
your mail config files? That may actually cause mail loops...

Anyway, thanks for the link; I found it very-very useful: since I already have a https server with stunnel and certificates, it made me realise how easily I could setup a secure smtp server based on that config.

I hope you will succeed, too.

Last edited by J_Szucs; 12-29-2003 at 09:16 PM.
 
  


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
Php4 acting strange Sevoma Linux - Software 13 02-15-2005 05:44 PM
Avidemux2 acting strange alitrix Linux - Software 0 12-15-2004 10:55 AM
grep acting strange in script fredgt Programming 2 12-14-2004 11:15 AM
vim acting strange littlemidget Debian 6 09-17-2004 11:52 AM
suse 9.1 acting strange ozzytx Linux - General 1 08-29-2004 09:41 PM

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

All times are GMT -5. The time now is 05:31 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