HDW: HP wx8600 work station, 2x Xeon X5470, 3.33GHz
  Running Openindiana/hipster HOST (Ilumos branch of solaris 11)
  Running ubunto 17.04 inside Vbox vm on above host
  postfix-3.14, Sasl 2.1.27~

Attempting to get postfix setup

My situtation is single user on home lan with no real domain name
That is, hostname and dowmainname are made up just for home lan.
  u0.local.lan

To my inexperienced eyes the logs (below) appear to indicate that
authentication was accepted and message sent onward.

But then I get a message like this by email, with the subject line:

  Undelivered Mail Returned to Sender


                   The mail system

   <hp...@fastmail.fm>: Cannot start TLS: handshake failure

with an attachement that says:

   Reporting-MTA: dns; mailauth.nyi.internal
  X-Postfix-Queue-ID: C44B420EF3

  X-Postfix-Sender: rfc822;
  hput3+mesmtpauthpersonality-20063881-7501917-reader==jtan....@fastmail.fm

  Arrival-Date: Sun, 13 Aug 2017 13:56:16 -0400 (EDT)

  Final-Recipient: rfc822; hp...@fastmail.fm
  Original-Recipient: rfc822;hp...@fastmail.fm
  Action: failed
  Status: 4.7.5
  Diagnostic-Code: X-Postfix; Cannot start TLS: handshake failure

I think this might mean my domain could not be resolved, but hopefully
someone here will know better how to interpret this.

So, how can I get this to work?  It appears my credential were ok.
Is that correct?

If my assumptions above are about right then what do I need to do to get
This to work.  Some kind of rewrite as the mail is sent out?

Perhaps masquerading?

just skimming http://www.postfix.org/ADDRESS_REWRITING_README.html
I see it talks about:
rewriting mail when it is recieved
rewriting mail when it is delivered.

But no heading for rewriting when sent, onless one of those above
covers that.

I'm thinking rewrite of the hostname and domain is what might be needed.

I'm not really getting how to make my host and domain into something
mail systems on the internet will not bounce.

Can anyone coach me on this?
Maybe at least let me know if I'm in the ball park.

-------        ---------       ---=---       ---------      --------

Logs from attempting to send a message like this:

mailx -v -s "TEST 170813_140410 u0" hp...@fastmail.fm < ~/txtmsg.txt

-------        ---------       ---=---       ---------      -------- 
/var/log/mail.log:

Aug 13 14:37:55 u0 postfix/pickup[6727]: C630B180CB9: uid=1000
from=<reader>

Aug 13 14:37:55 u0 postfix/cleanup[6746]: C630B180CB9:
message-id=<20170813183755.C630B180CB9@u1>

Aug 13 14:37:55 u0 postfix/qmgr[6728]: C630B180CB9:
from=<rea...@u0.local.lan>, size=1374, nrcpt=1 (queue active)

Aug 13 14:37:56 u0 postfix/smtp[6748]: C630B180CB9:
to=<hp...@fastmail.fm>, relay=smtp.fastmail.com[66.111.4.139]:587,
delay=0.67, delays=0.12/0.1/0.36/0.09, dsn=2.0.0, status=sent (250 2.0.0
Ok: queued as 5A0A57E317)

Aug 13 14:37:56 u0 postfix/cleanup[6746]: 6943A180CBB:
message-id=<20170813183756.6943A180CBB@u1>

Aug 13 14:37:56 u0 postfix/qmgr[6728]: 6943A180CBB: from=<>, size=1939,
nrcpt=1 (queue active)

Aug 13 14:37:56 u0 postfix/bounce[6750]: C630B180CB9: sender delivery
status notification: 6943A180CBB

Aug 13 14:37:56 u0 postfix/qmgr[6728]: C630B180CB9: removed

-------        ---------       ---=---       ---------      --------

Reply via email to