LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2014, 07:19 AM   #1
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Rep: Reputation: Disabled
postfix configuration


Hi,

I am new to learning postfix. Is it necessary to configure dovecot for postfix mail server? what if i want to send mail to outside domain?

Can you give me any site where examples of postfix configuration file are available.
 
Old 02-04-2014, 09:05 AM   #2
Rawcous
Member
 
Registered: Jan 2014
Location: Farnborough, Hampshire - UK
Distribution: Previously 2 * Fedora 18 Servers -> 2 * CentOS 6.7 + random distro testing
Posts: 96

Rep: Reputation: Disabled
Hello Sachin,

Postfix (I use Sendmail) is a MTA or Mail Transfer Agent. Postfix can be used for.

1. Taking mail from a client machine and relaying it locally to another internal account mail store, typically /var/spool/mail (dovecot will then deliver it from the mail store to the target client).
2. Taking mail from a client machine and relaying it externally (as you mentioned to an external domain) via your ISP's SMTP server to an external address
3. Processing external mail from an external domain and delivering it to an internal mail store, typically /var/spool/mail (dovecot will then deliver it from the mail store to the target client).

If you wish to delivery incoming mail to a client machine then you will require a POP server such as Dovecot.

In a nutshell Postfix sends/delivers mail to a client mail store, and Dovecot retrieves mail from the client mail store. Another way of looking at it would be, if you were sending a parcel from A to B, Postfix would send the parcel, and Dovecot would deliver it.

I apologise in advance if my explanation is not particularly clear....

As for examples of postfix configs there's hundreds of them out them, a quick search will bring up hundreds. Try http://www.postfix.org/STANDARD_CONF...ON_README.html

Regards,

Rawcous!!
 
Old 02-04-2014, 09:20 AM   #3
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rawcous View Post
Hello Sachin,

Postfix (I use Sendmail) is a MTA or Mail Transfer Agent. Postfix can be used for.

1. Taking mail from a client machine and relaying it locally to another internal account mail store, typically /var/spool/mail (dovecot will then deliver it from the mail store to the target client).
2. Taking mail from a client machine and relaying it externally (as you mentioned to an external domain) via your ISP's SMTP server to an external address
3. Processing external mail from an external domain and delivering it to an internal mail store, typically /var/spool/mail (dovecot will then deliver it from the mail store to the target client).

If you wish to delivery incoming mail to a client machine then you will require a POP server such as Dovecot.

In a nutshell Postfix sends/delivers mail to a client mail store, and Dovecot retrieves mail from the client mail store. Another way of looking at it would be, if you were sending a parcel from A to B, Postfix would send the parcel, and Dovecot would deliver it.

I apologise in advance if my explanation is not particularly clear....

As for examples of postfix configs there's hundreds of them out them, a quick search will bring up hundreds. Try http://www.postfix.org/STANDARD_CONF...ON_README.html

Regards,

Rawcous!!


I got most of your point but just a more i want to know.
1. If i want to configure only postfix, will my server be able to send mail(if user A wants to send mail to user B and vice-versa).
2. What should i configure if i want to send mail to external domain from client A.
3. In what condition do i need to configure Dovecot.
4. In RHCE exam what they ask to configure.
 
Old 02-04-2014, 10:12 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by sachin.davra View Post
Hi,
I am new to learning postfix. Is it necessary to configure dovecot for postfix mail server? what if i want to send mail to outside domain?
No, it's not necessary to configure dovecot for postfix to work. And if you want to send mail to an outside domain, you configure postfix to send mail along to the next relay. This question is much the same as your others:
http://www.linuxquestions.org/questi...on-4175484519/
https://www.linuxquestions.org/quest...2/#post5063637
Quote:
Can you give me any site where examples of postfix configuration file are available.
Start with trying a very basic Google search. Amazingly, just putting "how to configure postfix on red hat linux" into Google pulls up LOTS of how-to guides. Did you try doing that? Reading any of the results?
https://access.redhat.com/site/docum...email-mta.html
https://access.redhat.com/site/docum...OWTO/c108.html
Quote:
Originally Posted by sachin.davra
1. If i want to configure only postfix, will my server be able to send mail(if user A wants to send mail to user B and vice-versa).
..answered by Rawcous with point 1 of his reply.
Quote:
2. What should i configure if i want to send mail to external domain from client A.
A relay host, as explained to you last year in your threads about sendmail, and touched on by Rawcous in point 2 of his reply.
Quote:
3. In what condition do i need to configure Dovecot.
In whatever 'condition' you think you NEED dovecot. Read about what it is/does, and determine for yourself if you need it.
Quote:
4. In RHCE exam what they ask to configure.
..and since discussing the RHCE exam goes against the Red Hat NDA, we cannot/will not answer that. Thread reported to moderators.
 
2 members found this post helpful.
Old 02-04-2014, 10:44 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by sachin.davra View Post
4. In RHCE exam what they ask to configure.
As TB0ne pointed out above, the question cannot be permitted here, since it is against the Non Disclosure Agreement (NDA) of Red Hat certification. The NDA is intended to safeguard the integrity of the examination processes. Because the value of RHCE certification rests on accurately assessing the knowledge and skills of examinees, it is in your interest, as well as that of Red Hat, to comply with the terms of the NDA. Therefore, please refrain from ask/answer questions about RHCE exams.
 
Old 02-05-2014, 02:34 AM   #6
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Thanks for all of your answers. i completely agree with you for not asking RHCE exam quetions.

I want to use postfix so that other mail server can use it to relay mail. how can i achieve this task.

like now i am using another mail relay in my company so that my mails can go. but now i want to configure it in postfix at my location. how can i achieve this task. so that another mail server can use my postfix server for relaying mails.
 
Old 02-05-2014, 10:44 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by sachin.davra View Post
Thanks for all of your answers. i completely agree with you for not asking RHCE exam quetions.

I want to use postfix so that other mail server can use it to relay mail. how can i achieve this task.
You 'achieve this task', by reading the how-to guides, and configuring your server. That's it. If all you want to do is have postfix shovel emails along, you will, AGAIN, configure it to be a relay server.
Quote:
like now i am using another mail relay in my company so that my mails can go. but now i want to configure it in postfix at my location. how can i achieve this task. so that another mail server can use my postfix server for relaying mails.
Read the easily-found documentation and any of the how-to guides. Post back if you have a SPECIFIC question/problem.
 
Old 02-14-2014, 01:16 AM   #8
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
You 'achieve this task', by reading the how-to guides, and configuring your server. That's it. If all you want to do is have postfix shovel emails along, you will, AGAIN, configure it to be a relay server.

Read the easily-found documentation and any of the how-to guides. Post back if you have a SPECIFIC question/problem.
i have not tried it till now. i will post if i will feel any issue.
Thnx all for your help.
 
Old 02-14-2014, 10:33 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by sachin.davra View Post
i have not tried it till now. i will post if i will feel any issue.
Thnx all for your help.
Why, exactly, would you open threads about 'problems', before you even bothered to read the instructions????
 
  


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
Fetchmail Mail Configuration And Postfix Configuration Senthilv Linux - Server 1 01-06-2011 02:47 AM
Postfix configuration lalitcoep Linux - Server 7 09-29-2010 09:02 PM
Postfix Configuration Question: Postfix server as a catch-all on office LAN enso491 Linux - Server 5 04-14-2008 05:35 PM
postfix configuration vareesh Linux - Server 26 08-13-2007 12:51 PM
PostFix configuration jscedunn Linux - Enterprise 6 01-31-2007 12:49 PM


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