On Thu, Apr 11, 2013 at 11:07:47PM +0200, Michael wrote:
> Hi,
> 

Hi,

sorry for the delay, i'm struggling to catch up on my mailbox ...


> >>> smtpd doesn't support address rewriting at the moment.
> >>> It will either use the local `hostname` or the one supplied by your MUA.
> >>
> >> While I knew it didn't rewrite stuff, looking at it this way, it sure
> >> can cause... interesting times.
> >>
> >> E.g. meaning if you mail out stuff with a plain "From: $USER" header, it
> >> will pick up the first sendmail (or non-smtpd anyway) hostname on its
> >> way... Which may work out, or not.
> 
> Interesting indeed, and unexpected.
>

I didn't quite get that, can you summarize the issue ?
Between the mails in that thread and the ones I received from halex@ out
of the thread, I'm confused :-)


> > If no solution is in near sight, i'll start waving my dirty ol' cron
> > workaround again... ;-)
> > 
> >     http://marc.info/?l=openbsd-tech&m=135280093712960&w=2
> >

That would be nice, though it would only solve half of the issue...


> > Michael: A quick fix for the "To: " header, which I suspect suffers from
> > the same problem, should be to specify a fully qualified MAILTO address
> > in the crontab.
> 
> Well, the patch to cron would only work for regular cronjobs, but not
> the daily/weekly/monthly/security scripts or anything else send to
> "root". Same goes for the MAILTO, which is ignored in those scripts as well.
> 
> Is there any ETA when smtpd will properly handle rewriting the address?
> 

It's high on the todo and very likely to be done by 5.4



-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

Reply via email to