From: Varun (no email)
Date: Sat Oct 01 2005 - 10:20:21 EDT
Hello,
I am learning howto setup a mail
server using Postfix.
My server is Mandriva2005.
eth0 is wan with static IP
eth1 is lan - 192.168.1.0/24
domain - saice.edu
I would like clients connected to this mail server
having mail account such as to be able
to send / recieve mails .
My ISP's smtp - smtp.touchtelindia.net
pop - pop.touchtelindia.net
My " postconf -n " is as follows :
[root at smtp varun]# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
delay_warning_time = 4h
html_directory = /usr/share/doc/postfix-2.1.5/html
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, saice.edu
mydomain = saice.edu
myhostname = smtp.saice.edu
mynetworks = 127.0.0.0/8, 192.168.1.0/24
myorigin = saice.edu
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
relayhost = [smtp.touchtelindia.net]
sample_directory = /usr/share/doc/postfix-2.1.5/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrakelinux)
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
unknown_local_recipient_reject_code = 450
[root at smtp varun]#
---------------------------------------------------------------------------------------
My " /home/varun/.procmail " settings is as follows :
SHELL=/bin/sh
PATH="$HOME/bin:/usr/bin:/usr/local/bin:/usr/include:/usr/local/sbin:/bin:/sbin:/usr/sbin"
LOCKFILE=$HOME/lockfile.lock
ASSASSINLOCK=$HOME/assassin.lock
DEFAULT=$HOME/Maildir/
JUNKMAIL=$HOME/Maildir/.junkmail/
TRASH=$HOME/Maildir/.Trash
VIRUS=$HOME/Maildir/.virus/
BITBUCKET=/dev/null
LOCKTIMEOUT=10
#LOGFILE=/tmp/procmail_log
#LOGABSTRACT=no
#VERBOSE=no
Hope I have got it right.
Please correct me if I have made mistake.
Thanks
Varun
|
|
|