Salut, am un postfix care arata cam asa:
[email protected]:~> postconf -n alias_maps = hash:/etc/aliases bounce_size_limit = 1000000 canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix content_filter = smtp:127.0.0.1:10024 daemon_directory = /usr/libexec/postfix debug_peer_level = 2 default_destination_concurrency_limit = 20 html_directory = no inet_interfaces = all local_destination_concurrency_limit = 2 mail_owner = postfix mail_spool_directory = /var/mail mailbox_command = /usr/bin/procmail mailbox_size_limit = 2002400000 mailbox_transport = mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient, envelope_recipient masquerade_exceptions = root message_size_limit = 102400000 mime_header_checks = regexp:/etc/postfix/mime_header_checks.regexp mydestination = mail.u.ro, localhost, u.ro mydomain = u.ro myhostname = mail.u.ro mynetworks = 192.168.0.0/24, 192.168.1.0/24, 81.10.11.0/24, 127.0.0.0/8, 213.23.28.85, hash:/etc/postfix/relay-domains myorigin = mail.u.ro newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.2.8/README_FILES recipient_bcc_maps = hash:/etc/postfix/recipient_bcc relay_domains = $mydestination relayhost = relocated_maps = hash:/etc/postfix/relocated sample_directory = /usr/share/doc/postfix-2.2.8/samples sender_bcc_maps = hash:/etc/postfix/sender_bcc sender_canonical_maps = hash:/etc/postfix/sender_canonical sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550 din care stiu, "mynetworks" valideaza permisiuni de a trimite mail folosind acest postfix. Adesea (de fapt, foarte adesea) gasesc in coada mesaje trimise de la [email protected] la [email protected]. Detalii: Received: from adverto.dk (unknown [125.161.37.223]) by mail.u.ro (Postfix) with SMTP id 18081488504 for <[email protected]>; Tue, 7 Apr 2009 15:17:52 +0300 (EEST) To: <[email protected]> Subject: Hey cute From: me <[email protected]> MIME-Version: 1.0 Content-Type: text/html Message-Id: <[email protected]> Date: Tue, 7 Apr 2009 15:17:52 +0300 (EEST) Am setat repede un client de mail pe o statie care se afla in alta plaza de ip-uri decat cele din "mynetworks", si am testat. 1. Daca pun la recipient de ex: [email protected], primesc un msg de eroare: The message could not be sent. The authentication setting might not be correct for your outgoing e-mail [SMTP] server. For help solving this problem, go to Help, search for "Troubleshoot Windows Mail", and read the "I'm having problems sending e-mail" section. If you need help determining the proper server settings, please contact your e-mail service provider. The rejected e-mail address was '[email protected]'. Subject 'test', Account: '81.10.11.8', Server: '81.10.11.8', Protocol: SMTP, Server Response: '554 <[email protected]>: Relay access denied', Port: 25, Secure(SSL): No, Server Error: 554, Error Number: 0x800CCC79 2. Daca pun la recipent: [email protected], mesajul pleaca, insa este oprit de spamassassin. Este clar, ca daca un spammer foloseste serverul meu de mail, poate trimite spam mbox-urilor din u.ro, lucru care ma deranjeaza, pt ca-mi ia timpi mari la procesor. Am o scapare, insa nu stiu unde. Orice sugestie este binevenita. Multumesc! _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
