Re: Another build error on FreeBSD

2015-02-07 Thread Gilles Chehade
This was kind of expected, the compat layer needs some headers shuffling and 
additions.

II'll get to it tonight
Le 7 févr. 2015 09:32, Herbert J. Skuhra herb...@oslo.ath.cx a écrit :

 Hei, 

 latest sources from git do not build on FreeBSD: 

 bsd-misc.c:145:38: error: expected ';' after do/while statement 
     TIMESPEC_TO_TIMEVAL(time2wait, req) 
     ^ 
     ; 
 bsd-misc.c:163:37: error: expected ';' after do/while statement 
     TIMEVAL_TO_TIMESPEC(tremain, rem) 
   ^ 
   ; 
 2 errors generated. 
 *** Error code 1 

 This happens with clang 3.4.1 and gcc 4.8.4. 

 Hmm, bsd-misc.c in the 201502012312p1 snapshot and in git are the 
 same and the former builds (well, after defining HOST_NAME_MAX). 

 -- 
 Herbert 

 -- 
 You received this mail because you are subscribed to misc@opensmtpd.org 
 To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org 

b��yǢ��m�+j)[yƮ�쨹�޲��r��y�h�+kiv��N�r��zǧu���[h�+��칻�ޢ���kiv��

Another build error on FreeBSD

2015-02-07 Thread Herbert J. Skuhra
Hei,

latest sources from git do not build on FreeBSD:

bsd-misc.c:145:38: error: expected ';' after do/while statement
TIMESPEC_TO_TIMEVAL(time2wait, req)
^
;
bsd-misc.c:163:37: error: expected ';' after do/while statement
TIMEVAL_TO_TIMESPEC(tremain, rem)
  ^
  ;
2 errors generated.
*** Error code 1

This happens with clang 3.4.1 and gcc 4.8.4.

Hmm, bsd-misc.c in the 201502012312p1 snapshot and in git are the
same and the former builds (well, after defining HOST_NAME_MAX).

-- 
Herbert

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Passing full emails to lmtp

2015-02-07 Thread Hugo Osvaldo Barrera
Hi all,

I'm trying to get a rather complicated setup, with several domains, some
catch-alls, etc.

I've done most of the complicated bits, but I'm trying to replace my mda with
lmtp.

I pretty much need to pass the entire address to the lmtp (since the same user
might exist on several domains), but I haven't been able to do that. My main
issue is that when using virtuals, I end up having circular loops.

  virtual { @ = u...@domain.com }

Is there some way to make smtpd avoid mapping more than once, and avoid that
loop?

Otherwise, is there some other possible setup by which the RCPT passed to the
lmtp service is the whole email of the recipient?

Thanks,

-- 
Hugo Osvaldo Barrera
A: Because we read from top to bottom, left to right.
Q: Why should I start my reply below the quoted text?


pgpirvrPo3kCL.pgp
Description: PGP signature


Lavabit like encryption with OpenSMTPD

2015-02-07 Thread junying

Hi Gilles,

Sorry for my ignorance but I noticed that in smtpd.conf(5) that there is 
queue encryption which encrypts envelopes and messages. Can this be 
similar in anyway to what Lavabit used to do with end to end encryption 
with emails?


Regards
Junying

--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Lavabit like encryption with OpenSMTPD

2015-02-07 Thread Jason Barbier
No that particular function is to ensure the envelopes in the mail queue
are encrypted. It gets decrypted upon delivery. Lavabit stored it in the
database encrypted also.

-- 
  Jason Barbier
  jab...@serversave.us

On Sat, Feb 7, 2015, at 05:33 PM, junying wrote:
 Hi Gilles,
 
 Sorry for my ignorance but I noticed that in smtpd.conf(5) that there is 
 queue encryption which encrypts envelopes and messages. Can this be 
 similar in anyway to what Lavabit used to do with end to end encryption 
 with emails?
 
 Regards
 Junying
 
 -- 
 You received this mail because you are subscribed to misc@opensmtpd.org
 To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
 

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org