We currently own a domain name (larkhavengolf.com) and we would like to setup a smtp and pop3 email server. How do we go about this?(running 7.2, full install) Brandon Caudle -------------- 15yr Old Avid Unix User (HP-UX,FreeBSD,Linux) Larkhaven Golf Course Charlotte, NC "There cannot be a crisis next week. My schedule is already full." -- Henry Kissinger
I suggest buying and reading "Postfix" by Richard Blum, SAMS
Publications, and installing Postfix from the CDs and Courier IMAP
package (includes POP3 server) from the Web
(http://www.courier-mta.org/). Join the Postfix email list
(www.postfix.org), listen, then post questions. Running an e-mail
system in non-trivial. I would rate it as more complex than a small
Web site. If installing from source tarballs is too technical for
you, you aren't ready for running an e-mail system.
I have one, it works though there are some ugly areas, and I am no
longer at the mercy of my ISP's (Austin, TX Road Runner) servers,
e-mail, DNS, Web, etc. Looking at the domain name in your address,
you might like to do that too.
Jeffrey
50yr old avid *nix user and Staff Software Engineer.
Austin, TX
Quoting Brandon Caudle
We currently own a domain name (larkhavengolf.com) and we would like to setup a smtp and pop3 email server. How do we go about this?(running 7.2, full install)
Brandon Caudle 15yr Old Avid Unix User (HP-UX,FreeBSD,Linux) Larkhaven Golf Course Charlotte, NC
-- I don't do Windows and I don't come to work before nine. -- Johnny Paycheck
On Thu, Aug 16, 2001 at 05:44:05PM -0400, Brandon Caudle wrote:
We currently own a domain name (larkhavengolf.com) and we would like to setup a smtp and pop3 email server. How do we go about this?(running 7.2, full install)
As regards SMTP I would highly recommend Postfix, Sendmail is not designed for mere mortals (it's standard reference manual is 1100 pages or more long). Postfix has a *very* active mailing list. Don;'t be put off there by the rather blunt style of some of the contributors (do read all the documentation first !). Cannot recommend any POP software since I use an SMTP service in both directions. You should probably look at "fetchmail" in any case if you plan to use POP. Cliff
i use sendmail and qpopper, both of which can be found on the suse cds. install sendmail, procmail, qpopper rpms then edit /etc/inetd.conf and uncomment the line dealing with the qpopper daemon. restart or kill -HUP inetd and then get ready to setup sendmail. with suse 7.1, sendmail is compiled to use tcp wrappers so in your /etc/hosts.allow file, put sendmail: ALL: ALLOW or else no one will be able to connect to your mail server. if you start getting spam from a domain, simply add their domain to /etc/hosts.deny for sendmail and you wont get any spam from them. also, you will need to create a file /etc/mail/sendmail.cw and in it you only need your domain name larkhavengolf.com. this is the file listing all domains for which you will receive email. also, there are two or three other files, /etc/mail/access and /etc/mail/virtusertable that control things like relaying and virtual email addresses. look at the examples in these and things will be pretty straightforward from there. after editing these files, you will need to remake the .db files associated with them by doing makemap hash /etc/mail/access < /etc/mail/access now you are ready to start sendmail with rcsendmail start some other things to worry about, you will need valid user accounts on the machine for each user who is to receive email. also, your /var partition needs to be big enough to handle all the mail that is recieved. you may want to look into enabling quotas for your mail users. you will also need an mx record on someones dns server pointing all mail for larkhavengolf.com to your machine. whatever you do, just dont let your machine be an open relay. in your /etc/mail/access file, only list the ips you want to be allowed to relay through your machine. if you are on a dial-up or some other type of dynamic connection not on the same lan as your server, dont just put in your entire dial-up range of ips, setup some type of authentication based smtp-relaying or better yet, just use your isp's mail server for relaying hope this helps. On Thu, 16 Aug 2001, Brandon Caudle wrote:
We currently own a domain name (larkhavengolf.com) and we would like to setup a smtp and pop3 email server. How do we go about this?(running 7.2, full install)
Brandon Caudle -------------- 15yr Old Avid Unix User (HP-UX,FreeBSD,Linux) Larkhaven Golf Course Charlotte, NC
"There cannot be a crisis next week. My schedule is already full." -- Henry Kissinger
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
Chad Whitten Network/Systems Administrator Nexband Communications chadwick@nexband.com
On August 16, 2001 09:44 pm, Brandon Caudle wrote:
We currently own a domain name (larkhavengolf.com) and we would like to setup a smtp and pop3 email server. How do we go about this?(running 7.2, full install)
You are likely already running Sendmail. Yast does a pretty good job of setting up a basic server with a full time connection to the net. You only need to get your hands dirty if you want more. Depending on what you want it may be only uncommenting a line in /etc/mail/linux.mc and creating the new sendmail.cf. Nick
Brandon Caudle wrote:
We currently own a domain name (larkhavengolf.com) and we would like to setup a smtp and pop3 email server. How do we go about this?(running 7.2, full install)
Brandon Caudle -------------- 15yr Old Avid Unix User (HP-UX,FreeBSD,Linux) Larkhaven Golf Course Charlotte, NC
"There cannot be a crisis next week. My schedule is already full." -- Henry Kissinger
Hi Brandon, Got one running on psychohorse.com, although I changed the pop3 to IMAP for fun. What have you done so far? You have a server running with SuSE 7.2 full install (why full install? You only need networking, unless you want the overhead of X). These are the other considerations before even configuring: Whats your connection? IP Address? You may need to get your IP address registered as a domain IP address so that it can host DNS too, unless that been taken by another machine...If that has been taken all you really need is something like this: In /etc/rc.config.d/sendmail.rc.config # # do you want to generate a sendmail-configuration /etc/sendmail.cf from # parameters given in /etc/rc.config.d/sendmail.rc.config ("yes") or # do you want to generate your /etc/sendmail.cf yourself ("no") ? # (you could also use /etc/mail/linux.mc to do so.) # SENDMAIL_TYPE="yes" # # smarthost - this host gets all outgoing email from us # normally used for uucp-connected sites or for dialup connections # use "uucp-dom:server.uucp.com" to deliver all email to "server.uucp.com" # SENDMAIL_SMARTHOST="" # # sendmail assumes the following space-separated host-names to be # the local host (this must just be used for names differrent to the # hostname, for e.g. aliases like www.nowhere.com) # SENDMAIL_LOCALHOST="localhost psychohorse.com" # # do not deliver any email locally, but send all email to another host # this can just be used with another system that has the same users on it # and you probably also want to set the FROM_HEADER to the other host # SENDMAIL_RELAY="" # # with what parameters should sendmail be started? # normal sites use "-bd -q30m -om". if you set SENDMAIL_EXPENSIVE and you # have a dialup ISDN connection, you probably want to set this to # "-bd -om" and run "sendmail -q" from your crontab. # SENDMAIL_ARGS="-bd -q30m -om" # # sendmail will only queue email in /var/spool/mqueue and will only start # to deliver it if "sendmail -q" is run # SENDMAIL_EXPENSIVE="no" # # sendmail will not try to canonify hostnames in your email # so much less DNS-queries are send # you probably want to enable this on a SENDMAIL_EXPENSIVE system. # Don't forget to add the local, the mail hub, smart, and mail relay host # with their IP addresses and the corresponding Full Qualified Domain Names # to /etc/hosts # SENDMAIL_NOCANONIFY="no" # # this option forbids DNS-queries. It requires a well configured # /etc/hosts as described for SENDMAIL_NOCANONIFY. For most # people using dial on demand SENDMAIL_NOCANONIFY should work. # SENDMAIL_NODNS="no" # # let sendmail deliver local mails in defer (postpone) mode. # This also sets some entries to avoid dialups. A correct # FQHOSTNAME for the local host is required. # SENDMAIL_DIALUP="no" # # these domains can additional to the local domains be changed # in /etc/mail/genericstable # SENDMAIL_GENERICS_DOMAIN="psychohorse.com" # # this is useful if you have several domains with disjoint namespaces # hosted on the same machine. # MASQUERADE_DOMAINS="psychohorse.com" I had to masqurade domains otherwise people replying would get bounced messages. Also with Sendmail you need to look in the /etc/mail/access file as Sendmail by default will not e-mail anyone outside of the server. POP3 is really easy, especially compared to sendmail. I'd recomend starting it via xinetd (and sendmail too). Look through the file xinetd.conf its pretty self explanatory. Probably best to look through it first and ask any questions to the list. Hope that helps, Matt
participants (6)
-
Brandon Caudle
-
Cliff Sarginson
-
dog@intop.net
-
Jeffrey Taylor
-
Nick Zentena
-
StarTux