|
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.
|