1 | / sbin/conf.d/SuSEconfig.sendmail -m4 > sendmail.mc |
1 2 | cp /etc/sendmail.cf /etc/sendmail.cf.bak m4 sendmail.mc > sendmail.cf |
1 | service sendmail restart |
1 2 3 4 | localhost.localdomain RELAY localhostRELAY 127.0.0.1RELAY 192.168.1RELAY |
1 | makemap hash /etc/mail/access.db < /etc/mail/access |
1 | service sendmail restart |
1 2 3 | # Basic system aliases that MUST be present. postmaster: root mailer-daemon: postmaster |
1 2 | # amavis virusalert: root |
1 | makemap hash /etc/mail/aliases.db < /etc/mail/aliases |
1 | service sendmail restart |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | linux:~ # telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 linux ESMTP Sendmail 8.13.6/8.13.6/SuSE Linux 0.8; Sat, 12 Sep 2009 14:37:24 -0700 ehlo localhost 250-linux Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |