Hello everyone i am setting up a server for internet but i has no
experience with this setup so i would like
some advice here what kind of considerations should i take.
This is the default postfix configurations as Internet server
'postconf -n'
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = ipv4
mailbox_size_limit = 0
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks = 127.0.0.0/8 172.16.1.7
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
after some change it look like
'postconf -n'
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = ipv4
mailbox_size_limit = 0
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = jovenclub.cu
myhostname = nscu.jovenclub.cu
mynetworks = 127.0.0.0/8, 172.16.1.7
myorigin = /etc/mailname
recipient_delimiter = +
relay_domains = jovenclub.cu *.jovenclub.cu cubava.cu *.cubava.cu
ecured.cu *.ecured.cu
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_error_sleep_time = 60
smtpd_hard_error_limit = 10
smtpd_recipient_restrictions = permit_mynetworks,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,reject_non_fqdn_recipient,
reject_unknown_sender_domain, reject_unauth_destination,
check_policy_service inet:127.0.0.1:60000 check_policy_service
unix:private/policy-spf
smtpd_soft_error_limit = 60
transport_maps = hash:/etc/postfix/transport
I added the spf and the postgrey deamon but no sure if this conf is ok
Actually have no idea if postfix accept the declarations of subdamins
like this
relay_domains = jovenclub.cu *.jovenclub.cu cubava.cu *.cubava.cu
ecured.cu *.ecured.cu some light ove here would be fine and any
suggestion would be appreciated. Regards