LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-21-2015, 04:27 PM   #1
2UCowpoke
LQ Newbie
 
Registered: Jan 2014
Location: in the desert with a horse that has no name
Distribution: redhat
Posts: 4

Rep: Reputation: Disabled
Postfix local email server fails to deliver local mail


I trying to define a simple (?) local email server on my rhel 7.0 system, I'm also using Thunderbird 38.2.0
I've defined two users, and I'm trying to send email from one test user to the other. All on the same machine.
postconf -n results:
[root@redriver01 ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debug_peer_list = ids4zos.net
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
default_destination_concurrency_limit = 20
html_directory = no
inet_interfaces = 192.168.10.6
inet_protocols = ipv4
local_destination_concurrency_limit = 2
local_recipient_maps =
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = ids4zos.net
myhostname = redriver00.ids4zos.net
mynetworks = 192.168.10.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-2.10.1/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
unknown_local_recipient_reject_code = 550
[root@redriver01 ~]#

here's my DNS entries
$TTL 4194304
@ IN SOA redriver00.ids4zos.net. sysprog00.ids4zos.net. (
0 ; initial serial
32768 ; refresh elapsed time in seconds
4096 ; retry et
131072 ; expire et
65536 ) ; minimum time-to-live
IN NS redriver00.ids4zos.net.
IN MX 8 recvmail
redriver00 IN A 192.168.10.6
RKSAMBA IN A 192.168.10.6
recvmail IN A 192.168.10.6
sendmail IN A 192.168.10.6
attgw IN A 192.168.10.64
ciscosw IN A 192.168.10.1
RK00 IN A 192.168.10.4
RK01 IN A 192.168.10.8
RK02 IN A 192.168.10.12
RK03 IN A 192.168.10.32
RK04 IN A 192.168.10.18
RK06 IN A 192.168.10.6
HP225N IN A 192.168.10.11
redriver01 IN A 69.54.99.132


Below are some error messages in the maillog
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: >>> START Recipient address RESTRICTIONS <<<
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: generic_checks: name=permit_mynetworks
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: permit_mynetworks: redriver00.ids4zos.net 192.168.10.6
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: match_hostname: redriver00.ids4zos.net ~? 192.168.10.0/24
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: match_hostaddr: 192.168.10.6 ~? 192.168.10.0/24
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: match_list_match: permit_mynetworks: no match
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: generic_checks: name=permit_mynetworks status=1
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: >>> END Recipient address RESTRICTIONS <<<
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: >>> CHECKING RECIPIENT MAPS <<<
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: ctable_locate: leave existing entry key Les.Archer@ids4zos.net
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: maps_find: recipient_canonical_maps: les.archer@ids4zos.net: not found
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: maps_find: recipient_canonical_maps: les.archer: not found
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: maps_find: recipient_canonical_maps: @ids4zos.net: not found
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: mail_addr_find: les.archer@ids4zos.net -> (not found)
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: maps_find: canonical_maps: les.archer@ids4zos.net: not found
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: maps_find: canonical_maps: les.archer: not found
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: maps_find: canonical_maps: @ids4zos.net: not found
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: mail_addr_find: les.archer@ids4zos.net -> (not found)
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: maps_find: virtual_alias_maps: les.archer@ids4zos.net: not found
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: maps_find: virtual_alias_maps: les.archer: not found
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: maps_find: virtual_alias_maps: @ids4zos.net: not found
Sep 21 05:36:25 redriver01 postfix/smtpd[22002]: mail_addr_find: les.archer@ids4zos.net -> (not found)

Hopefully there's a configuration for a local postfix email server that I can model mine after.

Thanks

Guy
 
Old 09-21-2015, 11:42 PM   #2
tva
Member
 
Registered: Jul 2010
Location: Finland
Distribution: Open SUSE 13.1
Posts: 83

Rep: Reputation: 8
Have you modified master.cf ?
Taken from Postfix documentation
Quote:
By default, local mail is delivered to the transport called "local", which is just the name of a service that is defined the master.cf file.
 
Old 09-22-2015, 03:34 AM   #3
2UCowpoke
LQ Newbie
 
Registered: Jan 2014
Location: in the desert with a horse that has no name
Distribution: redhat
Posts: 4

Original Poster
Rep: Reputation: Disabled
Postfix local email server fails to deliver local mail

No I have not modified the master.cf; I just the main.cf
 
  


Reply

Tags
postfix



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 pipe all mail, except email to local domain sawyer815 Linux - Server 3 06-23-2015 11:23 AM
[SOLVED] Setup Postfix to Send Local Mail to Internet Email Address sumit1203 Linux - Newbie 1 09-02-2012 01:55 AM
[SOLVED] configuring postfix, trying to deliver mail, even local doesn’t arrives jstitch Linux - Server 2 08-04-2010 09:41 AM
Can't deliver mail (postfix) to local user wheel Linux - General 1 04-05-2006 07:45 AM
Postfix: Need to deliver all local mail to 1 account, then forward OneBinary Linux - Software 3 01-05-2006 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:22 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