Thanks Dan!

This will be my first experience with FreeBSD (or any *nix, for that matter), so it should be a real adventure.

-d


----- Original Message ----- From: "Dan Horne" <[EMAIL PROTECTED]>
To: <Declude.JunkMail@declude.com>
Sent: Monday, January 10, 2005 8:18 AM
Subject: RE: [Declude.JunkMail] IMail export users/aliases -> IMGate?



I posted this to the IMGate list last week to a similar request:

I use this batch file on my Imail server to create the file, then ftp it
over to my IMGate box, scheduled once per hour.  It requires unxutils.

----Start syncIMGate.bat-------
rem   Make sure we're in the right directory.
m:
cd \Imail\ScheduledTasks

rem   Run ImailUsers.exe to create the list of recips.
ImailUsers.exe

rem   Use sed to put the OK at the end of each line
sed "s/$/     OK/" imailusers.txt >relay_recipients_unsorted.txt

rem   Sort the list
sort relay_recipients_unsorted.txt >relay_recipients_sorted.txt

rem   Make sure there are no duplicates
uniq -i relay_recipients_sorted.txt > relay_recipients.map

rem   FTP the file over to IMGate using the separate
rem   script file "syncIMGate.txt" for the ftp commands
ftp -s:syncIMGate.txt

rem   Remove the temporary files
del relay_recipients_unsorted.txt
del relay_recipients_sorted.txt

exit
----End syncIMGate.bat-------


The following is the ftp command script to send the file to IMGate. Replace
"USERNAME" with the appropriate username and "PASSWORD" with the pw.
Replace imgate.yourdomain.net with your IMGate host name or IP.
----Start syncIMGate.txt-------
open imgate.yourdomain.net
USERNAME
PASSWORD
cd /etc/postfix
lcd M:\Imail\ScheduledTasks
put relay_recipients.map
quit
----End syncIMGate.txt-------



Then just add a line like: 05 */1 * * * root postmap /etc/postfix/*.map to your crontab to run postmap once per hour (I have it scheduled for 5 minutes after the Imail job).

HTH

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Doherty
Sent: Saturday, January 08, 2005 1:49 AM
To: Declude.JunkMail@declude.com
Subject: Re: [Declude.JunkMail] IMail export users/aliases -> IMGate?

Thanks, Sandy.

-d


----- Original Message ----- From: "Sanford Whiteman" <[EMAIL PROTECTED]> To: "Dave Doherty" <Declude.JunkMail@declude.com> Sent: Saturday, January 08, 2005 1:43 AM Subject: Re: [Declude.JunkMail] IMail export users/aliases -> IMGate?


I'm looking for a way to export IMail users and aliases to an IMGate
cache  server  so  the IMGate can throw 550 errors on bad addresses.
All help appreciated...

There's a utility to do so provided by an IMGate user. Poke around their site and mailing list and you'll turn it up.

--Sandy



------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
e-mail: [EMAIL PROTECTED]

SpamAssassin plugs into Declude!


http://www.mailmage.com/products/software/freeutils/SPAMC32/download/release
/

Defuse Dictionary Attacks: Turn Exchange or IMail mailboxes into IMail Aliases!


http://www.mailmage.com/products/software/freeutils/exchange2aliases/downloa
d/release/


http://www.mailmage.com/products/software/freeutils/ldap2aliases/download/re
lease/

--- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]

---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.




---
[This E-mail was scanned for viruses by Declude Virus
(http://www.declude.com)]

---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.


---
[This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]


---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.




---
[This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]

---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.

Reply via email to