由 lulumi » 週三 11月 06, 2002 9:53 am
謝謝大家的解答,我照著palmpilote方法製造一個空檔,總算可以收到信了,不過卻無法
寄到學校外面,應該怎麼設定才能讓我這邊區網的電腦可外寄到學校外面,又可避免當別人
的relay? 我的設定檔如下
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
setgid_group = postdrop
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = yes
myhostname = nl.phy.nknu.edu.tw
mydomain = phy.nknu.edu.tw
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
alias_database = hash:/etc/postfix/aliases
smtpd_recipient_restrictions = permit_mynetworks,hash:/etc/postfix/access,check_
relay_domains
disable_vrfy_command = yes
relay_domains = /etc/postfix/relay-domains
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain, www
.$mydomain, ftp.$mydomail
mynetworks = 140.127.79.
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 30720000
recipient_delimiter = +
順便附上mail.log
Nov 6 09:43:35 debian postfix/smtpd[3388]: reject: RCPT from ho-03[140.127.79.6
7]: 554 <schsu@hep1.phys.ntu.edu.tw>: Recipient address rejected: Relay access d
enied; from=<kapahunter@nl.phy.nknu.edu.tw> to=<schsu@hep1.phys.ntu.edu.tw>
Nov 6 09:43:40 debian postfix/smtpd[3388]: disconnect from ho-03[140.127.79.67]
Nov 6 09:44:37 debian postfix/smtpd[3388]: connect from ho-03[140.127.79.67]
Nov 6 09:44:37 debian postfix/smtpd[3388]: 2BD4E32E95: client=ho-03[140.127.79.
67]
Nov 6 09:44:37 debian postfix/smtpd[3388]: reject: RCPT from ho-03[140.127.79.6
7]: 554 <heroperson@hotmail.com>: Recipient address rejected: Relay access denie
d; from=<kapahunter@nl.phy.nknu.edu.tw> to=<heroperson@hotmail.com>
Nov 6 09:44:42 debian postfix/smtpd[3388]: disconnect from ho-03[140.127.79.67]
不知道該改哪個設定~~~~