Przeglądałem już dużo postów i próbowałem się do nich stosować ale nadal nic.
Otóż mam zainstalowany postfix (z autoryzacją i szyfrowaniem), dovecot oraz squirrelmail, problem polega na tym że jak chce wysłać wiadomość poprzez squirrelmail obojętnie na jakiego maila pojawia mi się komunikat:
Kod: Zaznacz cały
¯ądaną operację zatrzymano: bląd przetwarzania
Odpowiedź serwera: 451 4.3.5 Server configuration error
Załączam main.cf:
Kod: Zaznacz cały
command_directory = /usr/sbin
mail_owner = postfix
mydomain = mojanazwa.com.pl
myhostname = mojanazwa.com.pl
myorigin = /etc/mailname
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = mojanazwa.com.pl, localhost.com.pl, localhost, nazwa.internetdsl.tpnet.pl
mynetworks = 127.0.0.0/8
inet_interfaces = 127.0.0.1, mojeIP
inet_protocols = all
home_mailbox = Maildir/
mail_spool_directory = /home/
smtpd_banner = ESMTP on $myhostname !
mailbox_size_limit = 0
recipient_delimiter = +
biff = no
append_dot_mydomain = no
relayhost =
#AUTH SMTP
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_local_domain = $myhostname
#Ochrona przed spamem
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_unknow_recipient_domain,
reject_non_fqdn_recipient
smtpd_clients_restrictions =
permit_sasl_authenticated,
#reject_unknow_client,
reject_rbl_client dul.dnsbl.sorbs.net,
reject_rbl_client list.dsbl.org,
reject_rbl_client sbl.spamhaus.org,
reject_rbl_client cbl.abuseat.org
smtpd_sender_restrictions =
permit_sasl_authenticated,
reject_unknow_sender_domain,
reject_non_fqdn_sender,
reject_unknow_address
#TLS szyfrowanie
smtpd_tls_auth_only = yes
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/mail.pem
smtpd_tls_cert_file = /etc/postfix/ssl/mail.pem
smtpd_tls_CAfile = /etc/postfix/ssl/mail.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
tls_random_source = dev:/dev/urandom
Mam postawionego DNSa i tak skonfigurowanego:
named.conf:
Kod: Zaznacz cały
include "/etc/bind/named.conf.options";
zone "mojadomena.com.pl" {
type master;
file "/etc/bind/mojadomena.com.pl";
allow-transfer {85.128.128.10; 85.128.129.10; 194.204.159.1; };
notify yes;
};
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
include "/etc/bind/named.conf.local";
Kod: Zaznacz cały
;
; BIND reverse data file for broadcast zone
;
$TTL 604800
@ IN SOA ns1.mojadomena.com.pl. root.mojadomena.com.pl. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.mojadomena.com.pl.
IN NS ns2.mojadomena.com.pl.
IN MX 10 mail.mojadomena.com.pl.
mojadomena.com.pl. IN A xxx.xxx.xxx.xxx
mojadomena.com.pl. IN TXT "v=spf1 ip4:xxx.xxx.xxx.xxx a mx a:mojadomena.com.pl a:nazwa.iternetdsl.tpnet.pl mx:mojadomena.com.pl mc:nazwa.internetdsl.tpnet.pl ~all"
ns1 IN A xxx.xxx.xxx.xxx
ns2 IN A xxx.xxx.xxx.xxx
mail IN A xxx.xxx.xxx.xxx
localhost IN A 127.0.0.1
www IN CNAME mojadomena.com.pl.
ftp IN CNAME mojadomena.com.pl.
Może ktoś z was pomoże?