zainstalowałem pocztę na serwerze z łączem tp, używając dyndns.org. Przy instalacji postfixa posługiwałem się instrukcja z forum howto-postfix-dovecot-debian_v1.30.pdf oraz informacjami dotyczącymi postfix-a ze strony http://www.dyndns.com/support/kb/mail_s ... bound.html Problem polega na tym ,że poczta jest odbierana ze wszystkich kont z jakich próbowałem wysłać natomiast jak próbuję wysłać to nie pojawia się żaden błąd, tylko wisi w kolejce
Kod: Zaznacz cały
serwer:~/silnik_testowy# postqueue -p
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
5420E97A027 1587 Mon Apr 12 13:59:20 MAILER-DAEMON
(connect to mx5.wp.pl[212.77.101.9]:25: Connection timed out)
witek1811@wp.pl
-- 2 Kbytes in 1 Request.
plik main.cf
Kod: Zaznacz cały
command_directory = /usr/sbin
mail_owner = postfix
mydomain = dom.homelinux.org
myhostname= serwer
myorigin = /etc/mailname
alias_database = hash:/etc/aliases
mydestination = $mydomain, $myhostname, localhost, localhost.localdomain,
mynetworks = 127.0.0.0/8
inet_interfaces = all
iner_protocols = ipv4
home_mailbox = Maildir/
mail_spool_directory = /home/
smtpd_baner = ESMTP on $myhostname !
mailbox_size = 0
recipient_delimeter = +
biff = no
append_dot_mydomain = no
relayhost = [B]outbound.mailhop.org:2525
smtp_sasl_auth_enable=yes
smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options=[/B]
Kod: Zaznacz cały
[B]serwer:/etc/postfix# cat sasl_passwd
outbound.mailhop.org:2525 loginDYNDNS:HASŁODYNDNS
serwer:/etc/postfix# [/B]
Kod: Zaznacz cały
serwer:/etc/postfix# cat /etc/dovecot/dovecot.conf
base_dir = /var/run/dovecot/
protocols = imap imaps pop3 pop3s
listen = *
disable_plaintext_auth = no
shutdown_clients = yes
#logi
log_path=/var/log/dovecot.log
info_log_path = /var/log/mail.log
log_timestamp = "%Y-%m-%d %H:%M:%S "
syslog_facility = mail
login_process_size = 64
login_greeting = Welcome. I’m ready ...
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
login_log_format = %$: %s
login_chroot = no
login_user = dovecot
login_process_per_connection = yes
login_processes_count = 3
login_max_processes_count = 128
mail_location = maildir:~/Maildir
#SSL
#ssl_disable = no
#ssl_cert_file = /etc/postfix/ssl/mail.pem
#ssl_key_file = /etc/postfix/ssl/mail.pem
verbose_ssl = yes
mail_access_groups = postfix
protocol imap {
}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
postmaster_address = witek@dom.homelinux.org
}
auth_verbose = yes
auth_debug = yes
auth default {
mechanisms = plain login
passdb pam {
}
userdb passwd {
}
user = root
}
dict {
}
plugin {
}
serwer:/etc/postfix#