Displaying 4 results from an estimated 4 matches for "msg_fail".
2018 Mar 22
2
lmtp service timeouting even after receiving full message
I have a problem with some messages passed from exim to dovecot lmtp service:
From exim debug:
using socket /var/run/dovecot/lmtp
LMTP<< 220 mbox8 ready
2009 May 04
3
[RFC][PATCH] poweroff COMBOOT module
...r
+
+apm0101_check:
+ cmp cx,0101h ; APM Connection version
+ jae apm0101_ok
+
+ mov bx, msg_notsup
+ jmp error
+
+apm0101_ok:
+ mov ax,5307h ; Set Power State (07h)
+ mov bx,0001h ; All devices power managed by the APM BIOS
+ mov cx,0003h ; Power state off
+ int 15h
+ jnc off
+
+ mov bx, msg_failed
+
+error:
+ mov ax,2
+ int 22h
+off:
+ ret
+
+msg_notpresent: db 'APM not present.',0dh,0ah,0
+msg_notsup: db 'APM 1.1+ not supported.',0dh,0ah,0
+msg_pmdisabled: db 'Power management disabled.',0dh,0ah,0
+msg_connect: db 'APM RM interface connect failed.',0dh,0...
2018 Mar 23
0
lmtp service timeouting even after receiving full message
...;)
c.send(b"MAIL FROM:<someone at example.com>\r\n")
print(c.recv(1024))
print("RCPT TO")
c.send(b"RCPT TO:<arekm at example.com>\r\n")
print(c.recv(1024))
print("DATA")
c.send(b"DATA\r\n")
print(c.recv(1024))
print("body...")
msg_fail = b"testtest<br></span></div>.\n"
msg_ok = b"01, 41.82, 30.14\r\n.\n"
#c.send(msg_ok)...
2018 Mar 23
2
lmtp service timeouting even after receiving full message
....com>\r\n")
> print(c.recv(1024))
> print("RCPT TO")
> c.send(b"RCPT TO:<arekm at example.com>\r\n")
> print(c.recv(1024))
> print("DATA")
> c.send(b"DATA\r\n")
> print(c.recv(1024))
> print("body...")
>
> msg_fail = b"testtest<br></span></div>.\n"
> msg_ok = b"01, 41.82, 30.14\r\n.\n"
>
> #c.send(msg_ok)...