LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 05-04-2004, 09:36 PM   #1
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Rep: Reputation: 30
cant send recieve mail with postfix


I can't send or recieve mail with postfix. I don't get any errors, I just get nothing. When I send mail it goes into a black hole. I have a postfix MTA behind a firewall. It forwards mail on port 25 to the mail server. Here is main.cf file.

# main.cf
# last modified: 5 May 2004
# the setup file for postfix...
#
#
# setup all the standard paths
#
queue_directory = /var/spool/postfix
program_directory = /usr/libexec/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail

# who we run as
#
mail_owner = postfix

# privileges have to be set
#
default_privs = nobody

# who are we?
#
myhostname = mail.digitaltribes.net
mydomain = digitaltribes.net
myorigin = $mydomain

# what should the postmaster be warned about?
#
notify_classes = resource, software, policy, protocol

# what domains will we accept mail for?
# the localdomains file is not mapped or hashed. It uses plain text.
# One listing per line. It's equivalent to class w with sendmail.
mydestination = $myhostname, localhost.$mydomain, $mydomain, /etc/postfix/localdomains

# who is allowed to send mail through us?
# make sure that all your pop networks get listed here or you'll have trouble
mynetworks = 192.168.0.0/24, 200.200.198.0/24, 200.200.197.0/24, 127.0.0.0/8

# which interfaces can we use?
#
inet_interfaces = all

# we don't do uucp here
#
default_transport = smtp

# let's set up our map files
#
virtual_maps = hash:/etc/postfix/virtual
alias_maps = hash:/etc/postfix/aliases, hash:/etc/postfix/majordomo
alias_database = hash:/etc/postfix/aliases, hash:/etc/postfix/majordomo

# anti-UCE stuff
#
maps_rbl_domains = rbl.maps.vix.com, dul.maps.vix.com
#these two can be a bit too restrictive -----> relays.mail-abuse.org, relays.orbs.org

smtpd_client_restrictions =
permit_mynetworks,
check_client_access hash:/etc/postfix/access,
reject_maps_rbl,
reject_unauth_pipelining

smtpd_sender_restrictions =
permit_mynetworks,
check_sender_access hash:/etc/postfix/access,
reject_unknown_sender_domain,
reject_maps_rbl

smtpd_recipient_restrictions =
permit_mynetworks,
permit_mx_backup,
reject_unauth_destination,
check_relay_domains

smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)

# who we will relay for
# the relay-domains file is a plain text file. It is not mapped or hashed. Domains are listed one per line

relay_domains = $mydestination, /etc/postfix/relay-domains

# mandatory setup for debugging
#
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10
debug_peer_level = 2

#debugger_command = /usr/bin/strace -p $process_id -o /tmp/smtpd.$process_id & sleep 5

# end of config


I send mail to and from the postfix machine...and nothing. I don't get it. No errors.
 
Old 05-04-2004, 09:58 PM   #2
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
Did you read the log file???
 
Old 05-05-2004, 08:25 AM   #3
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Original Poster
Rep: Reputation: 30
how do I view the log file in postfix?
 
Old 05-05-2004, 10:12 AM   #4
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
You can view the log file by typing less /var/log/maillog.Please write the message for me to see.
 
  


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
can send and recieve local mail, but not mail from internet Caine101022 Linux - Software 2 09-09-2005 02:35 PM
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 4 07-11-2005 10:12 PM
POSTFIX won't recieve external mail deviance99 Linux - Networking 2 10-16-2004 05:57 PM
wierd RH8 mail problem, unable to send but able to recieve f1uke Linux - Newbie 15 04-12-2003 05:19 PM
I can recieve mail (outlook) but i cant send mail hal_baumgardner Linux - Networking 4 07-13-2001 09:54 AM


All times are GMT -5. The time now is 10:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration