Re: basic smtpd question

2012-07-03 Thread Hugo Osvaldo Barrera
On 2012-06-19 18:29, bofh wrote:
 Found it.  Either of the following in /etc/mail/aliases will cause the
 problem
 
 Tai:  tai
 TAI:  tai
 
 
 On the other hand, the following is perfectly fine:
 
 @.@: tai

IIRC, the local-part of en email address should be case sensitive, so
the above should be valid.

On a sort-of-related matter, I recently had an almost identical issue
creating aliases, but in my case, I had created circular aliases.

h...@somedomain.com: root
root: hugo

So it was really a PICNIC rather than a bug in my particular case, buy
something that validates aliases (similar to `smtpd -n`) might help.

-- 
Hugo Osvaldo Barrera



Re: basic smtpd question

2012-06-20 Thread Gilles Chehade
Thanks, will look at it soon.

Gilles

On Tue, Jun 19, 2012 at 05:29:59PM -0400, bofh wrote:
 Found it.  Either of the following in /etc/mail/aliases will cause the problem
 
 Tai:  tai
 TAI:  tai
 
 
 On the other hand, the following is perfectly fine:
 
 @.@: tai
 
 :)
 
 On Tue, Jun 19, 2012 at 5:10 PM, bofh goodb...@gmail.com wrote:
  On Tue, Jun 19, 2012 at 3:45 PM, Gilles Chehade gil...@poolp.org wrote:
 
  I don't know if it's that, but it is then we are facing a bug, it should
  work with as many aliases as you want.
 
  Care to share your /etc/mail/aliases file ?
 
  I have confirmed it is the aliases file, by reverting to the original
  aliases and running newaliases. ?Since I have passwords and stuff in
  my aliases file (from long ago, bad habit, but as a # comment,
  password), I will narrow down to the smallest set that still triggers
  the bug and send it in.
 
  # newaliases
  /etc/mail/aliases: 55 aliases
  # pkill smtpd
  # smtpd -dv
  #
  #
  # echo test|mail root
  # smtp: new client on listener: 0x3c00aba0
  session_pickup: greeting client
  lka_resolve_node: node is local username: tai
  scheduler_ramqueue: insert
  a1908ad0: from=r...@urd.spidernet.to, size=376, nrcpts=1,
  proto=ESMTP, relay=0@localhost [IPv6:::1]
  smtp: 0x7dfc: deleting session: done
  scheduler_ramqueue: display
  ? ? ? ?scheduler_ramqueue: hosttree display
  ? ? ? ? ? ? ? ?host: [0x7e176a00] urd.spidernet.to
  ? ? ? ? ? ? ? ? ? ? ? ?batch: [0x7f6ccbc0] a1908ad0
  ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?evpid: [0x7f6cc7c0] a1908ad00b663b97
  ? ? ? ?scheduler_ramqueue: msgtree display
  ? ? ? ? ? ? ? ?msg: [0x7de6ef40] a1908ad0
  ? ? ? ? ? ? ? ? ? ? ? ?evp: [0x7f6cc7c0] a1908ad00b663b97
  ? ? ? ?scheduler_ramqueue: queue display
  ? ? ? ? ? ? ? ?evpid: [0x7f6cc7c0] [batch: 0x7f6ccbc0], a1908ad00b663b97
  scheduler_ramqueue: next
  scheduler_ramqueue: next: found
  scheduler_ramqueue: next
  scheduler_ramqueue: next: found
  scheduler_ramqueue: next
  scheduler_ramqueue: next: found
  scheduler_ramqueue: remove
  scheduler_ramqueue_remove: batch removed
  scheduler_ramqueue: next
  scheduler_ramqueue: next: nothing schedulable
  runner: nothing to schedule, wake me up. zZzZzZ
  forkmda: to tai as root
  a1908ad00b663b97: to=r...@urd.spidernet.to, delay=0, stat=Sent
  queue_delivery_ok: a1908ad00b663b97
   fsqueue_envelope_delete: queue_envelope_delete: a1908ad00b663b97
  scheduler_ramqueue: display
  ? ? ? ?scheduler_ramqueue: hosttree display
  ? ? ? ?scheduler_ramqueue: msgtree display
  ? ? ? ?scheduler_ramqueue: queue display
  scheduler_ramqueue: next
  scheduler_ramqueue: next: nothing schedulable
  scheduler_ramqueue: next
  scheduler_ramqueue: next: nothing schedulable
  runner: nothing to schedule, wake me up. zZzZzZ
 
 
 
  --
  http://www.glumbert.com/media/shift
  http://www.youtube.com/watch?v=tGvHNNOLnCk
  This officer's men seem to follow him merely out of idle curiosity.
  -- Sandhurst officer cadet evaluation.
  Securing an environment of Windows platforms from abuse - external or
  internal - is akin to trying to install sprinklers in a fireworks
  factory where smoking on the job is permitted.? -- Gene Spafford
  learn french:? http://www.youtube.com/watch?v=30v_g83VHK4
 
 
 
 -- 
 http://www.glumbert.com/media/shift
 http://www.youtube.com/watch?v=tGvHNNOLnCk
 This officer's men seem to follow him merely out of idle curiosity.
 -- Sandhurst officer cadet evaluation.
 Securing an environment of Windows platforms from abuse - external or
 internal - is akin to trying to install sprinklers in a fireworks
 factory where smoking on the job is permitted.? -- Gene Spafford
 learn french:? http://www.youtube.com/watch?v=30v_g83VHK4

