LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Install a Mailserver from the beguining (https://www.linuxquestions.org/questions/linux-networking-3/install-a-mailserver-from-the-beguining-10303/)

jrmann1999 06-06-2002 03:01 PM

Well, I could probably help you if I knew what was wrong. Just saying something is wrong doesn't help to deduce where to start.

Did you get it to install? is it an RPM or a full source build? when you try to check mail does it give an error, if so what? have you tried manually checking mail(telnet localhost 110)?

Things like that are what I'd like answers to. I just setup a postfix + qpopper fully virtual(no local user accounts) setup, so it's all pretty fresh on my mind.

MasterC 06-07-2002 04:07 AM

Whoa, you just set up a what to who? Sorry I am wayy out of my league on this it looks like. Maybe you can just point me to some readings to get me started on how to setup a mail server.

It was a source, but I ran it as: ./configure --enable-standalone (or something close to that); make; make install

And then I was stuck. That's why I am guessing I should read a few things first, then come back if I have more problems. Any good sites/suggestions?

Thanks

Rashkae 06-07-2002 08:57 AM

Redhat has some very good E-mail howto's on their web site (geared towards redhat distro of course). They are a long read, but well documented and explained all the way. I would start from there.


http://www.redhat.com/support/resour...news/mail.html

These documents are great for other distro's as well, you'll just have to figure out the different paths to important files and directories yourself.

buttnutt 06-07-2002 01:38 PM

you can use sendmail as a receiving agent, like a pop3 server, as well as sending email?

Rashkae 06-07-2002 02:08 PM

Buttnutt No, Sendmail is purely a SMTP relay. POP3 is completely different. Fortunately, POP3 is almost brainless to setup. Sending, relaying, mangling and otherwise administering Sendmail takes a bit of work.

buttnutt 06-07-2002 03:57 PM

what about postfix? Is it for sendemail only?

jrmann1999 06-10-2002 08:02 AM

Buttnutt,

Sendmail is one of about 50 MTA programs. MTA means Mail Transfer Agent. Sendmail is the most widely known because it is/was the pioneer linking unix systems to the Internet. Sendmail is EXTREMELY tedious to setup if you've never done it, but once it's running it's solid(with the exception of it's history of exploits).

Postfix is merely another MTA. It does exactly what sendmail does(in fact it even installs a 'sendmail' app that merely wraps itself for legacy apps that call sendmail to send their mail). Postfix IMHO is just easier to setup.

There are obviously a million ways to install an e-mail system on a unix machine. You just need to figure out if you want to go for the proven technology and are ready for a challenge(sendmail) or want something that will reliably send mail and is a tad easier to setup(postfix, qmail, etc...).

Maybe if you described exactly what type of server you want(# of users, # of domains, are the users shell accounts, or just e-mail only, do you want webmail, do you want quotas, etc..) we would be able to suggest a couple of servers and point you to some install documents.

buttnutt 06-10-2002 02:07 PM

I am only looking to set up a few personal accounts. I am interested in WebMail.

What so you suggest?

finegan 06-10-2002 05:26 PM

sqwebmail, part of courier. Its a nifty little cgi-bin oriented toy that doesn't need much special working, plus you could put it on https so there's actually a degree of security to it. The one downshot is that its not compatible with mail spools, just maildirs so that limits you in MTA to pretty much Qmail and Courier.

Cheers,

Finegan

tontod 06-10-2002 10:23 PM

mail server
 
I couldn't figure out how to configure sendmail, I tried to follow the HOWTO's but wasnt getting anywhere. So i just decide to download postfix (tar.gz version), did make, make install, and it works fine now.

Savedadogs 09-08-2002 05:35 PM

Hi all,

I am running RedHat Linux 7.2. I have been trying to get sendmail to work. Here is my situation:

I have a DSL connection and I am running Dynamic DNS (my server is on a private network (192.168.1.0 255.255.255.0) and NATing is taking place...port 25 is forwarded to my Linux box

I have a domain name.

I would like to setup sendmail so I can have a mail server that I can send and recieve mail to anyone on the internet.

I have already setup sendmail (basic).

I am able to telnet to my redhat box on port 25:

telnet 192.168.1.105 25

Once I am telnetted in I can send mail to my internal network...however if I try to send mail to say someone@yahoo.com I get the following:

[root@localhost etc]# telnet 192.168.1.105 25
Trying 192.168.1.105...
Connected to 192.168.1.105.
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail 8.11.6/8.11.6; Sun, 8 Sep 2002 18:26:26 -0400

MAIL FROM:root@localhost.com
250 2.1.0 root@localhost.com... Sender ok
RCPT TO:someone@yahoo.com
550 5.7.1 someone@yahoo.com... Relaying denied. IP name lookup failed [192.168.1.105]

What does this mean..how can I fix this???

I know my nameserver are correct:

/etc/resolv.conf

search localdomain
nameserver 151.202.0.84
nameserver 151.202.0.85

Also, here is my /etc/mail/access

# Check the /usr/share/doc/sendmail-8.11.6/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail-8.11.6/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
192.168.1.105 RELAY

Can someone please help....I would eventually want to setup a web based email for users on my domain (something like mail.yahoo.com ....but of course in a super smaller scale..) looking towards Squirrel Mail...

Thanks.

acid_kewpie 09-08-2002 05:44 PM

you need an entry in /etc/hosts for the error you are halving i presume, so it knows what to call you. also, make sure you r domain name is listed in the local_host_names file

Savedadogs 09-09-2002 03:18 PM

Hi all,

I got sendmail working. However, I can only send mail not receive...when someone tries to send me mail it says:

The original message was received at Mon, 9 Sep 2002 19:43:00 +0100 (BST) from localhost [127.0.0.1]

----- The following addresses had permanent fatal errors ----- <Anthony@mydomain.com>
(reason: 550 5.1.1 <Anthony@mydomain.com>... User unknown)

----- Transcript of session follows -----
... while talking to ww2.mydomain.com.:
>>> RCPT To:<Anthony@mydomain.com> NOTIFY=FAILURE,DELAY
<<< 550 5.1.1 <Anthony@mydomain.com>... User unknown
550 5.1.1 <Anthony@mydomain.com>... User unknown

It seems like the mail does reach my mail server (ww2.mydomain.com) ...any clues what is wrong..I am running sendmail and imap...I have port 25 forwarded but not port 143 ..can that be the problem....

Yes I did do the following since I am running Redhat 7.2:

Open /etc/mail/sendmail.mc in a text editor.
Find the line that begins DAEMON-OPTIONS and lists the loopback IP address (127.0.0.1).
Type dnl at the beginning of this line. dnl means "delete to new line" - in other words, it comments out what follows.


Thanks to this site I got sendmail partially working....

http://www.flysandia.org/%7Eglenn/protech/sendmail.htm


Someone please help..Can send mail but cant receive mail....

Thanks again.

markus1982 09-09-2002 03:39 PM

Hmm so postfix is easier to set up than sendmail? Well I have had problems setting up postfix but haven't got any with sendmail ... I don't think the configuration, etc of sendmail is tougher than the one of postfix ... well at least in my case it's just the other way round :)

roeiboot 10-04-2002 07:23 PM

Re: My 0.02
 
downloaded eXtremail.. and i'm really eager to use it but since i'm a new user i don't get the part where it says "Make the proper link /etc/rc.d..." can you tell me how to start it and where/how to config it ?

thanks..


All times are GMT -5. The time now is 02:20 PM.