Hi All! New centos install. Been running sendmail for many years under redhat and openbsd but with the maturity of postfix, and seeing as it's the default centos mailer I thought I'd give it a try. This is a single-pc server, no LAN/WAN issues invloved.
Here's the error message, clearly a relay issue. Local delivery works fine. Apr 6 17:13:55 jbarchuk postfix/smtpd[23352]: NOQUEUE: reject: RCPT from jbarchuk.com[99.28.54.137]: 554 5.7.1 <jimb...@yahoo.com>: Relay access denied; from=<j...@jbarchuk.com> to=<jimb...@yahoo.com> proto=ESMTP helo=<jbarchuk.com> Here's the de-noted main.cf. I see a number of 'identity' and relay configuration items, but I am unable to pick out which I need to adjust. #soft_bounce = no queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix mail_owner = postfix #default_privs = nobody #myhostname = host.domain.tld #myhostname = virtual.domain.tld #mydomain = domain.tld mydomain = jbarchuk.com #myorigin = $myhostname myorigin = $mydomain #myorigin = jbarchuk.com inet_interfaces = all #inet_interfaces = $myhostname #inet_interfaces = $myhostname, localhost inet_protocols = all #proxy_interfaces = #proxy_interfaces = 1.2.3.4 mydestination = $myhostname, localhost.$mydomain, localhost #mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain #mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, # mail.$mydomain, www.$mydomain, ftp.$mydomain #local_recipient_maps = unix:passwd.byname $alias_maps #local_recipient_maps = proxy:unix:passwd.byname $alias_maps #local_recipient_maps = unknown_local_recipient_reject_code = 550 #mynetworks_style = class #mynetworks_style = subnet #mynetworks_style = host #mynetworks = 168.100.189.0/28, 127.0.0.0/8 #mynetworks = $config_directory/mynetworks #mynetworks = hash:/etc/postfix/network_table mynetworks = 0.0.0.0, 127.0.0.0/8 relay_domains = #relayhost = $mydomain #relayhost = [gateway.my.domain] #relayhost = [mailserver.isp.tld] #relayhost = uucphost #relayhost = [an.ip.add.ress] #relay_recipient_maps = hash:/etc/postfix/relay_recipients #in_flow_delay = 1s # username->Firstname.Lastname mapping. #alias_maps = dbm:/etc/aliases alias_maps = hash:/etc/aliases #alias_maps = hash:/etc/aliases, nis:mail.aliases #alias_maps = netinfo:/aliases #alias_database = dbm:/etc/aliases #alias_database = dbm:/etc/mail/aliases alias_database = hash:/etc/aliases #alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases #recipient_delimiter = + #home_mailbox = Mailbox home_mailbox = Maildir/ #mail_spool_directory = /var/mail mail_spool_directory = /var/spool/mail mailbox_command = /usr/bin/procmail #mailbox_command = /some/where/procmail -a "$EXTENSION" #mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp #mailbox_transport = cyrus #fallback_transport = lmtp:unix:/var/lib/imap/socket/lmtp #fallback_transport = #luser_relay = $u...@other.host #luser_relay = $lo...@other.host #luser_relay = admin+$local #header_checks = regexp:/etc/postfix/header_checks #fast_flush_domains = $relay_domains #smtpd_banner = $myhostname ESMTP $mail_name #smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) #local_destination_concurrency_limit = 2 #default_destination_concurrency_limit = 20 debug_peer_level = 2 #debug_peer_list = 127.0.0.1 #debug_peer_list = some.domain debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = /usr/sbin/sendmail.postfix newaliases_path = /usr/bin/newaliases.postfix mailq_path = /usr/bin/mailq.postfix setgid_group = postdrop