-- 
Gilles Chehade

https://www.poolp.org | http://pool.ps  @poolpOrg



Re: basic smtpd question

2012-06-19 Thread bofh
On Tue, Jun 19, 2012 at 11:33 AM, Gilles Chehade gil...@poolp.org wrote:
 sorry for the delay,

 does this issue still exist ?

 can you run smtpd with -dv and send output as you reproduce ?

I don't know if it's me, or what... :(  I went back to the original
config.  If this is a bug, I'd be happy to submit, if this is a
mistake I made...  :)

# pfctl -d; pkill smtpd; grep -v ^# /etc/mail/smtpd.conf ; smtpd -dv
pf disabled
#
listen on lo0

map aliases { source db /etc/mail/aliases.db }

accept for local alias aliases deliver to mbox
accept for all relay

#
startup [debug mode]
parent_send_config: configuring smtp
scheduler_ramqueue: init
scheduler_ramqueue: display
parent_send_config_client_certs: configuring smtp
scheduler_ramqueue: hosttree display
parent_send_config_ruleset: reloading rules and maps
scheduler_ramqueue: msgtree display
parent_send_config_ruleset: reloading rules and maps
scheduler_ramqueue: queue display
scheduler_ramqueue: next
scheduler_ramqueue: next: nothing schedulable
scheduler_ramqueue: load
scheduler_ramqueue: queue loading in progress
ramqueue: loading over
scheduler_ramqueue: next
scheduler_ramqueue: next: nothing schedulable
runner: nothing to schedule, wake me up. zZzZzZ
smtp: listen on 127.0.0.1 port 25 flags 0x0 cert lo0
smtp: listen on IPv6:fe80::1%lo0 port 25 flags 0x0 cert lo0
smtp: listen on IPv6:::1 port 25 flags 0x0 cert lo0
smtp: will accept at most 246 clients
smtpd: scanning offline queue...
smtpd: offline scanning done

# echo test|mail root
# smtp: new client on listener: 0x3c00aba0
session_pickup: greeting client
lka_resolve_node: node is local username: tai
aliases_exist: 'tai' exists with 1 expansion nodes
aliases_get: returned 1 aliases
lka_session_done: expansion led to empty delivery list
4547fd3a: from=r...@urd.spidernet.to, relay=0@localhost [IPv6:::1],
stat=LocalError (530 5.0.0 Recipient rejected: r...@urd.spidernet.to)
send-mail: command failed: 530 5.0.0 Recipient rejected:
r...@urd.spidernet.to

smtp: 0x86ff6000: deleting session: disconnected

# grep ^root /etc/mail/aliases
# grep ^tai /etc/mail/aliases
# newaliases
/etc/mail/aliases: 448 aliases

448 aliases all pointing to tai - is that what's causing the issue?



--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Re: basic smtpd question

