hawk# telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to localhost.the9.com.
Escape character is '^]'.
+OK Hello there.
user hawk@freebsd.net
+OK Password required.
pass hawk
-ERR Login failed.
Connection closed by foreign host.
安装过程与配置文件如下:(如果我还有贴得不详细的请指出,多谢多谢!)
hawk# dmesg
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003
root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz
CPU: Intel Pentium III (871.03-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x686 Stepping = 6
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>;
real memory = 268349440 (262060K bytes)
avail memory = 255741952 (249748K bytes)
Preloaded elf kernel "kernel" at 0xc053f000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 10 entries at 0xc00f1360
npx0: <math processor>; on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge>; on motherboard
pci0: <CI bus>; on pcib0
agp0: <Intel 82815 (i815 GMCH) host to PCI bridge>; mem 0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <Intel 82801BA/BAM (ICH2) PCI-PCI (AGP) bridge>; at device 1.0 on pci0
pci1: <CI bus>; on pcib1
pci1: <VGA-compatible display device>; at 0.0 irq 11
pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge>; at device 30.0 on pci0
pci2: <CI bus>; on pcib2
xl0: <3Com 3c905C-TX Fast Etherlink XL>; port 0xd800-0xd87f mem 0xf5800000-0xf580007f irq 5 at device 10.0 on pci2
xl0: Ethernet address: 00:04:75:a0:f6:39
miibus0: <MII bus>; on xl0
ukphy0: <Generic IEEE 802.3u media interface>; on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <Intel 82801BA/BAM (ICH2) PCI to LPC bridge>; at device 31.0 on pci0
isa0: <ISA bus>; on isab0
atapci0: <Intel ICH2 ATA100 controller>; port 0xb800-0xb80f at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A>; port 0xb400-0xb41f irq 12 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A>; on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <unknown card>; (vendor=0x8086, dev=0x2443) at 31.3 irq 10
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B>; port 0xb000-0xb01f irq 6 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B>; on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
orm0: <Option ROMs>; at iomem 0xc0000-0xc7fff,0xc8000-0xc87ff on isa0
pmtimer0 on isa0
fdc0: cannot reserve interrupt line
atkbdc0: <Keyboard controller (i8042)>; at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard>; flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA>; at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console>; at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>;
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <arallel port>; at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppi0: <arallel I/O>; on ppbus0
plip0: <LIP network interface>; on ppbus0
lpt0: <rinter>; on ppbus0
lpt0: Interrupt-driven port
ad0: 38166MB <ST340016A>; [77545/16/63] at ata0-master UDMA33
acd0: CDROM <ATAPI CDROM 52X>; at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s1a作者: tdls 时间: 2004-11-24 17:08 标题: 关于大虾孤独的鹰的REEBSD上的使用POSTFIX的问题?? hawk# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 503966 35848 427802 8% /
/dev/ad0s1f 257998 50 237310 0% /tmp
/dev/ad0s1g 35194244 10276506 22102200 32% /usr
/dev/ad0s1e 2015918 3898 1850748 0% /var
procfs 4 4 0 100% /proc
use mysql;
#======================postfix==================================
INSERT INTO user (host,user,password) VALUES('localhost','postfix','');
update user set password=password('hawk') where User='postfix';
FLUSH PRIVILEGES;
GRANT ALL ON mail.* TO postfix@localhost IDENTIFIED BY "hawk";
#======================courier==================================
INSERT INTO user (host,user,password) VALUES ('localhost','courier','');
update user set password=password('hawk') where User='courier';
FLUSH PRIVILEGES;
GRANT select,insert,update on mail.* TO courier;
#=======================MAIL.SQL=================================
#Create mail database
CREATE DATABASE mail;
use mail;
#Create the aliases table
CREATE TABLE aliases (
alias varchar(255) NOT NULL default '',
rcpt varchar(255) default NULL,
PRIMARY KEY (alias)
) TYPE=MyISAM;
#Create the transport table
CREATE TABLE transport (
domain char(12 NOT NULL default '',
transport char(12 NOT NULL default '',
UNIQUE KEY domain (domain)
) TYPE=MyISAM;
^[ (escape) menu ^y search prompt ^k delete line ^p prev li ^g prev page
^o ascii code ^x search ^l undelete line ^n next li ^v next page
^u end of file ^a begin of line ^w delete word ^b back 1 char
^t begin of file ^e end of line ^r restore word ^f forward 1 char
^c command ^d delete char ^j undelete char ^z next word
L: 375 C: 3 ===================================================================
ldconfig_insecure="NO" # Set to YES to disable ldconfig security checks
ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/lib/sasl2"
# shared library search paths
ldconfig_paths_aout="/usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout"
# a.out shared library search paths
kern_securelevel_enable="NO" # kernel security level (see init(),
kern_securelevel="-1" # range: -1..3 ; `-1' is the most insecure
^[ (escape) menu ^y search prompt ^k delete line ^p prev li ^g prev page
^o ascii code ^x search ^l undelete line ^n next li ^v next page
^u end of file ^a begin of line ^w delete word ^b back 1 char
^t begin of file ^e end of line ^r restore word ^f forward 1 char
^c command ^d delete char ^j undelete char ^z next word
L: 104 C: 1 ===================================================================
# $FreeBSD: src/etc/mail/aliases,v 1.10.4.7 2003/04/04 06:15:55 gshapiro Exp $
# @(#)aliases 5.3 (Berkeley) 5/24/90
#
# Aliases in this file will NOT be expanded in the header from
# Mail, but WILL be visible over networks.
#
# >;>;>;>;>;>;>;>;>;>; The program "newaliases" must be run after
# >;>; NOTE >;>; this file is updated for any changes to
# >;>;>;>;>;>;>;>;>;>; show through to sendmail.
#
#
# See also RFC 2142, `MAILBOX NAMES FOR COMMON SERVICES, ROLES
# AND FUNCTIONS', May 1997
# Pretty much everything else in this file points to "root", so
# you would do well in either reading root's mailbox or forwarding
# root's email from here.
# root: me@my.domain
# Basic system aliases -- these MUST be present
MAILER-DAEMON: postmaster
postmaster: root
# SUPPORT MAILBOX NAMES FOR SPECIFIC INTERNET SERVICES
ftp: root
ftp-bugs: ftp
# hostmaster: root
# webmaster: root
# www: webmaster
# NOTE: /var/msgs and /var/msgs/bounds must be owned by sendmail's
# DefaultUser (defaults to mailnull) for the msgs alias to work.
#
# msgs: "| /usr/bin/msgs -s"