Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 09-12-2005, 11:24 AM   #1
Registered: Dec 2004
Posts: 188

Rep: Reputation: 30
postfix - & config

I am trying to setup postfix mailserver.
My server is on Mandriva 2005.
eth0 is WAN with static IP
eth1 is LAN -

I have installed the following packages :

# Mandriva 2005LE Operating System
# postfix-2.1.5-6mdk
# fetchmail-6.2.5-10mdk
# fetchmail-daemon-6.2.5-10mdk
# procmail-3.22-5mdk
# metamail-2.7-11mdk
# courier-imap--3.0.8-5mdk
# courier-imap-pop-3.0.8-5mdk

Here is what I have achieved so far :

[varun@saamail ~]$ telnet localhost 25
Connected to (
Escape character is '^]'.
220 ESMTP Postfix (2.1.5) (Mandrakelinux)
221 Bye
Connection closed by foreign host.

[varun@saamail ~]$ telnet localhost 110
Connected to (
Escape character is '^]'.
+OK Hello there.
+OK Better luck next time.
Connection closed by foreign host.

[root@saamail varun]# telnet smtp
Connected to (
Escape character is '^]'.
220 ESMTP Postfix (2.1.5) (Mandrakelinux)
MAIL From:
250 Ok
250 Ok
354 End data with <CR><LF>.<CR><LF>
Hello, Bob!
Love, Varun.

250 Ok: queued as F20EB1BDBF
221 Bye
Connection closed by foreign host.
[root@saamail varun]#

My file :
# These are only the parameters changed from a default install
# see /etc/postfix/ for a commented, fuller version of this file.

# These are changed by postfix install script
readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
sample_directory = /usr/share/doc/postfix-2.1.5/samples
html_directory = /usr/share/doc/postfix-2.1.5/html
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/lib/postfix
myhostname =
mydestination = $myhostname, localhost.$mydomain
mydomain =
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
queue_directory = /var/spool/postfix
mail_owner = postfix
relayhost =

# User configurable parameters

inet_interfaces = $myhostname,localhost
mynetworks =,
mynetworks_style = host
delay_warning_time = 4h
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrakelinux)
unknown_local_recipient_reject_code = 450
smtp-filter_destination_concurrency_limit = 2
lmtp-filter_destination_concurrency_limit = 2
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
virtual_maps = hash:/etc/postfix/virtual
canonical_maps = hash:/etc/postfix/canonical

Please let me know any correction that I need to make in

How and where do you enter mail account ?

What are the next few steps so that I am able to create an account
in Kmail - and send a mail.

Thanks in advance

Old 09-12-2005, 12:15 PM   #2
Registered: May 2005
Location: Tennessee USA
Distribution: CentOS/Solaris(sparc)/Mandriva
Posts: 43

Rep: Reputation: 15
Take a look at this
Setting up a postfix, fetchmail, and courier-imap server is pretty easy but you need to understand what everything is doing. The postfix website has some good docs and the above link will get you started.


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
postfix & cyrus IMAP config kernelvn Linux - Networking 0 07-11-2005 12:03 AM
Postfix config & test linuxkid Mandriva 2 02-15-2005 02:20 AM
Some packages appear on the main menu & others don't? May1950 Linux - Newbie 3 02-24-2004 04:32 PM
postfix illtbagu Linux - Software 8 07-22-2003 12:35 AM
POSTFIX question tuantran Linux - Networking 2 06-16-2002 06:41 PM

All times are GMT -5. The time now is 08:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration