Here is my situation. I am a recovering Windows administrator, and except for one exchange server, I have been Windows NT4 Server and Windows 2000 Server free for six months. Well, I am in my last phase of recovery, and am trying to break my addiction to Exchange by creating a Mandrake Linux server with Postfix to handle the email. Once I get the new email server working I can down Windows NT 4 for the last time. So, the good news is that everyone on the LAN can use MS Outlook 2000 to send emails to, and receive emails from everyone else on the LAN. Furthermore, everyone on the LAN can use MS Outlook 2000 to receive emails from clients, friends, and family, anyone from outside our LAN. The problem is that everyone on the LAN can not send emails to anyone outside our LAN; or perhaps better said is that no one from outside out LAN can receive emails from any of our users on the LAN. Below you will find a copy of the master.cf, and the main.cf files, as well as the text of messages we get four hours after we send a mail to the outside world. I don’t get any messages that tell me the address was undeliverable, or messages giving me any indication of why we cant get out mail to the outside world. A review of my /etc/xinet.d shows that I have imap, imaps, pop2, ipop3 and pop3s among others.
Please note that I have changes the name of the domain in the test below because I don’t want to be attacked by scriptkiddie who spotted a mistake I made in the configuration.
Any assistance will be greatly appreciated.
Tessy
bitessy at yahoo dot com
master.cf
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (50)
# ==========================================================================
smtp inet n - n - - smtpd
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - y 60 1 pickup
cleanup unix n - y - 0 cleanup
#qmgr fifo n - n 300 1 qmgr
qmgr fifo n - y 300 1 nqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - y - - trivial-rewrite
bounce unix - - y - 0 bounce
defer unix - - y - 0 bounce
flush unix n - y 1000? 0 flush
showq unix n - y - - showq
error unix - - y - - error
local unix - n n - - local
virtual unix - n y - - virtual
lmtp unix - - y - - lmtp
#
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
main.cf
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
myhostname = , mail.mycompany.com
inet_interfaces = all
mydestination = mycompany.com, mail.mycompany.com, hostname.mycompany.com, localhost, localhost.mycompany.com
alias_maps = hash:/etc/postfix/aliases
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail -Y -a $DOMAIN
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrake Linux)
debug_peer_level = 2
debugger_command =
PATH=/usr/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
delay_warning_time = 4
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
myorigin = $mydomain
text form the message from
MAILER-DAEMON@mail.ycompany.com
This is the Postfix program at host mail.mycompany.com.
####################################################################
# THIS IS A WARNING ONLY. YOU DO NOT NEED TO RESEND YOUR MESSAGE. #
####################################################################
Your message could not be delivered for 4.0 hours.
It will be retried until it is 5.0 days old.
For further assistance, please send mail to <postmaster>
The Postfix program
<username@outsideDomain.com>: transport is unavailable
<username@outsideDomain.com>: transport is unavailable