Yes I did read it. I am new to Linux/Unix and am not familiar with scripting so I don't know how to extract just a list of domain names from the output. Thought someone here would have already done it...
Thank you for the help. Todd ----- Original Message ----- From: "Len Conrad" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, September 20, 2006 6:17 AM Subject: [IMGate] Re: Exporting imail domains > >>I didn't see a reply on this. Anyone know how to export the list of >>domains >>automatically from IMail to a formatted file that I can use as a >>transport.map?. > > Did you read the README? it points you to here: > > http://www.smartbusiness.com/imail/ > >>I have the IMail users exporting to my postfix box and it works great. >>Just >>not sure how to strip it down to just the domains. > > cut -d "@" -f < infile > outfile > > ... will transform [EMAIL PROTECTED] into domain.tld > > echo [EMAIL PROTECTED] | cut -d "@" -f2 > domain.tld > > Len > > > > >
