| | |
Junior Member
       
Group: Forum Members Last Login: 1/19/2007 5:09:00 PM Posts: 14, Visits: 1 |
| On my Imail server I have 2 domains. domain1.com domain2.com I have setup a Program Alias named everybody in my domain1.com under the IMail Administrator as so: everybody = C:\IMail\MailAll.exe -h ALL -d Now when I email to everybody@domain1.com everyone in domain1.com gets the email twice. And everyone in domain2.com get's it only once. How do I stop the double email from happening? Or is there a better way to do this? I'm a newbie at admin'ing imail so please excuse me. |
|
| | |
Forum Newbie
       
Group: Forum Members Last Login: 8/5/2004 3:57:00 PM Posts: 3, Visits: 1 |
| | I followed the MailAll.exe explanation right out of the IMAIL manual and you don't have to set up an alias to send out to everyone. I send out my mail to everyone via the msconfig file line they provide. Hence, I don't get two of everything at any domain because I didn't set up an alias. |
|
| | |
Junior Member
       
Group: Forum Members Last Login: 1/19/2007 5:09:00 PM Posts: 14, Visits: 1 |
| If you are refering to: http://www.ipswitch.com/support/IMail/guide/imailug8.1/Chapter%2021%20cmd_line8.html it says to setup an alias by: Alias1=|mailall -h myname -d The preceding example creates a program alias that is used to send mail to all users on the myname host. Then, you can send a message to Alias1@myname.com, and it will go to everyone on the myname host. Where do I put this? I know it dosen't work from the cmd line. It dosen't tell you where to put that command. Is there a file you put this in? Sorry, but it's not obvious to a newbie like me. |
|
| | |
Time Traveler
       
Group: Forum Members Last Login: 6/15/2005 1:07:00 AM Posts: 217, Visits: 1 |
| The manual is referring (clumsily) to setting up a program alias (New-Alias-Program Alias) with mailall -h myname -d as the target. --Sandy
------------------------------------ Sanford Whiteman, Chief Technologist Broadleaf Systems, a division of Cypress Integrated Systems, Inc. Defuse Dictionary Attacks: Turn Remote Mailboxes into Aliases on your IMail MX! http://www.imprimia.com/products/software/freeutils/ldap2aliases/download/release/ |
|
| | |
Junior Member
       
Group: Forum Members Last Login: 1/19/2007 5:09:00 PM Posts: 14, Visits: 1 |
| Again, maybe I'm not getting something. Let me clarify... I have 2 domains on my Imail server: domain1.com domain2.com I want to setup an account named all for both domains so that if I email all@domain1.com everyone in the domain1.com will get an email. I would like to be able to email all@domain2.com so that everyone in the domain2.com domain gets the email. I do not want to use a text file for this. I have several users on my network who need this simplified so they can type all@domain1.com in their email client and it automatically send it to everyone in that domain. I'm sorry, but what am I missing? Is this even possible? Please help me with detailed instructions because I'm new at this. Can I create a permanent alias for this? |
|
| | |
Time Traveler
       
Group: Forum Members Last Login: 6/15/2005 1:07:00 AM Posts: 217, Visits: 1 |
| Like I said, you create a program alias... mailall -h mail.example.com -d
...in each virtual host mail.example.com. --Sandy
------------------------------------ Sanford Whiteman, Chief Technologist Broadleaf Systems, a division of Cypress Integrated Systems, Inc. Defuse Dictionary Attacks: Turn Remote Mailboxes into Aliases on your IMail MX! http://www.imprimia.com/products/software/freeutils/ldap2aliases/download/release/ |
|
| | |
Junior Member
       
Group: Forum Members Last Login: 1/19/2007 5:09:00 PM Posts: 14, Visits: 1 |
| From the command line: C:\>mailall -h mydomain.com -d Invalid syntax: No filename specified Ipswitch (R) IMail Mass Mail Utility - Version 7.10 Copyright (C) Ipswitch, Inc. 1998-2001. All rights reserved. Usage: mailall -h <hostname | ALL> -f <sender> -d //Delete message file when complete [-s <Subject>] <FullPathToMessageFile> To protect myself I have changed "mydomain.com" to my real domain. Please advise. |
|
| | |
Time Traveler
       
Group: Forum Members Last Login: 6/15/2005 1:07:00 AM Posts: 217, Visits: 1 |
| The message file will be the final argument on the command line when the program alias is called. You didn't put in a file path, so you're not testing it as it will run in the real environment. Is there some reason that you don't trust that this will work? The setup has been used by many admins for many years. You can readily test it on a dummy domain. --Sandy
------------------------------------ Sanford Whiteman, Chief Technologist Broadleaf Systems, a division of Cypress Integrated Systems, Inc. Defuse Dictionary Attacks: Turn Remote Mailboxes into Aliases on your IMail MX! http://www.imprimia.com/products/software/freeutils/ldap2aliases/download/release/ |
|
| | |
Junior Member
       
Group: Forum Members Last Login: 1/19/2007 5:09:00 PM Posts: 14, Visits: 1 |
| After some messing with it I realized that you had to do this all from within the IMail Administrator interface.
I'm not all that familiar with the Administrator interface, and that is where I was getting caught up. Here are the steps: 1) Open the IMail Administrator interface 2) Expand the domain you want to add the alias to 3) Right click on the "Aliases" folder and choose Add Alias 4) Type in the name of the alias you want to add. (In my case mine is all) 5) Click Next 6) Choose the Program radio button 7) Click Next 8) In the "Program name and Arguments" field add the following: mailall -h domain.com -d Where domain.com will be the name of the domain you are creating the alias in. 9)Click Finish
To test the new alias you simply type up an email and send it to: all@domain.com P.S. -- I added the folder containing the mailall executable to my system's path so I wouldn't have to put in the whole path while I was working with it. |
|
|