On 25 Jun 2013 15:04, "Fabrizio Monti" <thefanta...@gmail.com> wrote:
>
> @Jerry
>
> >Please don't use HTML format to send email. Plain ASCII is preferred.
> Sorry, correct it immediately.
>
>
> postconf -n
>
> alias_database = hash:/etc/aliases
> broken_sasl_auth_clients = yes
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/libexec/postfix
> data_directory = /var/lib/postfix
> debug_peer_level = 2
> html_directory = no
> inet_protocols = all
> mail_owner = postfix
> mailq_path = /usr/bin/mailq.postfix
> manpage_directory = /usr/share/man
> message_size_limit = 15360000
> mydestination = localhost
> myhostname = mail3.gisnet.it
> newaliases_path = /usr/bin/newaliases.postfix
> queue_directory = /var/spool/postfix
> readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
> relay_domains = /etc/postfix/rcpthosts
> sample_directory = /usr/share/doc/postfix-2.6.6/samples
> sendmail_path = /usr/sbin/sendmail.postfix
> setgid_group = postdrop
> smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
> smtpd_recipient_restrictions = permit_mynetworks,
> permit_sasl_authenticated, rej
> ect_unauth_destination
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_path = private/auth
> smtpd_sasl_type = dovecot
> smtpd_tls_CAfile = /etc/postfix/cert/cacert.pem
> smtpd_tls_cert_file = /etc/postfix/cert/smtpd.crt
> smtpd_tls_key_file = /etc/postfix/cert/smtpd.key
> smtpd_tls_loglevel = 1
> smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
> smtpd_use_tls = yes
> transport_maps = hash:/etc/postfix/transport
> unknown_local_recipient_reject_code = 550
> virtual_alias_maps = ldap:/etc/postfix/ldap-virtual-alias-maps.cf
> virtual_gid_maps = static:8135
> virtual_mailbox_base = /home/vmail
> virtual_minimum_uid = 100
> virtual_uid_maps = static:8135
>
> @Patrick
>
> > the purpose of an SMTP server is to accept messages for your domains
and e.g.
> > route them into your mailbox. There's nothing wrong with this.
>
> is my English is bad, I have not explained well. I want my postfix
> mail server is an authenticated smtp. In practice now if you configure
> the SMTP client with my server on port 25 with no authentication you
> can use it. Are using it to send spam.

On port 25 you accept only mail you are responsible for.

On port 587 you accept any mail as long as it's authenticated.

If people are sending spam through port 25, you're an open relay. Smtp auth
is not the answer you want.

Simon

Reply via email to