2012-06-19 Thread Gilles Chehade
On Tue, Jun 19, 2012 at 01:23:10PM -0400, bofh wrote:
 
 I don't know if it's me, or what... :(  I went back to the original
 config.  If this is a bug, I'd be happy to submit, if this is a
 mistake I made...  :)
 
 # pfctl -d; pkill smtpd; grep -v ^# /etc/mail/smtpd.conf ; smtpd -dv
 pf disabled
 #
 listen on lo0
 
 map aliases { source db /etc/mail/aliases.db }
 
 accept for local alias aliases deliver to mbox
 accept for all relay
 
 #
 startup [debug mode]
 parent_send_config: configuring smtp
 scheduler_ramqueue: init
 scheduler_ramqueue: display
 parent_send_config_client_certs: configuring smtp
 scheduler_ramqueue: hosttree display
 parent_send_config_ruleset: reloading rules and maps
 scheduler_ramqueue: msgtree display
 parent_send_config_ruleset: reloading rules and maps
 scheduler_ramqueue: queue display
 scheduler_ramqueue: next
 scheduler_ramqueue: next: nothing schedulable
 scheduler_ramqueue: load
 scheduler_ramqueue: queue loading in progress
 ramqueue: loading over
 scheduler_ramqueue: next
 scheduler_ramqueue: next: nothing schedulable
 runner: nothing to schedule, wake me up. zZzZzZ
 smtp: listen on 127.0.0.1 port 25 flags 0x0 cert lo0
 smtp: listen on IPv6:fe80::1%lo0 port 25 flags 0x0 cert lo0
 smtp: listen on IPv6:::1 port 25 flags 0x0 cert lo0
 smtp: will accept at most 246 clients
 smtpd: scanning offline queue...
 smtpd: offline scanning done
 
 # echo test|mail root
 # smtp: new client on listener: 0x3c00aba0
 session_pickup: greeting client
 lka_resolve_node: node is local username: tai
 aliases_exist: 'tai' exists with 1 expansion nodes
 aliases_get: returned 1 aliases
 lka_session_done: expansion led to empty delivery list
 4547fd3a: from=r...@urd.spidernet.to, relay=0@localhost [IPv6:::1],
 stat=LocalError (530 5.0.0 Recipient rejected: r...@urd.spidernet.to)
 send-mail: command failed: 530 5.0.0 Recipient rejected: r...@urd.spidernet.to
 
 smtp: 0x86ff6000: deleting session: disconnected
 
 # grep ^root /etc/mail/aliases
 # grep ^tai /etc/mail/aliases
 # newaliases
 /etc/mail/aliases: 448 aliases
 
 448 aliases all pointing to tai - is that what's causing the issue?
 

I don't know if it's that, but it is then we are facing a bug, it should
work with as many aliases as you want.

Care to share your /etc/mail/aliases file ?

-- 
Gilles Chehade

https://www.poolp.org | http://pool.ps  @poolpOrg



Re: basic smtpd question

2012-06-19 Thread bofh
On Tue, Jun 19, 2012 at 3:45 PM, Gilles Chehade gil...@poolp.org wrote:

 I don't know if it's that, but it is then we are facing a bug, it should
 work with as many aliases as you want.

 Care to share your /etc/mail/aliases file ?

I have confirmed it is the aliases file, by reverting to the original
aliases and running newaliases.  Since I have passwords and stuff in
my aliases file (from long ago, bad habit, but as a # comment,
password), I will narrow down to the smallest set that still triggers
the bug and send it in.

# newaliases
/etc/mail/aliases: 55 aliases
# pkill smtpd
# smtpd -dv
#
#
# echo test|mail root
# smtp: new client on listener: 0x3c00aba0
session_pickup: greeting client
lka_resolve_node: node is local username: tai
scheduler_ramqueue: insert
a1908ad0: from=r...@urd.spidernet.to, size=376, nrcpts=1,
proto=ESMTP, relay=0@localhost [IPv6:::1]
smtp: 0x7dfc: deleting session: done
scheduler_ramqueue: display
scheduler_ramqueue: hosttree display
host: [0x7e176a00] urd.spidernet.to
batch: [0x7f6ccbc0] a1908ad0
evpid: [0x7f6cc7c0] a1908ad00b663b97
scheduler_ramqueue: msgtree display
msg: [0x7de6ef40] a1908ad0
evp: [0x7f6cc7c0] a1908ad00b663b97
scheduler_ramqueue: queue display
evpid: [0x7f6cc7c0] [batch: 0x7f6ccbc0], a1908ad00b663b97
scheduler_ramqueue: next
scheduler_ramqueue: next: found
scheduler_ramqueue: next
scheduler_ramqueue: next: found
scheduler_ramqueue: next
scheduler_ramqueue: next: found
scheduler_ramqueue: remove
scheduler_ramqueue_remove: batch removed
scheduler_ramqueue: next
scheduler_ramqueue: next: nothing schedulable
runner: nothing to schedule, wake me up. zZzZzZ
forkmda: to tai as root
a1908ad00b663b97: to=r...@urd.spidernet.to, delay=0, stat=Sent
queue_delivery_ok: a1908ad00b663b97
 fsqueue_envelope_delete: queue_envelope_delete: a1908ad00b663b97
scheduler_ramqueue: display
scheduler_ramqueue: hosttree display
scheduler_ramqueue: msgtree display
scheduler_ramqueue: queue display
scheduler_ramqueue: next
scheduler_ramqueue: next: nothing schedulable
scheduler_ramqueue: next
scheduler_ramqueue: next: nothing schedulable
runner: nothing to schedule, wake me up. zZzZzZ



