Hi!
New to OpenSMTPD (on OpenBSD 6.0 stable), I've fiddled around with smtpd
until I finally started receiving mail sent to my domain. But I can't seem
to manage to send e-mails out from the box. I've killed everything I can
find resembling a firewall (including pf, temporarily).
My smtpd.conf:
# This is the smtpd server system-wide configuration file.
# See smtpd.conf(5) for more information.
table aliases file:/etc/mail/aliases
# To accept external mail, replace with: listen on all
#
# listen on lo0
listen on all
# Uncomment the following to accept external mail for domain "example.org"
#
accept from any for domain "andreasthulin.se" alias <aliases> deliver to
mbox
accept for local alias <aliases> deliver to mbox
accept from local for any relay
What have I got wrong, and how can I trouble-shoot?
BR
Andreas
dmesg:
OpenBSD 6.0 (GENERIC) #2: Mon Oct 17 22:43:38 CEST 2016
[email protected]:/binpatchng/work-binpatch60-i386/src/sys/arch/
i386/compile/GENERIC
cpu0: Genuine Intel(R) CPU 575 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,TM2,S
SSE3,CX16,xTPR,PDCM,LAHF,PERF,SENSOR
real mem = 2071166976 (1975MB)
avail mem = 2018836480 (1925MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 03/19/09, BIOS32 rev. 0 @ 0xfd8f0, SMBIOS rev. 2.5
@ 0x7
bac1000 (45 entries)
bios0: vendor Phoenix Technologies LTD version "V1.30" date 03/19/2009
bios0: Acer Extensa 5230
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET MCFG SLIC ASF! APIC BOOT SSDT SSDT SSDT
acpi0: wakeup devices P0P1(S4) USB0(S3) USB1(S3) USB2(S3) USBR(S3) EHC1(S3)
USB3
(S3) USB4(S3) USB5(S3) EHC2(S3) HDEF(S3) PXSX(S5) GLAN(S5) LID0(S3)
SLPB(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 166MHz
cpu0: mwait min=64, max=64, C-substates=0.1.1.1, IBE
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 13 (P0P1)
acpiprt2 at acpi0: bus 2 (RP01)
acpiprt3 at acpi0: bus 3 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus 4 (RP05)
acpiec0 at acpi0
acpicpu0 at acpi0: !C2(250@17 mwait.3@0x20), C1(1000@1 mwait.1)
acpitz0 at acpi0: critical temperature is 98 degC
acpitz1 at acpi0: critical temperature is 98 degC
acpibat0 at acpi0: BAT0 model "GRAPE32" serial 31202 type LION oem
"4f594e4153"
acpiac0 at acpi0: AC unit online
"PNP0303" at acpi0 not configured
"SYN0302" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"*pnp0c14" at acpi0 not configured
"*pnp0c14" at acpi0 not configured
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: SLPB
acpivideo0 at acpi0: VGA_
acpivideo1 at acpi0: GFX0
acpivout0 at acpivideo1: DD02
bios0: ROM list: 0xc0000/0xf800! 0xcf800/0x1000 0xd0a00/0x1000
0xd1c00/0x1e00
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x09
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0: msi
inteldrm0: 1280x800
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel GM45 Video" rev 0x09 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 20
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 20
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 20
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 20
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: msi
azalia0: codecs: Realtek ALC268, Intel/0x2802, using Realtek ALC268
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 1 int 16
pci1 at ppb0 bus 2
bge0 at pci1 dev 0 function 0 "Broadcom BCM5764" rev 0x10, BCM5784 A1
(0x5784100
): msi, address 00:1f:16:92:ab:2f
brgphy0 at bge0 phy 1: BCM5784 10/100/1000baseT PHY, rev. 4
ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: apic 1 int 17
pci2 at ppb1 bus 3
athn0 at pci2 dev 0 function 0 "Atheros AR9281" rev 0x01: apic 1 int 17
athn0: AR9280 rev 2 (1T2R), ROM rev 18, address 00:17:c4:61:63:a8
ppb2 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x03: apic 1 int 16
pci3 at ppb2 bus 4
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 23
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 17
uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 18
ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93
pci4 at ppb3 bus 13
cbb0 at pci4 dev 6 function 0 "O2 Micro OZ711EZ1 CardBus" rev 0x01: apic 1
int 2
2
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 14 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0 "Intel 82801IBM LPC" rev 0x03
ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: msi, AHCI 1.2
ahci0: port 0: 3.0Gb/s
ahci0: port 1: 1.5Gb/s
ahci0: PHY offline on port 5
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD1600BEVT-2, 11.0> SCSI3 0/direct
fixed
naa.50014ee2ad4cc4f0
sd0: 152627MB, 512 bytes/sector, 312581808 sectors
cd0 at scsibus1 targ 1 lun 0: <Slimtype, DVD A DS8A2S, 6A11> ATAPI 5/cdrom
remov
able
ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x03: apic 1 int
19
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Synaptics touchpad, firmware 6.3
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
umass0 at uhub1 port 2 configuration 1 interface 0 "SanDisk Ultra Fit" rev
2.10/
1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: <SanDisk, Ultra Fit, 1.00> SCSI4 0/direct
removabl
e serial.07815583450111112203
sd1: 29664MB, 512 bytes/sector, 60751872 sectors
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
sd2 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct fixed
sd2: 152625MB, 512 bytes/sector, 312576113 sectors
root on sd2a (f665adfd0d1c679a.a) swap on sd2b dump on sd2b
sd1 detached
scsibus2 detached
umass0 detached