Sponsored Content
Special Forums Windows & DOS: Issues & Discussions email from *nix to Exchange - text formatting issue Post 302690847 by jim mcnamara on Thursday 23rd of August 2012 12:31:30 PM
Old 08-23-2012
We frequently see our exchange server try to dink with carriage control in messages from unix. A common exchange notification when you open the message is:

"extra line breaks in this message were removed" in a blue band at the email head.
Clicking on the band resores the "extra" line breaks.

and we have lines that were separate globbed together by exchange, just like in your example. This appears to be your problem, too. We get arround it:

Code:
# note we add .txt so windows can open the file with word
unix2dos logfile logfile.txt
uuencode logfile.txt logfile.txt | mail -s 'subject'  who@where.com

Exchange does not mess with those attachments.

More of a UNIX-side solution
This User Gave Thanks to jim mcnamara For This Post:
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Email formatting

ok, does anyone know how i can strip out fields i dont want from a mail spool file (eg: /var/mail/usermailbox) and dump to standard output (or file with > filename) ?? i tried using a bunch of grep -v 's but i realized that has two main problems, first of all, if anyone types the text im grepping... (6 Replies)
Discussion started by: norsk hedensk
6 Replies

2. UNIX for Dummies Questions & Answers

Send email using Exchange as SMTP

Hi. I have a Tru64 Unix V5.1 server that I would like to send emails using an exchange server we have on the same network as the smtp of this machine. What are the requirements/configuration that I need to do in order to make this possible. We are planning on emailing error messages and such from... (2 Replies)
Discussion started by: fidodido
2 Replies

3. Solaris

Send email from solaris to exchange

Can i send e-mail from solaris to exchange?How can i configure the solaris?thks. (1 Reply)
Discussion started by: jowvid
1 Replies

4. AIX

aix email integration with exchange

Hi All, I realized now that the root email is integrated with exchange. All the email of root is now being sent also to the aliases of aixadmin or to my email. I would like to know how is AIX integrated to exchange. What would be modified on AIX? Probably modify these files: /etc/hosts,... (0 Replies)
Discussion started by: itik
0 Replies

5. Shell Programming and Scripting

Send email from sendmail on AIX using exchange server as SMTP server

i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies

6. AIX

Enable send email through smtp - exchange on AIX 6.1

Please help, i can not to send email from AIX 6.1 to outside network through STMP - Exchange. Any one can help ? (1 Reply)
Discussion started by: ichsan
1 Replies

7. UNIX for Dummies Questions & Answers

Formatting The Email Output

Hello All, When i use the single quotes around the variables i am getting each line in the array as seperate in the email as shown in code2 & output2. But i don't want those single quotes to be printed but each array element should be printed as seperate line as when i remove those single quotes... (1 Reply)
Discussion started by: Ariean
1 Replies

8. Linux

Exchange Email Client for Linux

About 5 years ago I used to use Evolution for its ability to interact with my companies Exchange 2003 server. I was wondering what Exchange compliant email clients you are actually using with either Exchange 2007 or 2010? FYI I've tried Thunderbird and it just sucks. (5 Replies)
Discussion started by: binary-ninja
5 Replies

9. UNIX for Dummies Questions & Answers

Email formatting gets disturbed because of screen resolution

Hi friends, I have written a shell script which send a report to email address everyday. The report is generated on UNIX server every day, Generated report is sent to 25 users through cron. All 25 users have set different screen resolution for their monitor. The email looks wel formatted for... (4 Replies)
Discussion started by: Nakul_sh
4 Replies
RHNREG_KS(8)						    Red Hat Linux System Manual 					      RHNREG_KS(8)

NAME
rhnreg_ks - a program for non interactively registering systems to Red Hat Network SYNOPSIS
rhnreg_ks [OPTION]... [PACKAGE NAME]... DESCRIPTION
rhnreg_ks is a utility for registering a system with the Red Hat Network. It is designed to be used in a non-interactive enviroment (a kickstart style install, for example). All the information can be specified on the commandline or stdin. --profilename Specify the profilename that should be used as an identifier for the system in Red Hat Network --username The username to register the system with under Red Hat Network. This can be an existing Red Hat Network username, or a new username. --password The password associated with the username specified with the --username option. This is an unencrypted password. --orgid Specify an organizational id of the org to register this system under. This is optional, and only used if registered a system to an existing Red Hat Network organization. --orgpassword The password assocated with the orgig specified with the --orgid option. This is an unencrypted password. --email The email address associated with the username specified iwth the --username option. --serialnumber Specify a servial number to associate with the system. This is optional, and only useful when combined with an orgid. --contactinfo Read contact info from standard in. The format is one entry per line, colon seperated. Valid options are reg_num, title, first_name, last_name, company, position, address1, address2, city, state, zip, country, phone, fax, contact_email, contact_mail, contact_phone, contact_fax, contact_special, contact_newsletter. --nohardware Do not probe or upload any hardware information. --nopackages Do not profile or upload any package information. --force Register the system even if it has already been registered. --version Show the version fo rhnreg_ks --proxy Specify a http proxy to use. FILES
/etc/sysconfig/rhn/up2date Configuration settings for up2date and rhnreg_ks /usr/share/rhn/RHNS-CA-CERT The ssl certificate authority file used by rhnreg_ks to validate the Red Hat Network ssl servers. EXAMPLES
The following registers a new system to Red Hat Network. rhnreg_ks --profilename "example_profile_name" --username "someexampleuser@example.com" --password "foobar" The following examples registers a new system to Red Hat Network including contact info. rhnreg_ks --profilename "example_profile_name" --username "someexampleuser@example.com" --password "foobar" --contactinfo < contactinfo where the file "contactinfo" contains data in the format: first_name: Billy last_name: Bob company: SomeCompanyName city: Springfield fax: 555-5555 phone: 555-5555 SEE ALSO
Configuration can be done via up2date --configure. rhnreg_ks is used to register a system to Red Hat Network. Visit <http://rhn.red- hat.com> for access or to sign up. You can also run up2date to register a system with Red Hat Network. Authors Written by Adrian Likins <alikins@redhat.com> REPORTING BUGS
Report bugs to <http://bugzilla.redhat.com>. COPYRIGHT
Copyright (C) 1999-2002 Red Hat, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. 4th Berkeley Distribution Wed 10 April 2002 RHNREG_KS(8)
All times are GMT -4. The time now is 03:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy