LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2003, 05:30 PM   #1
importboy03
Member
 
Registered: Feb 2003
Location: NorthEast
Distribution: RH 8.0
Posts: 34

Rep: Reputation: 15
help configuring postfix


I'm newbie in this. Please tell me what line of CODE I need in my main.cf file to be able to SERVE MULTI DOMAINS and be able to SEND/RECEIVE mail from anywhere using mail clients such as outlook, etc. Here is the code in the main.cf file that work only with 1 domain and be able to only receive mail from anywhere:

command_directory = /usr/bin
daemon_directory = /usr/libexec/postfix
myhostname = hostname.domainname
mydomain = only1domain_listed_here
myorigin = $mydomain
inet_interfaces = all
mydestination = $mydomain, $myhostname, localhost.$mydomain
mynetworks = 111.222.333.444, 127.0.0.0/8 note: my ip without slash+number
relay_domains = $mydestination
alias_maps = hash:/etc/postfix/aliases
debug_peer_level = 2
debug_command =
PATH=usr/bin:usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5

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.11/samples
readme_directory = /usr/share/doc/postfix-1.1.11/README_FILES
alias_database = hash:/etc/postfix/aliases.db
notify_classes = resource, software, bounce, policy

Please help me out... I have tried $mydomain with 2 domains separate with a commas, but got error when restart postfix. Another problem is that I don't know where the error is for sending out mail from outlook expresss. Thanks in advance!
 
Old 05-01-2003, 01:45 AM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Would you mind reading the postfix doc first? This is a ways too easy task. You want to send out mail using outlook? Do you want to implement SMTP AUTH? Do you want to implement sender verification of SMTP AUTH?

For the relay domains part you need relay_domains = ... except you want those be deliverd at your box then you should take a look at the virtual stuff. If this doesn't help you out you should really take the time to read the docs. Postfix is pretty easy to setup ... postconf should be your friend also!
 
  


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
Configuring postfix to work on a LAN zulu8300 Linux - Software 4 06-22-2004 03:42 PM
Configuring Postfix to recieve on a different port?? tamakizu Linux - Networking 4 04-30-2004 02:33 PM
Configuring Maildir with Postfix and Dovecot umbraeOtheisles Linux - Software 0 04-16-2004 10:33 AM
configuring postfix 2 markus1982 Linux - Networking 0 05-25-2003 06:05 AM
Configuring Postfix on Mdk 8.1 JimKyle Linux - General 0 01-16-2002 10:06 AM


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