--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Re: basic smtpd question

2012-06-19 Thread bofh
Found it.  Either of the following in /etc/mail/aliases will cause the
problem

Tai:  tai
TAI:  tai


On the other hand, the following is perfectly fine:

@.@: tai

:)

On Tue, Jun 19, 2012 at 5:10 PM, bofh goodb...@gmail.com wrote:
 On Tue, Jun 19, 2012 at 3:45 PM, Gilles Chehade gil...@poolp.org wrote:

 I don't know if it's that, but it is then we are facing a bug, it should
 work with as many aliases as you want.

 Care to share your /etc/mail/aliases file ?

 I have confirmed it is the aliases file, by reverting to the original
 aliases and running newaliases.  Since I have passwords and stuff in
 my aliases file (from long ago, bad habit, but as a # comment,
 password), I will narrow down to the smallest set that still triggers
 the bug and send it in.

 # newaliases
 /etc/mail/aliases: 55 aliases
 # pkill smtpd
 # smtpd -dv
 #
 #
 # echo test|mail root
 # smtp: new client on listener: 0x3c00aba0
 session_pickup: greeting client
 lka_resolve_node: node is local username: tai
 scheduler_ramqueue: insert
 a1908ad0: from=r...@urd.spidernet.to, size=376, nrcpts=1,
 proto=ESMTP, relay=0@localhost [IPv6:::1]
 smtp: 0x7dfc: deleting session: done
 scheduler_ramqueue: display
        scheduler_ramqueue: hosttree display
                host: [0x7e176a00] urd.spidernet.to
                        batch: [0x7f6ccbc0] a1908ad0
                                evpid: [0x7f6cc7c0] a1908ad00b663b97
        scheduler_ramqueue: msgtree display
                msg: [0x7de6ef40] a1908ad0
                        evp: [0x7f6cc7c0] a1908ad00b663b97
        scheduler_ramqueue: queue display
                evpid: [0x7f6cc7c0] [batch: 0x7f6ccbc0], a1908ad00b663b97
 scheduler_ramqueue: next
 scheduler_ramqueue: next: found
 scheduler_ramqueue: next
 scheduler_ramqueue: next: found
 scheduler_ramqueue: next
 scheduler_ramqueue: next: found
 scheduler_ramqueue: remove
 scheduler_ramqueue_remove: batch removed
 scheduler_ramqueue: next
 scheduler_ramqueue: next: nothing schedulable
 runner: nothing to schedule, wake me up. zZzZzZ
 forkmda: to tai as root
 a1908ad00b663b97: to=r...@urd.spidernet.to, delay=0, stat=Sent
 queue_delivery_ok: a1908ad00b663b97
  fsqueue_envelope_delete: queue_envelope_delete: a1908ad00b663b97
 scheduler_ramqueue: display
        scheduler_ramqueue: hosttree display
        scheduler_ramqueue: msgtree display
        scheduler_ramqueue: queue display
 scheduler_ramqueue: next
 scheduler_ramqueue: next: nothing schedulable
 scheduler_ramqueue: next
 scheduler_ramqueue: next: nothing schedulable
 runner: nothing to schedule, wake me up. zZzZzZ



 --
 http://www.glumbert.com/media/shift
 http://www.youtube.com/watch?v=tGvHNNOLnCk
 This officer's men seem to follow him merely out of idle curiosity.
 -- Sandhurst officer cadet evaluation.
 Securing an environment of Windows platforms from abuse - external or
 internal - is akin to trying to install sprinklers in a fireworks
 factory where smoking on the job is permitted.  -- Gene Spafford
 learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Re: basic smtpd question

2012-06-09 Thread bofh
On Mon, Jun 4, 2012 at 4:36 AM, Gilles Chehade gil...@poolp.org wrote:
 On Sun, Jun 03, 2012 at 03:02:46PM +0200, Christopher Zimmermann wrote:

 [...]

  
   Relay how? Using smarthost? Possibly password protected? Then you
   need something like this:
  
   map secrets { source db /etc/mail/secrets.db }
   accept from ... for all relay via smarthost tls auth secrets
 

 You should drop the '{' as they will be gone in the future, I made them
 optional so that it doesn't break setups but it should read:

 map secrets source db /etc/mail/secrets.db

That doesn't work in 5.1, unfortunately.  I get a syntax error when I
remove the { and }.

Also, mind slapping me with a cluestick?  The below is my config, but
I can't even send myself an email?

wan_if = em0
lan_if = fxp0

listen on lo0
listen on $lan_if

map aliases { source db /etc/mail/aliases.db }

accept for local alias aliases deliver to mbox
accept for domain *.spidernet.to deliver to mbox
accept for domain *.bofh.to deliver to mbox

# echo test|mail root
send-mail: command failed: 530 5.0.0 Recipient rejected:
r...@urd.spidernet.to
# echo test|mail test
send-mail: command failed: 530 5.0.0 Recipient rejected:
t...@urd.spidernet.to

# cat /var/log/maillog
Jun  9 11:14:35 urd smtpd[3173]: lka_session_done: expansion led to
empty delivery list
Jun  9 11:14:35 urd smtpd[13437]: 50f71e78:
from=r...@urd.spidernet.to, relay=0@localhost [IPv6:::1],
stat=LocalError (530 5.0.0 Recipient rejected: r...@urd.spidernet.to)
Jun  9 11:16:22 urd smtpd[3173]: lka_session_done: expansion led to
empty delivery list
Jun  9 11:16:22 urd smtpd[13437]: 218b8c90:
from=r...@urd.spidernet.to, relay=0@localhost [IPv6:::1],
stat=LocalError (530 5.0.0 Recipient rejected: t...@urd.spidernet.to)

I swear users root and test exists...
--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Re: basic smtpd question

2012-06-04 Thread Gilles Chehade
On Sun, Jun 03, 2012 at 03:02:46PM +0200, Christopher Zimmermann wrote:

 [...]

  
   Relay how? Using smarthost? Possibly password protected? Then you
   need something like this:
  
   map secrets { source db /etc/mail/secrets.db }
   accept from ... for all relay via smarthost tls auth secrets
  

You should drop the '{' as they will be gone in the future, I made them
optional so that it doesn't break setups but it should read:

map secrets source db /etc/mail/secrets.db

Gilles

-- 
Gilles Chehade

https://www.poolp.org | http://pool.ps  @poolpOrg



basic smtpd question

2012-06-03 Thread bofh
Hi,
Trying to migrate from my 4.4 to 5.1.  Thought I'd go with smtpd.  Is
this config good?  I want all email for my domain to be delivered on
this box, and for this box to send email out.

wan_if = em0
lan_if = fxp0

listen on lo0
listen on $lan_if
listen on _wan_if

map aliases { source db /etc/mail/aliases.db }

accept for local alias aliases deliver to mbox
accept for domain *.domain1.com deliver to mbox
accept for domain *.domain2.org deliver to mbox
accept from 10.1.1.0/24 relay

I'm also using spamd with default settings as delivered on 5.1, just
uncommenting out the spamd pieces in /etc/pf.conf - there'd be no
impact here right?

Thanks!

--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Re: basic smtpd question

2012-06-03 Thread bofh
On Sun, Jun 3, 2012 at 8:38 AM, Christopher Zimmermann
madro...@gmerlin.de wrote:
 On Sun, 3 Jun 2012 08:15:56 -0400
 bofh goodb...@gmail.com wrote:
 Do you want to accept remote mail for your domains? Then you need to
 add from all.

So,

accept from all for domain *.domain1.com deliver to mbox

OK, got it!

 accept from 10.1.1.0/24 relay

 Relay how? Using smarthost? Possibly password protected? Then you need
 something like this:

 map secrets { source db /etc/mail/secrets.db }
 accept from ... for all relay via smarthost tls auth secrets

Still thinking about what I want to do for this - internal network is
just my house, wpa2 protected wireless.  But thanks for the pointer.


--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Re: basic smtpd question

2012-06-03 Thread Christopher Zimmermann
On Sun, 3 Jun 2012 08:42:48 -0400
bofh goodb...@gmail.com wrote:

 On Sun, Jun 3, 2012 at 8:38 AM, Christopher Zimmermann
 madro...@gmerlin.de wrote:
  On Sun, 3 Jun 2012 08:15:56 -0400
  bofh goodb...@gmail.com wrote:
  Do you want to accept remote mail for your domains? Then you need to
  add from all.
 
 So,
 
 accept from all for domain *.domain1.com deliver to mbox
 
 OK, got it!
 
  accept from 10.1.1.0/24 relay
 
  Relay how? Using smarthost? Possibly password protected? Then you
  need something like this:
 
  map secrets { source db /etc/mail/secrets.db }
  accept from ... for all relay via smarthost tls auth secrets
 
 Still thinking about what I want to do for this - internal network is
 just my house, wpa2 protected wireless.  But thanks for the pointer.

You probably want smtpd to deliver your outgoing mail via a smarthost
of your ISP, because some mailservers reject mail from dynamic IP
ranges or private IP ranges.