Given the following file

# 10-Mar-2025 22:44:02 - BackupCatalog.2025-03-10_21.10.00_20 - Full
Volume="Full-0387"
MediaType="File"
VolSessionId=196
VolSessionTime=1740423781
VolAddr=211-615837750
FileIndex=1-124

If you pipe it to bsmtp the first newline is strip in the email body 
resulting in

# 10-Mar-2025 22:44:02 - BackupCatalog.2025-03-10_21.10.00_20 - Full 
Volume="Full-0387"
MediaType="File"
VolSessionId=196
VolSessionTime=1740423781
VolAddr=211-615837750
FileIndex=1-124

Is this expected? Seams odd to modify the input at all.

I have a script that uses tee to send the bootstrap to both a file and 
bsmtp and they contents do not match. 

I can manually correct if I ever need the emailed bootstrap but it feels 
wrong.

 

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bareos-users/bf9c6037-165a-4e5d-9277-f877409b9adfn%40googlegroups.com.

Reply via email to