Mailall.exe questions

To the Ipswitch web site

Ipswitch Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Mailall.exe questionsExpand / Collapse
Author
Message
Posted 7/27/2004 6:47:15 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior 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.

Post #422
Posted 7/28/2004 9:35:52 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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.
Post #433
Posted 8/6/2004 3:51:16 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior 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.

Post #639
Posted 8/8/2004 1:36:03 AM
Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime 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/

Post #660
Posted 8/11/2004 11:39:59 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior 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?

Post #718
Posted 8/11/2004 11:45:54 AM
Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime 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/

Post #719
Posted 8/11/2004 11:55:07 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior 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.

Post #720
Posted 8/11/2004 12:08:51 PM
Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime 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/

Post #722
Posted 8/11/2004 12:30:22 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior 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.

Post #726
« Prev Topic | Next Topic »