Mailman in OS X Server (10.8)?

What happened to Mailman and how can I get it's functionality back into OS X Server?

Mailman has been removed, but it's possible to get it back. Check out this guide:
http://www.livetime.com/mountain-lion-mailman-mailing-list/

Similar Messages

  • Another Mailman and virtual domains problem... mailbox does not exist

    Hi,
    this is yet another thread about virtual domain mailinglist with mailman.
    To sum up:
    - OpenDirectory account "[email protected]" -> mail delivered
    - Deleting this account and creating a mailing-list "test11", opening the admin interface to change the host "server.domain.com" (which is the primary host of the machine, so each mailinglist is created with this host) and replacing it with "virtualdomain.com"
    - sending an email to "[email protected]" -> following error:
    Jan 18 14:12:23 server postfix/qmgr[74872]: 698E5BF735: from=<[email protected]>, size=691, nrcpt=1 (queue active)
    Jan 18 14:12:23 server postfix/pipe[74882]: 698E5BF735: to=<[email protected]>, orig_to=<[email protected]>, relay=cyrus, delay=0.28, delays=0.14/0.01/0/0.13, dsn=5.6.0, status=bounced (data format error. Command output: test11: Mailbox does not exist )
    - adding back the OD account "[email protected]" -> mail delivered to inbox (not to mailing-list recipients)
    - now if i delete the mailinglist in Server Admin then send an email to "[email protected]" -> following error (seems obvious):
    Jan 18 13:18:49 server postfix/lmtp[74275]: A9B7CBF45F: to=<[email protected]>, relay=server.domain.com[/var/imap/socket/lmtp], delay=0.16, delays=0.13/0/0/0.03, dsn=5.1.1, status=bounced (host server.domain.com[/var/imap/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command))
    IOW, it looks like somehow the mailinglist aliases are being lost somewhere.
    Postfix forgets to delivers the incomming mails to Mailman, doesn't it? According to lots of forum searchs it could be forced by using one of those two commands:
    sudo /usr/sbin/postalias
    sudo /usr/sbin/postmap
    Unfortunately I dont know how they work precisely and can't find X.5 accurate information so I hope you can guide me through this step.
    Also I don't know how to track the incomming mails at the moment they are dispatched to either an OD account (so it's delivered or generates the 550 error) or a Mailman list (so it's looking for aliases and so on).
    Any help will be appreciated.
    Config:
    - in /etc/postfix/main.cf
    virtual_transport = lmtp:unix:/var/imap/socket/lmtp
    virtualmailboxdomains = hash:/etc/postfix/virtual_domains
    alias_maps = hash:/etc/aliases,hash:/var/mailman/data/virtual-mailman
    virtualaliasmaps = hash:/etc/aliases,hash:/var/mailman/data/virtual-mailman
    - in /etc/postfix/virtual_domains
    virtualdomain.com allow
    - in /var/mailman/data/virtual-mailman
    # LOOP ADDRESSES START
    [email protected] mailman-loop
    # LOOP ADDRESSES END
    # STANZA START: test11
    # CREATED: Sun Jan 18 13:55:03 2009
    [email protected] test11
    [email protected] test11-admin
    [email protected] test11-bounces
    [email protected] test11-confirm
    [email protected] test11-join
    [email protected] test11-leave
    [email protected] test11-owner
    [email protected] test11-request
    [email protected] test11-subscribe
    [email protected] test11-unsubscribe
    # STANZA END: test11
    - in /var/mailman/data/aliases
    # The ultimate loop stopper address
    mailman-loop: /private/var/mailman/data/owner-bounces.mbox
    # STANZA START: mailman
    # CREATED: Sun Jan 18 14:11:53 2009
    mailman: "|/usr/share/mailman/mail/mailman post mailman"
    mailman-admin: "|/usr/share/mailman/mail/mailman admin mailman"
    mailman-bounces: "|/usr/share/mailman/mail/mailman bounces mailman"
    mailman-confirm: "|/usr/share/mailman/mail/mailman confirm mailman"
    mailman-join: "|/usr/share/mailman/mail/mailman join mailman"
    mailman-leave: "|/usr/share/mailman/mail/mailman leave mailman"
    mailman-owner: "|/usr/share/mailman/mail/mailman owner mailman"
    mailman-request: "|/usr/share/mailman/mail/mailman request mailman"
    mailman-subscribe: "|/usr/share/mailman/mail/mailman subscribe mailman"
    mailman-unsubscribe: "|/usr/share/mailman/mail/mailman unsubscribe mailman"
    # STANZA END: mailman
    # STANZA START: test11
    # CREATED: Sun Jan 18 14:11:53 2009
    test11: "|/usr/share/mailman/mail/mailman post test11"
    test11-admin: "|/usr/share/mailman/mail/mailman admin test11"
    test11-bounces: "|/usr/share/mailman/mail/mailman bounces test11"
    test11-confirm: "|/usr/share/mailman/mail/mailman confirm test11"
    test11-join: "|/usr/share/mailman/mail/mailman join test11"
    test11-leave: "|/usr/share/mailman/mail/mailman leave test11"
    test11-owner: "|/usr/share/mailman/mail/mailman owner test11"
    test11-request: "|/usr/share/mailman/mail/mailman request test11"
    test11-subscribe: "|/usr/share/mailman/mail/mailman subscribe test11"
    test11-unsubscribe: "|/usr/share/mailman/mail/mailman unsubscribe test11"
    # STANZA END: test11
    - in /usr/share/mailman/Mailman/mm_cfg.py
    MTA = 'Postfix'
    POSTFIXSTYLE_VIRTUALDOMAINS = ['virtualdomain.com','mail.virtualdomain.com']
    add_virtualhost('virtualdomain.com', 'mail.virtualdomain.com')

    I've finaly solved the problem by myself, mixing postfix-style aliases.
    Since it's quite long I wrote a tutorial, it's here:
    http://spip.ashorlivs.net/notepad/os-x/article/virtual-host-mailman-w-os-x-serve r
    Hope it can help someone else.
    Regards,
    g.
    Message was edited by: ashorlivs

  • Duplicate Mailman postings, mailman unpickling error in some conditions

    After applying the most recent Security Update to our Mac OS X Server 10.4.10 installation, we are encountering the following two problems:
    1) Each message sent to any of our Mailman-based e-mail lists appears to be sent in duplicate to each member of the list
    2) Under some conditions we encounter an "unpickling error" that from Googling around would appear to be a python error, as follows:
    Aug 03 01:22:25 2007 (7442) Uncaught runner exception: invalid load key, 'm'.
    Aug 03 01:22:25 2007 (7442) Traceback (most recent call last):
    File "/usr/share/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
    self._onefile(msg, msgdata)
    File "/usr/share/mailman/Mailman/Queue/Runner.py", line 167, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
    File "/usr/share/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
    File "/usr/share/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
    File "/usr/share/mailman/Mailman/Handlers/Moderate.py", line 109, in process
    Hold.holdforapproval(mlist, msg, msgdata, Hold.NonMemberPost)
    File "/usr/share/mailman/Mailman/Handlers/Hold.py", line 214, in holdforapproval
    id = mlist.HoldMessage(msg, reason, msgdata)
    File "/usr/share/mailman/Mailman/ListAdmin.py", line 178, in HoldMessage
    self.__opendb()
    File "/usr/share/mailman/Mailman/ListAdmin.py", line 80, in __opendb
    self.__db = cPickle.load(fp)
    UnpicklingError: invalid load key, 'm'.
    Aug 03 01:22:25 2007 (7442) SHUNTING: 1186122145.370055+f2ab5fac4a7b2dc159498a36ed5c91b5de42f490
    The condition that produced this particular error involved sending a message to the mailman list on our server.
    Any advice from anyone on either of these two problems? Is it possible that the security update left an old copy of mailman around with a different python, or is this a bug in the copy of mailman that we have in effect after the update?
    We have tried disabling and re-enabling the mailing lists under Server Admin, stopping and starting the Mail service entirely, rebooting, stopping and starting mailman using mailmanctl from the command line, stopping mailman and running the check_db and check-perms commands and then re-enabling it, all to no avail. Help would be much appreciated.

    Are you adding the list via SA or the web interface?

  • Migrating Linux users to OS X Server

    Hi,
    I'm rebuilding my whole infrastructure onto an OS X Server-based system and I want to transfer all my users and passwords over. The old system is a Linux (FreeBSD) based system. Can this be done? If so, what do I need to do?
    Thanks,
    StuG

    Perhaps what might work for you is to enable "BSD Flat file" support for authentication, see
    http://www.apple.com/server/documentation/
    specifically the "Open Directory Administration" guide (pdf)
    To be honest, you are going to have a much easier time exporting your users & groups to flat files, importing those into OS X Server's Workgroup Manager, setting a default password for all users & allowing them to change it & requiring a password change at login - very easy to do with WM but requires connecting from a Mac OS X client machine (re: changing password ability for a user).
    As far as security re: fileshare access, that gets tricky. Require all users to login (and change their pass) before you assign any users/groups for sharepoint(s) access.
    Doing this in stages will really help make it go smoother.
    For migrating files, connect to your Linux server via samba or nfs and pull the files from your Linux server to your Mac OS X Server.
    I'd also suggest (unless you -really, really- understand how the alternatives behave in Mac OS X) going with the Apple-native HFS+ Journalled file-formatting for disks on your Mac OS X Server.
    Perhaps not geared to someone of your experience, but if you're new to Mac OS X Server, you might like to read:
    John DeTroye's Tips & Tricks.
    namely,
    http://homepage.mac.com/johnd/.cv/johnd/Sites/.Public/Latest_Tips/Tiger-tips/tan dtv12.1b-tiger.pdf-zip.zip
    One hugely important tip: Mac OS X Server is especially sensitive about good DNS lookup. Make doubly, triply sure that you have working forward and reverse DNS entries for your Mac OS X Server's fqdn.
    Possibly also check in with the Apple OS X Server list, just put your hard-hat on before you do
    http://lists.apple.com/mailman/listinfo/macos-x-server
    Here's a thread now quite old, with an answer from the late but greatly respect Michael Bartosh:
    http://lists.apple.com/archives/macos-x-server/2004/Oct/thrd16.html#01534
    search that page for "Linux => OS X User Migration" and read through the short thread.
    Best of luck !

  • Email Delivery problem from Mailman to Exchange 2010 SP3 - Invalid Character Set Name in Message Subject

    Dear all,
    we have a problem in the email delivery from Mailman 2.6 List Server to Exchange 2010 SP3 CU7, 
    related to the encoding name of the Message Subject.
    The error we receive is the following:
    #550 5.6.0 CAT.InvalidContent.Exception: InvalidCharsetException, Character set name (iso8859-7) is invalid or not installed.; 
    cannot handle content of message with InternalId
    First of all, we can notice that given an encoding name as 'iso-8859-X',  it is transformed by the Mailman to 'iso8859-X' (without the first dash). 
    Our previous Exchange version ( Exchange 2003) didn't have any problem with this, but now, 
    Microsoft Exchange 2010 doesn't like the form of the encoding name without the dash, 
    and bounces the emails from Mailman. 
    The strange is that other email systems like Gmail, Yahoo accept the transformed encoding name.
    Any help would be appreciated.
    Kind Regards
    Panagiotis Kontogiannis

    Hi Panagiotis,
    Base on my search, I found a similar issue which was caused by the antivirus software in exchange server.
    I recommend you try to disable all the antivirus services and check if any helps.
    The similar thread for you reference:
    https://social.technet.microsoft.com/Forums/en-US/5bcf3098-2fe7-442f-a0bd-b720d703c6d0/problem-with-microsoft-exchange-2010-on-sbs-2011-550-560-catinvalidcontentexception?forum=exchangesvrdevelopment
    Best regards,
    Niko Cheng
    TechNet Community Support

  • NAS nfs (WD Netcenter) permissions and speed problems

    I have a 320GB WD Netcenter - used to use it on an older mac and now on my new one. Permissions seemed to be blocked on one of the other user accounts on this new MBP. When I do "get info" the owenship boxes are greyed out and I cannot change anything. Should I run Old Toad's BatCHMod (http://www.macchampion.com/arbysoft/) on the drive?
    Also I am getting VERY slow transfer speeds over my 54Mbs wireless network. I've read about this in other places but could not find an answer (apart from a very complicated article on TCP buffer sizes!). I can mount in as smb or nfs and chose nfs. Also been using Cocktail to optimize the connection speed over the net. Maybe this has something to do with it?!
    Cheers
    Charlie

    Ask here:
    http://lists.apple.com/mailman/listinfo/macos-x-server
    -Ralph

  • Migration issue and smtp

    Hi,
    I migrated the reports from Crystal Enterpise 9.0 to Business Objects Xi. The reports which are runing on CE9.0 are failing on BO XI R2.
    I checked the tnsnames.ora and modified it a well as created ODBC connections which were on CE 9.0.
    2) How to configure SMTP so that E-mail can be sent to users from Bo Xi R2.0.
    Thanks,

    Some more issues to look check.
    A. Ensure that SMTP is working fine.
    1. Go to Start > Run and type u201Ccmdu201D (without the quotation marks). This opens the Command Prompt window.
    2. In the Command Prompt window, telnet to the SMTP server using the SMTP server name and the port the SMTP server is configured to use.
    For example, to telnet to the SMTP server called 'mailman', which uses port 25, type the following command in the Command Prompt window:
    telnet mailman 25
    The SMTP server will return a message similar to the message: 220 mailman Microsoft ESMTP MAIL Service, Version: 5.0.2195.2966 ready at Wed, 24 Apr 2002 17:10:37 -0400
    3. After the SMTP server returns a message similar to the one in step two, type the following commands in the Command Prompt window:
    helo hi<Enter> mail from: sender.name <at> company.com<Enter> rcpt to: recipient.name <at> company.com<Enter> data<Enter> This is a test<Enter> .<Enter> quit<Enter>
    The following variables are used in the commands above:
    u2022 helo is a valid SMTP server command and not a spelling error.
    u2022 <Enter> indicates that you have to press the 'Enter' key on your keyboard.
    u2022 Replace sender.name <at> company.com and recipient.name <at> company.com with your valid fully qualified email addresses.
    NOTE:When you type the commands they will not appear in the Command Prompt window. They will not be visible as you type them. Each time you press the 'Enter' key on your keyboard the SMTP server will return a message indicating whether it has recognized your request.
    4. Verify that the inbox of the email address you submitted for the email address you provided for as recipient.name <at> company.com.
    If your SMTP server uses standard SMTP requests and the SMTP server is configured properly, the test email will arrive in the inbox of the address you specified. If the email arrives, the SMTP server is valid for use with Crystal Enterprise.
    B. Email is enabled on job server destination.
    C. Any ANTI SPAM application  e.g McAfee is not blocking SMTP port.
    Regards
    Dotun

  • [SOLVED] pacman signature problem (haskell repo)

    Hi,
    Tried to enable unofficial haskell repo (this is a config which runs on another box):
    [haskell]
    # Arch-Haskell repository
    # Discussion: http://www.haskell.org/mailman/listinfo/arch-haskell
    Server = http://xsounds.org/~haskell/$arch
    # Server = http://www.kiwilight.com/haskell/$arch
    Got this:
    $ sudo pacman-key -r 4209170B                                                                                                                                                     
    gpg: requesting key 4209170B from hkp server pool.sks-keyservers.net                                                                                                                                                   
    gpg: key 4209170B: "ArchHaskell (Magnus Therning) <[email protected]>" not changed                                                                                                                                   
    gpg: Total number processed: 1                                                                                                                                                                                         
    gpg:              unchanged: 1                                                                                                                                                                                         
    ==> Updating trust database...                                                                                                                                                                                         
    gpg: next trustdb check due at 2014-01-22                                                                                                                                                                               
    $ sudo pacman -Syy
    error: haskell: signature from "ArchHaskell (Magnus Therning) <[email protected]>" is unknown trust                                                                                                                   
    :: Synchronizing package databases...                                                                                                                                                                                   
    core                                                                                                    105.4 KiB  13.4K/s 00:08 [############] 100%
    haskell                                                                                                 243.0 KiB  39.1K/s 00:06 [############] 100%
    haskell.sig                                                                                              96.0   B  0.00B/s 00:00 [############] 100%
    error: haskell: signature from "ArchHaskell (Magnus Therning) <[email protected]>" is unknown trust                                                                                                                   
    error: failed to update haskell (invalid or corrupted database (PGP signature))                                                                                                                                         
    extra                                                                                                  1516.4 KiB  23.0K/s 01:06 [############] 100%
    community                                                                                              1943.1 KiB  39.2K/s 00:50 [############] 100%
    multilib                                                                                                106.2 KiB   358K/s 00:00 [############] 100%
    error: database 'haskell' is not valid (invalid or corrupted database (PGP signature))
    What's wrong?
    Last edited by Llama (2013-05-01 20:02:02)

    Allan wrote:It is a key that is not signed by the Arch master keys, so you have to manually assign it trust.
    Thanks, Allan! It's your inherent modesty which prevented you from giving this link, I presume.
    $ sudo pacman-key --lsign 4209170B
    [sudo] password for alexey:
      -> Locally signing key 4209170B...
    ==> Updating trust database...
    gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
    gpg: depth: 0  valid:   1  signed:   6  trust: 0-, 0q, 0n, 0m, 0f, 1u
    gpg: depth: 1  valid:   6  signed:  64  trust: 1-, 0q, 0n, 5m, 0f, 0u
    gpg: depth: 2  valid:  64  signed:   1  trust: 64-, 0q, 0n, 0m, 0f, 0u
    gpg: next trustdb check due at 2014-01-22
    $ sudo pacman -Syy
    :: Synchronizing package databases...
    core                                                                                                    105.4 KiB  12.9M/s 00:00 [#############] 100%
    haskell                                                                                                 243.0 KiB  11.9M/s 00:00 [#############] 100%
    haskell.sig                                                                                              96.0   B  0.00B/s 00:00 [#############] 100%
    extra                                                                                                  1516.4 KiB   350K/s 00:04 [#############] 100%
    community                                                                                              1943.0 KiB  6.32M/s 00:00 [#############] 100%
    multilib                                                                                                106.2 KiB  10.4M/s 00:00 [#############] 100%
    $
    Is it enough? The article has a lot more, not for hoi polloi sometimes...
    Last edited by Llama (2013-04-29 11:35:38)

  • Group Mailing Lists and Email Addresses

    Howdy All,
    A couple of quick questions:
    1. When a Group mailing list is created does this create an equivalent Mailman mailing list (i.e. that would appear at the Mailman list URL)? I'm not so much concerned as to whether Groups uses Mailman behind the scenes just whether or not one could "further" admin the group mailing list through the admin interface.
    2. What happens when you have a username "x", a group name "x" (which I commonly used on other Unixes) with a mailing list (implictly named "x"), and a Mailman mailing list named "x" (what was created as a Mailman mailing list in Server Admin) and then you email x@serverDNSname? Because I often use the same user and groups names this could be quite common.
    Thanks for any thoughts on these puzzles.
    Cheers,
    Ashley.

    I am beginning to suspect a combination problem- i.e. bad converter and bad Admin Tools.
    The 10.6 Mail Admin manual states that:
    +In Workgroup Manager, enable the Mailing List service for each group you want to have a mailing list address.+
    +The setting is located in the Basic group options in Workgroup Manager.+
    However, I no longer have these options in Admin Tools. I had them in 10.5.8, but not in 10.6 or 10.62 tools. I took a screenshot of the basic tab in WM:
    Image: !http://i157.photobucket.com/albums/t69/dunkelza/Screenshot2010-01-08at81609AM. jpg!
    I checked the About Workgroup Manager menu item and got "Version 10.6.2 (361.2.1)"
    So it appears that the update to 10.6 not only failed to convert the LDAP settings correctly and/or map them to the mail system; but, that the update also removed my ability to see this and fix it through the GUI.

  • Secure vs. Non-Secure Web

    I want to have my users able to access webmail from outside of our internal domain. Of course, this means I need to set up some form of secure communication between the server and the user that is trying to connect. In this case, its SSL. However, I am running into two problems when trying to implement this. First, because I am running mailman to administer lists, when I try to connect to the mailman web interface the server wants to use https instead of http and none of the mailman links work until I manually type at s after http. This gets very tedious when you're trying to administer a list of 100+ users that send hundreds of e-mails per day.
    Second, I want the server to default to https. Users type my.occu-med.net to connect to the server, but that defaults to http and not https. Again, users have to type in the additional s before the website will work.
    Any help is appreciated.
    Thanks,
    James

    For the mailman issue, there's a script in the mailman distribution that lets you reset the list URL
    /usr/share/mailman/bin/fix_url.py
    You can reset each list's URL to point to the HTTPS rather than the HTTP version.
    As for defaulting everything to HTTPS the standard option here is to have the HTTP site generate redirects to the HTTPS site. You can do this via a RewriteRule (as well as other options)
    RewriteRule ^/(.*)$ https://your.domain.com/$1 [R]
    You can either add the above to your site's config, or use Server Admin to add a rewrite.

  • Email fax utility

    Hi everybody,
    I have implement the mail program to send mail(same mail) to two reciepents with attachement using chilkat and the mail has to sent for every 2 minutes using the job scheduler.The code is following:
    package recent;
    import java.io.BufferedReader;
    import java.io.DataInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.util.Properties;
    import org.apache.log4j.Logger;
    import org.quartz.*;
    import com.chilkatsoft.CkEmail;
    import com.chilkatsoft.CkMailMan;
    import com.chilkatsoft.CkString;
    public class JobSchedule implements Job {
    public static int REPEAT_INDEFINITELY = -1;
         private static int repeatCount = 1;
         private static long repeatInterval = 0;
         // Used to Load the Chilkat library
         static {
              try {
                   System.loadLibrary("chilkat");
              } catch (UnsatisfiedLinkError e) {
                   logger.trace("Native code library failed to load.\n" + e);
                   System.exit(1);
         static public String getContents(File aFile) {
              StringBuffer contents = new StringBuffer();
              BufferedReader input = null;
              try {
                   // use buffering, reading one line at a time
                   input = new BufferedReader(new FileReader(aFile));
                   String line = null;
                   while ((line = input.readLine()) != null) {
                        contents.append(line);
                        contents.append(System.getProperty("line.separator"));
              } catch (FileNotFoundException ex) {
                   ex.printStackTrace();
              } catch (IOException ex) {
                   ex.printStackTrace();
              } finally {
                   try {
                        if (input != null) {
                             // flush and close both "input" and its underlying
                             // FileReader
                             input.close();
                   } catch (IOException ex) {
                        ex.printStackTrace();
              return contents.toString();
         public void execute(JobExecutionContext context)
                   throws JobExecutionException {
              String instName = context.getJobDetail().getName();
              String instGroup = context.getJobDetail().getGroup();
              JobDataMap dataMap = context.getJobDetail().getJobDataMap();
              String host = dataMap.getString("host");
              String port = dataMap.getString("port");
              int portno = Integer.parseInt(port);
              String user = dataMap.getString("username");
              String pwd = dataMap.getString("password");
              String subj = dataMap.getString("subject");
              String name1 = dataMap.getString("name1");
              String to1 = dataMap.getString("to1");
              String name2 = dataMap.getString("name2");
              String to2 = dataMap.getString("to2");
              String from = dataMap.getString("from");
              String fileattach = dataMap.getString("fileattach");
              String body = dataMap.getString("body");
              logger.trace("The body is " + body);
              // String body1 = dataMap.getString("body1");
              // String bodytext1 = dataMap.getString("bodytext1");
              System.out.println("Instance " + instName + " Group " + instGroup
                        + " is executing... ");
              System.out.println("JobDataMap " + dataMap);
              CkMailMan mailman = new CkMailMan();
              boolean lock;
              lock = mailman.UnlockComponent("UTIAGMAILQ_yDkT8aOu2G27");
              // lock = mailman.UnlockComponent("anything for 30-day trial");
              if (lock != true) {
                   System.out.println("Component unlock failed");
                   return;
              // Set SMTP server's hostname and port number
              mailman.put_SmtpHost(host);
              logger.trace("The host is" + host);
              mailman.put_SmtpPort(portno);
              // SMTP server requires a login, set username/password
              mailman.put_SmtpUsername(user);
              mailman.put_SmtpPassword(pwd);
              // Create a simple email
              CkEmail email = new CkEmail();
              email.put_Subject(subj);
              email.put_Body(body);
              email.put_From(from);
              // Add a few recipients
              email.AddTo(name1, to1);
              email.AddTo(name2, to2);
              // email.AddStringAttachment(body1, bodytext1);
              CkString contentType = new CkString();
              boolean b = email.AddFileAttachment(fileattach, contentType);
              logger.trace("The file was added successfully " + b);
              try {
                   logger.trace("Start Job --- EMail");
                   // The specified job(Sending Email with Attachement) executed here
                   boolean success = mailman.SendEmail(email);
                   if (!success) {
                        logger.trace(mailman.lastErrorText());
                        logger.trace("Mail has not sent " + success);
                   } else {
                        logger.trace("Mail has sent " + success);
                   logger.trace("End Job --- EMail");
              } catch (Exception e) {
                   System.out.println(e);
                   System.out.println("Error : ");
                   e.printStackTrace();
         public static void main(String[] args) {
              logger.trace("Inside the main method()");
              try {
                   Properties props = new Properties();
              props.load(new FileInputStream("C:\\dev\\programs\\workspace\\mailing\\JavaSource\\emailProperties.properties"));
                   //props.load(new FileInputStream("C:\\dev\\programs\\workspace\\mailing\\JavaSource\\emailtwo.properties"));
              File testFile = new File("D:\\body1.txt");
                   SchedulerFactory schedFact = new org.quartz.impl.StdSchedulerFactory();
                   Scheduler sched = schedFact.getScheduler();
                   // Defining job 1 instance
                   JobDetail jobDetail = new JobDetail("SendingMail", "Mail Report",JobSchedule.class);
                   jobDetail.getJobDataMap().put("host", props.getProperty("host"));
                   jobDetail.getJobDataMap().put("port", props.getProperty("port"));
                   jobDetail.getJobDataMap().put("username",props.getProperty("username"));
                   jobDetail.getJobDataMap().put("password",props.getProperty("password"));
                   jobDetail.getJobDataMap().put("subject",props.getProperty("subject"));
                   jobDetail.getJobDataMap().put("name1",props.getProperty("friendlyName1"));
                   jobDetail.getJobDataMap().put("to1", props.getProperty("to1"));
                   jobDetail.getJobDataMap().put("name2",props.getProperty("friendlyName2"));
                   jobDetail.getJobDataMap().put("to2", props.getProperty("to2"));
                   jobDetail.getJobDataMap().put("from", props.getProperty("from"));
                   jobDetail.getJobDataMap().put("body", getContents(testFile));
                   jobDetail.getJobDataMap().put("fileattach",props.getProperty("fileattach"));
                   // Defining a Trigger that will fire "now"
                   SimpleTrigger trigger = new SimpleTrigger("EmailJob", "MyEmailContext",repeatCount, repeatInterval);
                   // The trigger should repeat continually until the trigger's ending
                   // timestamp.
                   // trigger.setRepeatCount(SimpleTrigger.REPEAT_INDEFINITELY);
                   // The number of times for the Trigger to repeat firing, use for
                   // unlimitted times.
                   trigger.setRepeatCount(1);
                   trigger.setRepeatInterval(60L * 1000L);// minutes * 60(seconds per minute) * 1000(milliseconds per second)
                   sched.scheduleJob(jobDetail, trigger);
                   logger.trace("Second job is executed");
                   // Scheduler will not execute jobs until it has been started
                   sched.start();
              } catch (Exception e) {
                   e.printStackTrace();
    Here i used methods like
    email.AddTo(name1, to1);
    email.AddTo(name2, to2);
    Now what i need to do is my code should send two seperate emails, that means there can be only 1 address in the TO field(not to use any addBcc() methods in chilkat)
    How can i send the mail seperately.

    the run the same code 2 times with single email address???
    or did I misunderstand you?:))

  • Wiki Mailing lists

    I am having a problems with wiki mailing lists, they were working fine for about six months then one day stopped the issue seems to be that the automatically generated list in Postfix is not finding the email addresses for the group.
    All members of the group have email address showing up in the info tab of the WGM but still nothing seems to be generated.
    If any one can add any insight I would be very grateful.

    So do I. We upgraded from 10.5 to 10.6.4. We have been using 'Mailing-Lists for groups' under 10.5 for years, and everything was easy. After migrating to 10.6 the radio-button in Server-Admin still exists, but it is not working any more. Strategic decission to feature the wiki system, without telling loyal migrators?
    So we changed using the wiki-mailing-list function. Worked fine (though no welcome-messages for new users showed up, as promised, but who cares...) until we restarted the server for the first time. Messages went still straight to the wiki-site, but would not be delivered to the users any more.
    After spending a week with '/etc/postfix/aliases', the 'newaliases command' and other fun stuff I discovered, that turning off or on 'Mailman-Mailing-List' in Server-Admin/Mail/Mailing-Lists does the job of refreshing the the '/etc/postfix/aliases' file that seams to be responsible to sending the wiki-emails to the defined users of the wiki.
    Tell me if that does the job for you as well!
    And yes I am talking about Mailman-Mailing-Lists to be turned *off or on*, and not about the Group- Mailing-Lists.
    Regards
    Robert

  • Need Networking Help in the United Arab Emirates

    Hi, I am extremely frustrated and looking for some help finding somebody in the United Arab Emirates who can help with implementing a networking project.
    I have set up a small business in the United Arab Emirates, actually a division within an existing business. The existing business was not too savvy about IT; they have a few PCs of varying age and specs, and each one running a different version of Windows. There is no LAN, that is to say each PC is an island unto itself.
    I came aboard in September '05 and as a loyal Mac user, I procured a number of Macs for my division. We now have 5 iMacs and are running a wireless network via Airport. Files are stored on one of the iMacs using shared folders. However, we are not connected at all to the PCs (which are in an office on a different floor) and this makes it difficult to collaborate on documents with the PC users. My next project is to set up a LAN so that all the document files will be stored centrally on the server and we will also add tape backup, enhance security, impose better anti-virus protection for all especially the PC users, etc.
    What I want to do is buy an Xserve and use that as the server for my LAN.
    However, in addition to the fact that Apple products are extremely expensive here in the U.A.E., I am finding it impossible -- even after months of trying -- to locate a vendor who has enough knowledge and/or willingness to design, install and maintain a network centered on the Xserve. I am particularly frustrated with the Apple reseller here, who is more than willing to sell me the hardware, but whose networking department seems to have less familiarity with OS X than I do (and I'm just a lawyer, not an IT guy).
    I could relate all kinds of stories, but the bottom line is that the Apple reseller keeps bringing me networking guys who act as if they have never heard of OS X and who suggest solutions for various functionalities and then tell me that the solution is not available for the Mac platform (although 5 minutes of Google research by me is usually enough to discover they are wrong).
    As a result, I think I am going to have no choice but to buy an HP box and run Windows XP server if I am ever going to get this networking project off the ground.
    I am wondering if there is anybody on the forum who can point me in the direction of somebody in Dubai or Abu Dhabi who can help. Although I would prefer to buy Apple, I cannot justify spending thousands of dollars on server equipment if I know now that I will have nobody to support my network. Even if I could learn to be a network administrator, I simply do not have the time to do it.
    Thanks,
    DXB Law

    Hi DXB Law,
    I think you may have more luck in finding a person who can help in your locality if you post in the OSX Server Mailing list at http://lists.apple.com/mailman/listinfo/macos-x-server
    Or you should post in macintosh Managers mailing list over at http://mac-mgrs.org/
    I don't think you want to hear this but... you seem pretty competent on the desktop side. It is not a big jump to install & configure a server, particularly if you do it the Apple way, ie. follow their manuals exactly. Once configured there should be little to do on the day-to-day side unless you have a particularly dynamic environment in terms of staff changes, network changes, etc.
    If you want an idea of what is involved with initial configuration take a look at the Getting Started guide at http://www.apple.com/server/documentation/ Appendix B has a step-by-step setup scenario, pretty similar to what you want to do.
    If you are not able to find a consultant who can help, I suggest you try it yourself as follows:
    - give yourself a flexible timeframe for the project
    - take it slow & phase in different services each week (eg. week 1, file services, week 2 mail, etc) to give time for problmes to shake out
    - post here when do you have specific issues/problems
    - do not set your users (or your) expectations too high (at least initially)
    If you decide to go with a PC server you could be opening up a whole other can of nastiness for yourself
    Good luck,
    b.

  • Error encountered when attempting to compile Mailman on 10.5.8 server

    I mentioned in a previous post that the Mailman version shipped with Snow Leopard was not the release version but a release candidate. In an attempt to trial the upgrade on a Leopard server before doing on Snow Leopard, I encountered the following error when configuring it:
    • Distutils is not available or is incomplete for /usr/bin/python
    Here is the version information I have on Python:
    • Python 2.5.1 (r251:54863, Feb 6 2009, 19:02:12)
    • [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
    Suggestions on how to proceed? I have marginal skills.
    Paul

    I just needed to install the developer tools

  • Mailman on Mac OS X Server 10.3.9 Problems

    We have a few mailing lists on our old PowerMac G4/Dual 450 machine. We have Mac OS X Server 10.3.9 on there and we are using Mailman for list management.
    Mailman is not sending anything through the lists. I repaired permissions via the Apple repair permissions function of Disk Utility and since there is a bug in that process in relation to Mailman I ran the check_perm -f command from Terminal to fix them to what Mailman wants. That usually fixes most of the problems with the Mailman system. Also restarted the qrunner and for a time that fixed it. But that isn't fixing it now.
    I know the OS is old and we plan to replace it with a brand new X-Serve with Mac OS X Server 10.5.x. But for now the older server still needs to do its' job.
    Any help would be greatly appreciated.
    Thanks,
    Ben

    Yes and they show that the server received the message to the lists but I don't see anything being sent from the lists. I did a test message to one of our lists and got an error message back that said:
    Your message
    To: [email protected]
    Subject: Helpdesk-users Reminder
    Sent: Fri, 12 Sep 2008 10:48:37 -0500
    did not reach the following recipient(s):
    [email protected] on Wed, 17 Sep 2008 11:40:31 -0500
    The e-mail system was unable to deliver the message, but did not
    report a specific reason. Check the address and try again. If it still
    fails, contact your system administrator.
    < lists.sandburg.edu #4.0.0 X-Postfix; temporary failure. Command
    output: couldn't connect to lmtpd: Connection refused_ 421 4.3.0
    deliver: couldn't connect to lmtpd_ >
    So how do I fix lmtpd?
    Thanks,
    Ben

Maybe you are looking for