Postfix settings issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am running Fedora 23 server. Among other services, I want to deploy
a mail server with postfix.

1- I registered on my DNS provider a A and MX records:
------------------------------------------------
 mail.thetradinghall.com.    86400    IN    A    212.147.52.214
thetradinghall.com.            86400    IN    MX  10  mail.thetradinghall.com.
-------------------------------------------------

2- tested with dig
-----------------------------------------------------
$ dig mail.thetradinghall.com @ns1.he.net
;; ANSWER SECTION:
mail.thetradinghall.com. 86400    IN    A    212.147.52.214
$ dig thetradinghall.com mx @ns1.he.net
;; ANSWER SECTION:
thetradinghall.com.    86400    IN    MX    10 mail.thetradinghall.com.
--------------------------------------------------------------

3- installed, configured and started postfix.
----------------------------------------------------
poisonivy@poppy ➤➤ ~ % postconf -n
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
compatibility_level = 2
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debug_peer_list = 127.0.0.1, thetradinghall.com,
mail.thetradinghall.com debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont; echo
where) | gdb $daemon_directory/$process_name $process_id 2>&1
>$config_directory/$process_name.$process_id.log & sleep 5
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = ipv4
mail_owner = postfix
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 0
meta_directory = /etc/postfix
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = thetradinghall.com
myhostname = mail.thetradinghall.com
mynetworks = 192.168.1.0/24, 127.0.0.0/8  <----- Not sure of this line
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix/README_FILES
permit_sasl_authenticated, permit_mynetworks,
reject_unauth_destination
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
shlib_directory = /usr/lib64/postfix
---------------------------------------------------------------

# postfix check
---------------------------------
/usr/libexec/postfix/post-install: line 554: test: too many arguments
/usr/libexec/postfix/post-install: line 554: test: too many arguments
/usr/libexec/postfix/post-install: line 554: test: too many argument
-----------------------------------------------------------------

$ ip a
--------------------------------------------------------------------
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: host0@if6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP group default qlen 1000
    link/ether 0e:7f:c3:fb:25:b1 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 192.168.1.94/24 brd 192.168.1.255 scope global host0
       valid_lft forever preferred_lft forever
    inet6 fe80::c7f:c3ff:fefb:25b1/64 scope link
       valid_lft forever preferred_lft forever
-----------------------------------------------------------------------

Nothing set in a first step as for TLS./etc/postfix/master.cf is the
original installed one.
No entry in iptables, as until now, I let it permissive :

# iptables -L
----------------------------------------------------------
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
f2b-pam-generic  tcp  --  anywhere             anywhere

Chain FORWARD (policy DROP)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain f2b-pam-generic (1 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere
-------------------------------------------------------

Now when testing with telent, I don't have the answer expected :
220 mail.thetradinghall.com ESMTP Postfix

$ telnet mail.thetradinghall.com 25
Trying 212.147.52.214...
Connected to mail.thetradinghall.com.
Escape character is '^]'.
-------------------------------------------------

I must have misconfigured something, but I have no idea what. After
lots of reading, it seems to me the setup is correct.

Thank you for any hint.
-- 

google.com/+arnaudgabourygabx
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux