LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-31-2004, 11:37 PM   #1
cyrilvictor
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Rep: Reputation: 0
mail server configuration


pls can any one help me out regarding configuring mail servers.

i need the setps to configure mail server in linux.


thanks in advance
 
Old 11-01-2004, 12:53 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 65
I don't know how to do it but I found a how to for ya.

http://tldp.org/HOWTO/HOWTO-INDEX/index.html

It's under 4.5. May want to check out all the others too. Good reading there.

Hope that help, or somebody better comes along.

 
Old 11-01-2004, 01:50 AM   #3
tlowk
Member
 
Registered: Nov 2003
Location: Belgium
Distribution: Slackware
Posts: 151

Rep: Reputation: 23
What distribution are you considering and which smtp server?

I've done slackware with sendmail and the pop and pine (included in slackware) so in case you like to know more about it, just ask.
 
Old 11-01-2004, 02:53 AM   #4
cyrilvictor
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Original Poster
Rep: Reputation: 0
pls about send mail ->mail server congi

can u send me the steps to configure mail server configuration through SENDMAIL
 
Old 11-01-2004, 02:53 AM   #5
cyrilvictor
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Original Poster
Rep: Reputation: 0
xasas
 
Old 11-01-2004, 03:10 AM   #6
tlowk
Member
 
Registered: Nov 2003
Location: Belgium
Distribution: Slackware
Posts: 151

Rep: Reputation: 23
the configuration works with a config file that you send through m4
a preprocessor

in directory (or similar on your distro)
/usr/share/sendmail/cf/cf
you have some config files maybe there is one with the name of your distro
eg sendmail-slackware.mc
copy that one to a file my-sendmail.mc (or similar)

in this file you need to configure some options (mine is below):

include(`../m4/cf.m4')
VERSIONID(`default setup for Slackware Linux')dnl
OSTYPE(`linux')dnl
dnl# These settings help protect against people verifying email addresses
dnl# at your site in order to send you email that you probably don't want:
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
dnl# Uncomment the line below to send outgoing mail through an external server:
dnl define(`SMART_HOST',`mailserver.example.com')
dnl# No timeout for ident:
define(`confTO_IDENT', `0')dnl
dnl# Enable the line below to use smrsh to restrict what sendmail can run:
dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
dnl# See the README in /usr/share/sendmail/cf for a ton of information on
dnl# how these options work:
define(`SMART_HOST',`uit.telenet.be')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`masquerade_envelope') dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(`genericstable',`hash -o /etc/mail/genericstable.db')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`redirect')dnl
dnl# Turn this feature on if you don't always have DNS, or enjoy junk mail:
dnl FEATURE(`accept_unresolvable_domains')dnl
EXPOSED_USER(`root')dnl
dnl# Also accept mail for localhost.localdomain:
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl

most important is probably the SMART_HOST if you need this, depends on your provider, if you don't need it just omit it.


When you have this file you need to 'compile' it

m4 < /usr/share/sendmail/cf/cf/my-sendmail.mc > /etc/mail/sendmail.cf


this is a first step

then in /etc/mail I have these files:

Makefile aliases.db genericstable mailertable.db
genericstable.db sendmail.cf trusted-users
access domaintable helpfile virtusertable
access.db domaintable.db local-host-names statistics virtusertable.db
aliases generics-domains mailertable submit.cf


The db files are generated with the make file. (check wether you have it)

the most important onse are access and local-host-names
also generics-domains and genericstable allow to change the adresses for mail from this
server to get a public email address.

If you have more questions just ask

Regards

Tllowk
 
Old 11-01-2004, 03:53 AM   #7
cyrilvictor
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Original Poster
Rep: Reputation: 0
which is more efficent SENDMAIL or QMAIL

since i am a newbie can u just give me the differences between SENDMAIL and QMAIL,
Suggest me which one to use.
thanks in advance.
 
Old 11-01-2004, 06:12 AM   #8
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
hello,
i prefer qmail. qmail is the fastest and the most secure.
if u want qmail, u can install it by following the guide at www.qmailrocks.org

good luck.
 
Old 11-01-2004, 07:56 AM   #9
cyrilvictor
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you

thank u,
in due course i will mail u regarding any doubts,
thanks a lot
 
  


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
Mail Server Configuration hakmed Slackware 2 04-01-2005 05:14 PM
Mail Server configuration SeniorSE Linux - Newbie 1 11-27-2004 11:22 AM
how to ??? best mail server configuration budyoke Linux - Software 1 07-28-2004 06:45 AM
mail server / junk mail configuration CtrlAltDel Linux - Software 2 01-16-2004 04:35 PM
E-mail server configuration DesertWolf0132 Linux - Newbie 2 10-15-2003 04:17 PM


All times are GMT -5. The time now is 08:42 PM.

Main Menu
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