Пробовал настроить отправку почты. Не получается...
cat main.cf.org | egrep "^[^#]" > main.cf
vi /etc/postfix/main.cf
+++++++++++++++++++++++++++++++
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
mynetworks = /etc/postfix/network_table
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.5.6/samples
readme_directory = /usr/share/doc/postfix-2.5.6/README_FILES
virtual_transport = lmtp:unix:/var/lib/imap/socket/lmtp
myhostname = pbx.local
mydomain = local
broken_sasl_auth_clients = no
smtpd_tls_auth_only = no
smtp_tls_note_starttls_offer = no
smtpd_tls_loglevel = 0
smtpd_tls_received_header = no
tls_random_source =
smtp_tls_CAfile =
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous)
smtp_sasl_type = cyrus
smtp_sasl_mechanism_filter = login
smtp_sender_dependent_authentication = yes
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
sender_canonical_maps = hash:/etc/postfix/canonical
smtp_generic_maps = hash:/etc/postfix/generic
smtp_use_tls = yes
myorigin = $mydomain
mynetworks = 127.0.0.0/8
relayhost = [smtp.yandex.ru]:465
+++++++++++++++++++++++++++++++
vi /etc/postfix/sasl_passwd
[root@bpx]# [smtp.yandex.ru]
name@yandex.ru:ХХХХХХХ
++++++++++++++++++++++++++++++++++++++++++++++++++
vi /etc/postfix/sender_relay
[root@pbx]# @local [smtp.yandex.ru]
name@yandex.ru [smtp.yandex.ru]
++++++++++++++++++++++++++++++++++++++++++++++++++
vi /etc/postfix/canonical
@pbx.local
root@pbx.local
+++++++++++++++++++++++++++++++++++++++++++++++++
vi /etc/postfix/generic
root
root@localhost
root@localhost.localdomain
+++++++++++++++++++++++++++++++++++++++++++++++++++
postmap /etc/postfix/generic && postmap /etc/postfix/canonical && postmap /etc/postfix/sender_relay && postmap /etc/postfix/sasl_passwd
++++++++++++++++++++++++++++++++++++++++++++++++++++
service postfix restart
++++++++++++++++++++++++++++++++++++++++++++++++++++++
mail -s "Postfix Test with Yandex"
XXX@yandex.ru < /dev/null
+++++++++++++++++++++++++++++++++++++++++++++++++++++
Выдает в tail -f /var/log/maillog
Jan 15 12:43:53 pbx squatter[10432]: indexing mailbox user/yarsch088/
Trash@pbx.local...
Jan 15 12:43:53 pbx squatter[10432]: done indexing mailboxes
Jan 15 12:47:35 pbx postfix/smtp[10292]: BE9D34174B7F: conversation with smtp.yandex.ru[77.88.21.158] timed out while receiving the initial server greeting
Jan 15 12:47:35 pbx postfix/smtp[10292]: connect to smtp.yandex.ru[2a02:6b8::19d]:465: Network is unreachable
Jan 15 12:47:35 pbx postfix/qmgr[7496]: 1D3074174B90: from=<
root@pbx.local>, size=462, nrcpt=1 (queue active)
Jan 15 12:47:35 pbx postfix/qmgr[7496]: 9A1944174B92: from=<
root@pbx.local>, size=462, nrcpt=1 (queue active)
Jan 15 12:47:35 pbx postfix/smtp[10292]: BE9D34174B7F: to=<
XXX@yandex.ru>, relay=none, delay=93021, delays=92720/0.04/300/0, dsn=4.4.1, status=deferred (connect to smtp.yandex.ru[2a02:6b8::19d]:465: Network is unreachable)
Jan 15 12:47:35 pbx postfix/error[10825]: 1D3074174B90: to=<
XXX@yandex.ru>, relay=none, delay=92767, delays=92767/0.06/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to smtp.yandex.ru[2a02:6b8::19d]:465: Network is unreachable)
Jan 15 12:47:35 pbx postfix/error[10826]: 9A1944174B92: to=<
XXX@yandex.ru>, relay=none, delay=92747, delays=92747/0.06/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to smtp.yandex.ru[2a02:6b8::19d]:465: Network is unreachable)
Jan 15 12:47:35 pbx postfix/smtp[10292]: BE9D34174B7F: to=<
name@yandex.ru>, relay=none, delay=93021, delays=92720/0.04/300/0, dsn=4.4.1, status=deferred (connect to smtp.yandex.ru[2a02:6b8::19d]:465: Network is unreachable)
Jan 15 12:52:35 pbx postfix/qmgr[7496]: 921DB417255F: from=<>, size=2249, nrcpt=1 (queue active)
Jan 15 12:52:35 pbx postfix/smtp[11356]: warning: database /etc/postfix/generic.db is older than source file /etc/postfix/generic
Jan 15 12:52:35 pbx postfix/smtp[11356]: CLIENT wrappermode (port smtps/465) is unimplemented
Jan 15 12:52:35 pbx postfix/smtp[11356]: instead, send to (port submission/587) with STARTTLS
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Подскажите в каком направлении двигаться?
И что нужно будет до надстроить для того что бы полученный факс в elastix перенаправлялся на почту