Results 1 to 3 of 3

Thread: mass mail

  1. #1
    peo
    peo is offline Trained Alumni
    Join Date
    May 2007
    Location
    Halmstad, Sweden
    Posts
    4
    Rep Power
    7

    Default mass mail

    Hi!
    One of our research dep's need to send a mail to 4000 addresses.
    The addresses are in a CSV-file.

    How to do this? Can the user doit or is a script at admin level needed?

    Thnaks
    /Peo, Halmstad University

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    You could setup a distribution list to do this and populate it using zmprov. Something along the lines of
    Code:
    su - zimbra
    zmprov cdl listname@domain.com
    and then a simple bash script
    Code:
    #!/bin/bash
    
    cat <filename.csv> | awk -F, '{ print $1 }' | while read ADDR
    do
       zmprov adlm listname@domain.com ${ADDR}
    done
    obviously if the email address is not element one of the CSV then $1 would need to be changed.

    Hope that helps.

  3. #3
    jrefl5 is offline Advanced Member
    Join Date
    Nov 2007
    Location
    AZ, USA
    Posts
    205
    Rep Power
    7

    Default Try a script

    We sent out about 3K form letter type e-mails from one of our servers through our zimbra server as the relay using a php script.

    I don't think I would want to create a 4K contact list that may be used a very few times without changes, easer to write a more general script that accepts the e-mail addresses and text of the e-mail.

    james

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 01:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. Problem with Postfix and MTA
    By ZMilton in forum Administrators
    Replies: 16
    Last Post: 04-16-2008, 06:47 AM
  4. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 11:44 AM
  5. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •