LinuxQuestions.org
Help answer threads with 0 replies.
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 06-16-2002, 11:27 AM   #1
tuantran
LQ Newbie
 
Registered: Apr 2002
Posts: 18

Rep: Reputation: 0
POSTFIX main.cf question


Could someone please take a look at my Postfix main.cf and tell me is it correct or not. Thank you

soft_bounce = no
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
#default_privs = nobody

# INTERNET HOST AND DOMAIN NAMES
#assume myhost=mail; my domain=mydomain.com
myhostname = mail.mydomain.com
mydomain = mydomain.com

# SENDING MAIL
# user@that.users.mailhost. (have no idea what it is; could you please give an example)
myorigin = $mydomain

# RECEIVING MAIL
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain $mydomain

# TRUST AND RELAY CONTROL
# Specify "mynetworks_style = class" when Postfix should "trust" SMTP
# clients in the same IP class A/B/C networks as the local machine.

mynetworks_style = class
mynetworks = hash:/etc/postfix/network_table
#relay_domains = $mydestination (Do i need to turn on this?)
local_recipient_maps = $alias_maps unixasswd.byname
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/aliases

# DELIVERY TO MAILBOX
home_mailbox = /var/spool/mail/user
mail_spool_directory = /var/spool/mail
smtpd_banner = $myhostname ESMTP $mail_name
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10

# DEBUGGING CONTROL
debug_peer_level = 2
debug_peer_list = 127.0.0.1
debugger_command =
PATH=/usr/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5

# INSTALL-TIME CONFIGURATION INFORMATION
#Not sure if I need these lines or not
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-1.1.7/samples
readme_directory = /etc/postfix/README_FILES
alias_database = hash:/etc/postfix/aliases
 
Old 06-16-2002, 11:40 AM   #2
MartBrooks
Member
 
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
That very much depends on what "correct" means. Do you mean syntactically correct? Or do you mean "correct" for your installation environment.

If it's the former, postfix itself will tell you in the form of error message when you start it. If you mean the latter, you'll need to give us details of exactly what you intend Postfix to do.

Regards
 
Old 06-16-2002, 05:41 PM   #3
tuantran
LQ Newbie
 
Registered: Apr 2002
Posts: 18

Original Poster
Rep: Reputation: 0
I want to setup Postfix as my own mail server and can't make it work. Therefore, I think I post my main.cf here to hope someone will point out what I've done wrong. If you know, please post. Thanks
 
  


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
Java 'Main' exception question magnumbi Programming 2 10-11-2005 12:41 PM
postfix question macBasH Red Hat 0 09-28-2005 08:32 AM
postfix - main.cf & config varun_saa Mandriva 1 09-12-2005 11:15 AM
It that possible to use the default "main.cf" setup the Postfix? goonfui_wong Linux - Networking 3 06-22-2005 07:32 AM
postfix main.cf illtbagu Linux - Software 8 07-21-2003 11:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:58 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
Open Source Consulting | Domain Registration