LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-03-2004, 10:51 AM   #1
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
Sendmail configuration on Debian Sid(for home use only)


I have just installed Debian sid and have downloaded the sendmail packages through apt and configured it to the best of my capabilities...which it seems..are not enough..so here i am asking for your help.
i check my mail from my universities mail account and i want to be able to reply to mails through this account(i use pine)...i dont use the universities SMTP server since it has some rcpthosts(i am really very new to sendmail and how it works) error thingi.
anyways i have installed and configured sendmail on my machine and then tried to sendmail.pine shows that it is sending the mail..even though it takes it a while and it actually says it has sent the message out...however i recieve no message(i am mailing back to myself).i do not know why this could be happening.i did not enter any aliases in /etc/mail/aliases or none of that stuff and you can see my sendmail.cf file
here
I am also running a firewall which i created using firestarter and i only opened up ports 22(ssh),80(http) and ftp(i dont know exactly what port that is..22/23?).
i know i have not given you much here but that is because i do not know much.
if you want i can paste my firewall script...though i dont know how that will help.
anyways i would really appreciate any help here.
thanks
 
Old 02-03-2004, 01:25 PM   #2
Dewar
Member
 
Registered: Sep 2003
Location: Washington State
Distribution: SuSE 8.0, SuSE 9.0, Slack 9.1
Posts: 90

Rep: Reputation: 15
Well, first off SMTP uses port 25, so you might want to enable that.

Now let me see if I understand you correctly. You use pine on your local machine to get mail from your college e-mail server. You want to send mail as if you were using that server, but you want to use your own SMTP server instead? Is the computer running sendmail the same computer you're sending mail from? Have you tried sending a test message to a webmail account (like yahoo or hotmail) so you can tell if it's a problem on the recieving end? Please provide more information about the setup of your server and the college's server and what exactly you want to do.

-Dewar
 
Old 02-03-2004, 02:20 PM   #3
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Dewar
Well, first off SMTP uses port 25, so you might want to enable that.

Now let me see if I understand you correctly. You use pine on your local machine to get mail from your college e-mail server. You want to send mail as if you were using that server, but you want to use your own SMTP server instead? Is the computer running sendmail the same computer you're sending mail from? Have you tried sending a test message to a webmail account (like yahoo or hotmail) so you can tell if it's a problem on the recieving end? Please provide more information about the setup of your server and the college's server and what exactly you want to do.

-Dewar
yes...i use pine on my local machine to read mail i get on my universities server.I want to use my own SMTP server to send mail out because if i use my univ's server i can only send a message to the same domain(only mail.utexas.edu...which is the domain name of my univerisities mail server-it provides IMAP mail)...i have tried using my univ's smtp server to addresses like hotmail,yahoo etc. but i get the same error message over and over...hotmail/yahoo/.. is not in the rcpthosts list.
so i want to run my own smtp server on my local machine(there is just one machine the server needs to run for)to send out mail...i dont want it to implement any special/exotic features...just send out my mail thats all.
i did try opening up port 25 and then sending the mail and i get the same problem...pine says the message was sent but no message is recieved...is there a log file for sendmail where i can check what is going on?
hope this explains my situation better.
thanks
 
Old 02-03-2004, 05:58 PM   #4
Dewar
Member
 
Registered: Sep 2003
Location: Washington State
Distribution: SuSE 8.0, SuSE 9.0, Slack 9.1
Posts: 90

Rep: Reputation: 15
Mail logs are usualy kept in /var/log/mail (at least for SuSE) so try there for the logs. A lot of junk can collect in that log, so I suggest test sending a message and then looking in the logs right after.

Also, are you trying to masquerade as your campus's email server (make it so the mails you send have your campus e-mail in the envelope)? If that's the case, you might be rejected because your IP doesn't match the DNS for the campus e-mail server.

Finally, can you send e-mails to other users on your local machine? If not, there might be an error with the sendmail process somewhere.

-Dewar
 
Old 02-03-2004, 06:04 PM   #5
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Original Poster
Rep: Reputation: 30
My mail.err files few ending lines read like this:
Feb 3 14:25:21 prophecy sm-mta[5284]: daemon MTA: problem creating SMTP socket
Feb 3 14:25:21 prophecy sm-mta[5284]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting
Feb 3 14:27:18 prophecy sendmail[5298]: My unqualified host name (prophecy) unknown; sleeping for retry
Feb 3 14:28:18 prophecy sendmail[5298]: unable to qualify my own domain name (prophecy) -- using short name
Feb 3 14:28:18 prophecy sendmail[5298]: My unqualified host name (prophecy) unknown; sleeping for retry
Feb 3 14:29:18 prophecy sendmail[5298]: unable to qualify my own domain name (prophecy) -- using short name
Feb 3 14:40:01 prophecy sm-msp-queue[5377]: My unqualified host name (prophecy) unknown; sleeping for retry
Feb 3 14:41:01 prophecy sm-msp-queue[5377]: unable to qualify my own domain name (prophecy) -- using short name

and my mail.log file is:
Feb 3 14:41:01 prophecy sm-msp-queue[5380]: i11HRJhx000527: to=<rmanocha@mail.utexas.edu>, delay=2+03:13:42, xdelay=00:00:00, mailer=relay, pri=14161872, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Feb 3 14:41:01 prophecy sm-msp-queue[5380]: i118Dlwm001789: to=<rmanocha@cs.utexas.edu>, delay=2+12:26:14, xdelay=00:00:00, mailer=relay, pri=14520567, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Feb 3 14:41:01 prophecy sm-msp-queue[5380]: i1189tGe001765: to=<rmanocha@mail.utexas.edu>, delay=2+12:30:06, xdelay=00:00:00, mailer=relay, pri=14520593, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

i will try changing the masquerading thingi...just wondering if there is any GUI application to configure sendmail...?
 
Old 02-03-2004, 06:11 PM   #6
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Unless you understand sendmail.cf, I do not suggest using sendmail. There are other packages that are about equally good such as exim and qmail.

For the record, I've never met anyone who knows how to write sendmail.cf files. They all just take someone else's (who in turn doesn't understand it either, but got it from somewhere else...)

A recipe for disaster.
 
Old 02-03-2004, 06:30 PM   #7
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Original Poster
Rep: Reputation: 30
well...how do i confiure qmail...i did download it but i could not get pine to send messages from it...could you please explain...?
 
  


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
will the ltmodem drivers work in debian sid (knoppix sid) maximalred Debian 5 05-29-2009 10:44 AM
Best way to install Debian Sid? wartstew Linux - Distributions 17 08-31-2008 11:25 PM
fluxbox in debian sid help wrat Debian 29 01-27-2005 09:44 AM
What our the differences between debian (Sid) and knoppix 3.4 (Sid)? maximalred Debian 6 06-06-2004 08:39 PM
Debian Sid BittaBrotha Debian 11 07-06-2003 09:35 PM


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