> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Dan Horne
> Sent: Monday, May 08, 2006 6:17 AM
> To: [email protected]
> Subject: [IMGate] Re: Exporting users from Imail or SmarterMail and
> putting them to the Imgate box
> 
> I just wanted to make a note here, since it is my script that is doing
> this.  We have never modified the relay_recipients.map file manually on
> the postfix server, so I had never seen these.  I opened the file using
> FreeBSD's "edit" command and I did see all these ^M's you refer to.
> However, postfix has never complained nor errored using this file, so
> removing them seems to be purely cosmetic.=20
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Ed Lucero
> > Sent: Friday, May 05, 2006 7:22 PM
> > To: [email protected]
> > Subject: [IMGate] Re: Exporting users from Imail or=20
> > SmarterMail and putting them to the Imgate box
> >=20
> >=20
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]
> > > On Behalf Of Michael Keen
> > > Sent: Thursday, May 04, 2006 5:21 PM
> > > To: [email protected]
> > > Subject: [IMGate] Re: Exporting users from Imail or SmarterMail and=20
> > > putting them to the Imgate box
> > >=20
> > > Thanks Len and NB,
> > >=20
> > > The tr command did the trick for removing the ^M's from the file.
> > >=20
> > > I was able to use the scheduler service and the AT command=20
> > on NT along=20
> > > with the cron facility on FreeBSD to accomplish all of the=20
> > scheduling=20
> > > tasks.
> > >=20
> > > Seems to be working perfectly.
> > >=20
> > > Thanks again.
> > >=20
> > > Sincerely,
> > >=20
> > > Michael Keen
> > > President
> > > [EMAIL PROTECTED]
> > > http://www.inksite.com
> > > 973-633-1786
> >=20
> > Since your using FreeBSD you can also install the port "unix2dos"
> >=20
> > This gives you two utilities to remove and add the ctrl-M's
> >=20
> > To remove the ctrl-M's=20
> >=20
> > dos2unix foo.txt
> >=20
> > To add the ctrl-M's
> >=20
> > unix2dos foo.txt
> >=20
> > Ed
> >=20
> >=20
> >=20
> >=20
> 
> CONFIDENTIALITY NOTICE:
> This email message, including any attachments, is for the sole use of =
> the intended recipient(s) and may contain confidential and privileged =
> information. Any unauthorized review, use, disclosure or distribution is =
> prohibited. If you are not the intended recipient, please contact the =
> sender by reply email and destroy all copies of the original message.
> =20
> SPAM-FREE 1.0(2476)
> 
> 

Yes. Unix and postfix has no problems with the ctrl-M's.

More often moving unix files to windows is problematic because of the unix
new lines "\n". When viewing these files on windows using notepad, notepad
does not know the \n is the end of the line. Using the unix2dos utility
replaces the \n with ctrl-M's.

Ed


Reply via email to