LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-29-2003, 09:08 PM   #1
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Rep: Reputation: 30
smtp? mua? mta? lda?postfix? AWWWW


I really have no clue what I'm doing. I want an email server that I can use to send emails to other people <like yahoo.com or hotmail.com users> with remote windows machines and outlook express <or some other windows email client>. I've read "Red Hat Linux Networking and System Administration" and "Red Hat Linux 8 Bible". I know believe I am more confused than I was before. My linux computer has no internet hostname. the only hostname it has is "TheWeb" and thats for my home networking. postfix keeps giving me something about a bad host name cause it's not "***.domain.com" format. All I can configure it with is ipaddresses, can I not host my own email server with only ip addresses?
 
Old 05-30-2003, 12:44 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 587

Rep: Reputation: 32
You can.You should use the following form: account@[mail_server_ip_address]
of email address. The brackets [ ] are important.
 
Old 05-30-2003, 04:38 PM   #3
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Original Poster
Rep: Reputation: 30
I dont think I understand. The postfix configuration file wants this format to even start "computer_name.domain_name.com" I want this computer (which doesn't have a public domain name) to send emails to a yahoo or hotmail email address. I need postfix to work first <I want to use postfix instead of sendmail>. I just want to setup a pop3 and smtp server on my home computer, so I dont have to use public accounts, and therefore get spammed. I just dont know how to get it running.
 
Old 05-31-2003, 03:13 AM   #4
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 587

Rep: Reputation: 32
I am sorry, but I don't know postfix. I also never used sendmail. The server which I'am using is running qmail which is totally bug-free program.
My statement that you could use IP was a general statement - I am using the this feature so it is possible. Qmail is able to work with IP instead of domain name.
 
Old 05-31-2003, 10:35 AM   #5
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
postfix is easy !
u must configure /etc/postfix/main.cf
on clients u may give your linux ip for pop and smtp server name

i hope it works
 
Old 05-31-2003, 12:51 PM   #6
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Original Poster
Rep: Reputation: 30
I tried the postfix main.cf file below. I have tried typing <as root, if that means anything> sendmail hotrodowner, su hotrodowner, mail hotrodowner; and it says there is no mail. I also tried "sendmail <user>@hotmail.com", but no message gets there. I tried "mail <user>@hotmail.com", test for subject, <control-d>, enter; and that doesn't get there either. What am I doing wrong?
ok, heres my postfix file:

<This file has been removed, due to security reasons>

Last edited by hotrodowner; 06-05-2003 at 06:50 PM.
 
Old 06-01-2003, 12:48 AM   #7
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
# Common e-mail tools
sendmail - postfix - sends mail to local users (and internet when configured correctly)
fetchmail - gets mail from internet accounts (non-Hotmail type)
procmail - sorts and delivers into separate mailboxes
mutt - mail client that sucks less than all the others
Email the Linux Way
Suresh Ramasubramanian's email guide
The Linux Mail User HOWTO
The Linux Electronic Mail Administrator HOWTO
SquirrelMail web mail
Gotmail, a utility to download mail from Hotmail type accounts
 
Old 06-01-2003, 03:38 PM   #8
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Original Poster
Rep: Reputation: 30
ok, I know what the tools are, but does someone know how to configure postfix to send mail to local users? Then I have to learn how to send mail to other computers with only an IP address to work with. I dont mean to sound lazy <I know I do.>, but I just dont understand the how-to's. I need someone to clear things up a bit.
 
Old 06-01-2003, 07:33 PM   #9
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Sorry, I use sendmail.

Isn't it configured that way by default? I know sendmail is on Redhat.

Local mail can be found in /var/spool/mail/<user> if it's being delivered.

Most apps have a user mailing list. Perhaps you shoud sign up for it. All the ones I use are very friendly and helpful.
 
Old 06-02-2003, 05:20 PM   #10
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
What does the file /var/log/maillog say when you send mail.
 
Old 06-02-2003, 05:59 PM   #11
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Original Poster
Rep: Reputation: 30
I dont understand this, I didn't configure sendmail any what so ever, and when I use mail <user>@yahoo.com, it goes through. But when I start postfix instead, I get nothing. /var/log/maillog says the following:

Jan 7 04:02:23 TheWeb sendmail[2151]: a0792NEM002151: from=root, size=4174, class=0, nrcpts=1, msgid=<199601070902.a0792NEM002151@localhost.localdomain>, relay=root@localhost
Jan 7 04:02:24 TheWeb sendmail[2151]: a0792NEM002151: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30039, relay=localhost.localdomain. [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by localhost.localdomain.

<ps. the cmos battery is dead>
 
Old 06-08-2003, 09:26 AM   #12
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Original Poster
Rep: Reputation: 30
Well, I gave my computer a fake domain name and it can now send mail to my yahoo account, what ports need to be open for it to accept replies?
 
Old 06-08-2003, 01:46 PM   #13
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
port 25 to recieve mail
 
Old 06-08-2003, 11:22 PM   #14
Robert0380
Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
also make sure your sendmail or postfix is listening on the right interface....i had a slight problem with that, i had port 25 open but
sendmail was only looking for mail on IP 127.0.0.1 so i was sending
all i wanted but wasnt getting any back, i used webmin to find the problem,
webmin is a web based tool for configuring almost anything on the
system
http://webmin.com
 
Old 06-09-2003, 09:21 AM   #15
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Original Poster
Rep: Reputation: 30
but how do I use webmin when I have no gui? can I connect to webmin from another machine?
 
  


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
cone mua smtp problem mlsfit Linux - Software 0 10-05-2005 07:22 PM
Mailman (MTA = Postfix) problems (...group...) (Gentoo) jeroenvrp Linux - Software 0 07-19-2004 12:12 PM
Selecting Postfix as MTA in RH9 Asdsl Linux - Networking 2 04-08-2003 02:11 PM
Postfix - Only SMTP? Thinkgeekness Linux - Software 12 03-11-2003 04:39 PM
server side anti virus for mail traffic; postfix as mta markus1982 Linux - Software 4 03-09-2003 10:17 AM


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