SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
RHEL6 mail savegroup notifications
Author Message
Post RHEL6 mail savegroup notifications 
Hello,

I have a RHEL 6.1 server that is sending savegroup notifications as
attachments (subject.dat file) and not in the body of a message.

I tested at the command line and was able to resolve the issue by
adding "set encode 7bit" to /etc/mail.rc, so now any ASCII encoded
files show up as the message body, however the NetWorker notifications
are still coming in as attachments.

I know I'm missing something obvious...any hints?

Thanks!
-Eugene


via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

View user's profile Send private message
Post RHEL6 mail savegroup notifications 
In regard to: [Networker] RHEL6 mail savegroup notifications, Eugene...:

I have a RHEL 6.1 server that is sending savegroup notifications as
attachments (subject.dat file) and not in the body of a message.

Interesting. I've not seen that before. One of our two NetWorker servers
is RHEL 6.1, the other is 5.7 now and will be 6.1 by the end of the week.

What's the command that's being run, as part of the notification?

Tim
--
Tim Mooney Tim.Mooney < at > ndsu.edu
Enterprise Computing & Infrastructure 701-231-1076 (Voice)
Room 242-J6, IACC Building 701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

View user's profile Send private message
Post RHEL6 mail savegroup notifications 
On Mon, Nov 7, 2011 at 11:07 AM, Tim Mooney <Tim.Mooney < at > ndsu.edu> wrote:

What's the command that's being run, as part of the notification?

Tim

For 6.1 Savegroup notification, it is
/bin/mail -s "[backups] servers's savegroup completion" backups

For 5.7,
/bin/mail -s "[BACKUPS] servers's savegroup completion" backups

RHEL6 has replaced mail with mailx it appears?


via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

View user's profile Send private message
Post RHEL6 mail savegroup notifications 
In regard to: Re: [Networker] RHEL6 mail savegroup notifications, Eugene...:

On Mon, Nov 7, 2011 at 11:07 AM, Tim Mooney <Tim.Mooney < at > ndsu.edu> wrote:

What's the command that's being run, as part of the notification?

Tim

For 6.1 Savegroup notification, it is
/bin/mail -s "[backups] servers's savegroup completion" backups

For 5.7,
/bin/mail -s "[BACKUPS] servers's savegroup completion" backups

That's more or less what we have too.

RHEL6 has replaced mail with mailx it appears?

They're both part of the same package, but mailx does look to be the
preferred name to use. I haven't changed any of our notifications to
use the preferred path, it's still called via /bin/mail on both systems.

Our RHEL 6.1 install was very minimal, it was only after I brought up
Networker that I noticed that mailx (and rpcbind) packages didn't get
installed.

I haven't experienced the issue with attachments that you're describing.
It could be something different between the type of savesets you're doing
vs. what we're doing. Only our smaller server has been moved to RHEL 6.1
so far, so perhaps I'll run into the same issue later when I move our
main server.

I assume you used the default "lang" when you set the box up? What does

cat /etc/sysconfig/i18n

report?

Tim
--
Tim Mooney Tim.Mooney < at > ndsu.edu
Enterprise Computing & Infrastructure 701-231-1076 (Voice)
Room 242-J6, IACC Building 701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

View user's profile Send private message
Post RHEL6 mail savegroup notifications 
On Mon, Nov 7, 2011 at 11:30 AM, Tim Mooney <Tim.Mooney < at > ndsu.edu> wrote:
 cat /etc/sysconfig/i18n

LANG="en_US.UTF-8"


my mail.rc variables on 6.1:


7bit
append
ask
autocollapse
bsdcompat
crt
dot
emptybox
encode
header
hold
indentprefix >
interactive
keep
newmail nopoll
quote
save
sendcharsets iso-8859-1,utf-8
showname
showto
ttycharset UTF-8


Under 5.7:

append
ask
askcc
crt
dot
interactive
save

Thanks,
Eugene


via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

View user's profile Send private message
Post RHEL6 mail savegroup notifications 
On 11/7/11 11:31 AM, Eugene Vilensky wrote:
Hello,

I have a RHEL 6.1 server that is sending savegroup notifications as
attachments (subject.dat file) and not in the body of a message.


Eugene,

The biggest issue with the version of mailx that is included in RHEL 6.x is that it arbitrarily
converts text into attachments if it determines that there is anything that is not printable
ascii included in the file. Sadly, there is no way to disable that "feature" and I have been
struggling with finding the random control characters that get included so I can nuke them with
tr commands before mailx sees the data stream (to get it to send clear text).

Sadly, this falls into the area of NetWorker doesn't really work completely with RHEL6, yet.
Just like the chkconfig -add for the networker startup script is not done as part of the
install on RHEL6 systems, you have to do that by hand right now.

--
Frank Swasey | http://www.uvm.edu/~fcs
Sr Systems Administrator | Always remember: You are UNIQUE,
University of Vermont | just like everyone else.
"I am not young enough to know everything." - Oscar Wilde (1854-1900)


via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

Post RHEL6 mail savegroup notifications 
On Mon, Nov 7, 2011 at 12:32 PM, Francis Swasey <Frank.Swasey < at > uvm.edu> wrote:
The biggest issue with the version of mailx that is included in RHEL 6.x is that it arbitrarily
converts text into attachments if it determines that there is anything that is not printable
ascii included in the file.  Sadly, there is no way to disable that "feature" and I have been
struggling with finding the random control characters that get included so I can nuke them with
tr commands before mailx sees the data stream (to get it to send clear text).

yum --localinstall didn't raise any dependency flags uninstalling
mailx-12.4-6.el6.x86_64 and installing mailx-8.1.1-44.2.2.x86_64.rpm.
Seems to be doing what I need it to do. Smile

Thanks for the tip Frank.


via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

View user's profile Send private message
Post RHEL6 mail savegroup notifications 
On 11/7/11 2:02 PM, Eugene Vilensky wrote:
On Mon, Nov 7, 2011 at 12:32 PM, Francis Swasey <Frank.Swasey < at > uvm.edu> wrote:
The biggest issue with the version of mailx that is included in RHEL 6.x is that it arbitrarily
converts text into attachments if it determines that there is anything that is not printable
ascii included in the file. Sadly, there is no way to disable that "feature" and I have been
struggling with finding the random control characters that get included so I can nuke them with
tr commands before mailx sees the data stream (to get it to send clear text).
yum --localinstall didn't raise any dependency flags uninstalling
mailx-12.4-6.el6.x86_64 and installing mailx-8.1.1-44.2.2.x86_64.rpm.
Seems to be doing what I need it to do. Smile

Thanks for the tip Frank.



You're welcome, but I don't think I was really advocating that you install the version of mailx
from RHEL5 Wink

--
Frank Swasey | http://www.uvm.edu/~fcs
Sr Systems Administrator | Always remember: You are UNIQUE,
University of Vermont | just like everyone else.
"I am not young enough to know everything." - Oscar Wilde (1854-1900)


via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB