Bacula-users

[Bacula-users] csmtp hangs when it should send the msg

2016-08-13 15:39:21
Subject: [Bacula-users] csmtp hangs when it should send the msg
From: philhu <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Sat, 13 Aug 2016 12:37:59 -0700
While trying to use bsmtp on a freenas system, jail.  It seems to get to the 
postfix smtp server correctly, but hangs at the point of sending the data and 
ending.  I am trying to hand run it to see the error, and it looks like bsmtp 
problem. I did not have any problems on a centos bacula box.  I have now 
switched over to a free nas system, running bacula in a jail.

See this debug output:
root@Jail_Bacula:/NFS/data/public # /usr/sbin/bsmtp-hold -h vmcentos6.home -d 
100 -f "Bacula <bacula AT isone DOT biz>" -s "Test subj" phil AT isne DOT biz   
  
bsmtp: bsmtp.c:312-0 Debug level = 100
bsmtp: bsmtp.c:330-0 subject=Test subj
bsmtp: bsmtp.c:406-0 My hostname is: Jail_Bacula
bsmtp: bsmtp.c:430-0 From addr=Bacula <bacula AT isone DOT biz>
bsmtp: bsmtp.c:110-0 Calling fgets on read socket rfp.
vmcentos6.home <-- 220 vmcentos6.isone.biz ESMTP Postfix
bsmtp: bsmtp.c:120-0 vmcentos6.home --> 220 vmcentos6.isone.biz ESMTP Postfix
Jail_Bacula --> HELO Jail_Bacula
bsmtp: bsmtp.c:110-0 Calling fgets on read socket rfp.
vmcentos6.home <-- 250 vmcentos6.isone.biz
bsmtp: bsmtp.c:120-0 vmcentos6.home --> 250 vmcentos6.isone.biz
bsmtp: bsmtp.c:99-0 cleanup in=Bacula <bacula AT isne DOT biz> out=<bacula AT 
isne DOT biz>
Jail_Bacula --> MAIL FROM:<bacula AT isne DOT biz>
bsmtp: bsmtp.c:110-0 Calling fgets on read socket rfp.
vmcentos6.home <-- 250 2.1.0 Ok
bsmtp: bsmtp.c:120-0 vmcentos6.home --> 250 2.1.0 Ok
bsmtp: bsmtp.c:573-0 rcpt to: phil AT isne DOT biz
bsmtp: bsmtp.c:99-0 cleanup in=phil AT isne DOT biz out=<phil AT isne DOT biz>
Jail_Bacula --> RCPT TO:<phil AT isne DOT biz>
bsmtp: bsmtp.c:110-0 Calling fgets on read socket rfp.
vmcentos6.home <-- 250 2.1.5 Ok
bsmtp: bsmtp.c:120-0 vmcentos6.home --> 250 2.1.5 Ok
bsmtp: bsmtp.c:580-0 Data
Jail_Bacula --> DATA
bsmtp: bsmtp.c:110-0 Calling fgets on read socket rfp.
vmcentos6.home <-- 354 End data with <CR><LF>.<CR><LF>
bsmtp: bsmtp.c:120-0 vmcentos6.home --> 354 End data with <CR><LF>.<CR><LF>
bsmtp: bsmtp.c:587-0 From: Bacula <bacula AT isone DOT biz>
bsmtp: bsmtp.c:590-0 Subject: Test subj
bsmtp: bsmtp.c:618-0 Sender: root@Jail_Bacula
bsmtp: bsmtp.c:623-0 To: [email protected]: bsmtp.c:630-0 
bsmtp: bsmtp.c:643-0 Date: Sat, 13 Aug 2016 15:32:49 -0400 (EDT)

It stops there, I can hit a ctrl/d there to end it and the postfix system hangs 
up and returns the mail job id, but bsmtp doesn't seem to end the connection 
correctly on its own.

+----------------------------------------------------------------------
|This was sent by phil AT isone DOT biz via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] csmtp hangs when it should send the msg, philhu <=