Hi!

I'm trying to setup a mail server for a small website. So far I can
receive emails fine and even send mail to local users (root, myself,
etc). I can't, however, email anything else.

Here's my smtpd.conf file:
---
listen on dc0 tls
map "aliases" { source db "/etc/mail/aliases.db" }
map "secrets" { source db "/etc/mail/secrets.db" }
accept for local alias aliases deliver to mbox
accept from all for all deliver to mbox
accept for all relay via "smtp.comcast.net" tls auth "secret"

Here's the output of smtpd -dv and me trying to send an email:
---
startup [debug mode]
parent_send_config: configuring smtp
parent_send_config_client_certs: configuring smtp
parent_send_config_ruleset: reloading rules and maps
smtp_setup_events: listen on 192.168.1.42 port 25 flags 0x1 cert "dc0"
ssl_setup: ssl setup finished for listener: 0x871d8800
smtp_setup_events: listen on IPv6:fe80::202:e3ff:fe4d:a73a%dc0 port 25
flags 0x1 cert "dc0"
ssl_setup: ssl setup finished for listener: 0x8bd22800
smtp: will accept at most 246 clients
smtp_new: incoming client on listener: 0x3c009aa0
session_pickup: greeting client
command: EHLO   args: localhost
command: MAIL FROM      args: <puma@mydomain>
session_rfc5321_mail_handler: sending notification to mfa
smtp: got imsg_mfa_mail/rcpt
smtp: imsg_queue_create_message returned
command: RCPT TO        args: <myusern...@comcast.net>
smtp: got imsg_mfa_mail/rcpt
1312400157.txi0ogp2WYHpivhh: from=<puma@mydomain>, relay=1000@localhost
[IPv6:::1], stat=LocalError (530 5.0.0 Recipient rejected:
myusern...@comcast.net)
session_destroy: killing client: 0x864d4000
^Csmtp server exiting
runner handler exiting
queue handler exiting
mail transfer agent exiting
mail filter exiting
mail delivery agent exiting
lookup agent exiting
control process exiting
parent terminating

Here's my dmesg:
---
OpenBSD 4.9 (GENERIC) #671: Wed Mar  2 07:09:00 MST 2011
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
real mem  = 259551232 (247MB)
avail mem = 245178368 (233MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/15/04, BIOS32 rev. 0 @ 0xfdb40,
SMBIOS rev. 2.3 @ 0xf0630 (31 entries)
bios0: vendor American Megatrends Inc. version "1.11" date 01/15/2004
bios0: Hewlett-Packard HP d220 MT (DQ868A)
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices USB1(S4) USB2(S4) USB3(S4) EHCI(S4) ICHB(S4)
PS2M(S4) PS2K(S4) UAR1(S4) MC9_(S4) PCI0(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133MHz
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (ICHB)
acpicpu0 at acpi0
acpipwrres0 at acpi0: URP1
acpipwrres1 at acpi0: URP2
acpipwrres2 at acpi0: FDDP
acpipwrres3 at acpi0: LPTP
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xb400 0xcbc00/0x1800 0xe0000/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82845G Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82845G Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd0000000, size 0x8000000
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x02: apic 2 int
16 (irq 11)
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x02: apic 2 int
19 (irq 5)
uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x02: apic 2 int
18 (irq 5)
ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x02: apic 2 int
23 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb0 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x82
pci1 at ppb0 bus 3
"Broadcom BCM4401" rev 0x01 at pci1 dev 10 function 0 not configured
dc0 at pci1 dev 11 function 0 "ADMtek AN983" rev 0x11: apic 2 int 21
(irq 11), address 00:02:e3:4d:a7:3a
acphy0 at dc0 phy 1: AC_UNKNOWN 10/100 PHY, rev. 0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801DB LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801DB IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <ST340014A>
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd1 at pciide0 channel 0 drive 1: <ST310014A>
wd1: 16-sector PIO, LBA, 9768MB, 20005650 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LITE-ON, COMBO SOHC-4832K, OQK5> ATAPI
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 3
ichiic0 at pci0 dev 31 function 3 "Intel 82801DB SMBus" rev 0x02: apic 2
int 17 (irq 5)
iic0 at ichiic0
admtm0 at iic0 addr 0x2d: 47m192
spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2700CL2.5
auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x02: apic 2
int 17 (irq 5), ICH4 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

All help is much appreciated!

Reply via email to