LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-26-2003, 02:21 AM   #1
bitessy
LQ Newbie
 
Registered: Sep 2003
Location: Las Vegas
Distribution: mandrake
Posts: 14

Rep: Reputation: 0
Recovering Windows admin needs help with postfix


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
 
  


Reply



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 Admin tool not able to create mailbox davidbalt Linux - Networking 1 09-22-2004 10:02 PM
Recovering a windows partition ravalox Linux - Software 5 08-15-2004 02:37 PM
Help a recovering Windows admin with webmail. bitessy Linux - Software 6 10-01-2003 11:57 PM
Recovering Windows Admin needs help with Postfix bitessy Linux - Networking 1 09-27-2003 05:01 PM
Recovering Lost Admin. Password Mr Neroazzurri Linux - Security 4 03-14-2003 05:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:52 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
Open Source Consulting | Domain Registration