請教各位學長,小弟設定好postfix後,在本機寄信、收信皆正常,在不同網域收信也正常,但寄信卻出現問題,以下是小弟main.cf的設定以及log,請各位學長指教。
main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
mydomain = 123.idv.tw
myorigin = $mydomain
unknown_local_recipient_reject_code = 550
mynetworks = 192.168.1.0/24, 127.0.0.0/8
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
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
html_directory = /usr/share/doc/packages/postfix-doc/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix-doc/samples
readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = mail.123.idv.tw
delay_warning_time = 1h
message_strip_characters = \0
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain,$mydomain
defer_transports =
mynetworks_style = host
disable_dns_lookups = no
relayhost = [mail.123.idv.tw]
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
log
Jun 18 10:17:25 xxx postfix/postfix-script: starting the Postfix mail system
Jun 18 10:17:25 xxx postfix/master[4052]: daemon started -- version 2.2.9, configuration /etc/postfix
Jun 18 11:03:58 xxx popper[4452]: (v4.0.

Servicing request from "111-111-111-111.dynamic.hinet.net" at 111.111.11.111 [pop_init.c:1239]
Jun 18 11:03:59 xxx popper[4452]: Stats: xxx 0 0 0 0 111-111-111-111.dynamic.hinet.net 111.111.111.11 [pop_updt.c:301]
Jun 18 11:04:02 xxx postfix/smtpd[4453]: connect from 111-111-111-111.dynamic.hinet.net[111.111.111.111]
Jun 18 11:04:02 xxx postfix/smtpd[4453]: NOQUEUE: reject: RCPT from 111-111-111-111.dynamic.hinet.net[111.111.111.111]: 554 <123@gmail.com>: Relay access denied; from=<123@123.idv.tw> to=<123@gmail.com> proto=ESMTP helo=<speed>
Jun 18 11:04:05 xxx postfix/smtpd[4453]: disconnect from 111-111-111-111.dynamic.hinet.net[111.111.111.111]
Jun 18 11:07:25 xxx postfix/anvil[4455]: statistics: max connection rate 1/60s for (smtp:111.111.111.111) at Jun 18 11:04:02
Jun 18 11:07:25 xxx postfix/anvil[4455]: statistics: max connection count 1 for (smtp:111.111.111.111) at Jun 18 11:04:02
Jun 18 11:07:25 xxx postfix/anvil[4455]: statistics: max cache size 1 at Jun 18 11:04:02