Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Mass-emailing people?

  1. #1
    mrdini is offline Active Member
    Join Date
    Mar 2007
    Posts
    33
    Rep Power
    8

    Default Mass-emailing people?

    Hello,

    We need to send an email to everyone in a list (of email addresses). Ideally, we want it to come from a noreply@ address...

    However, I can't seem to figure out how to do this in one go. If I create a noreply@ email account, there doesn't seem to be an easy way to add ALL the addresses from a specific address book in one go.

    If I create a distribution list at noreply@, the recipients can only too easily reply to that email address and thus spam everyone else on that list which is VERY undesirable.

    Thoughts? I realise the best way is to use a proper 3rd party app like phplist (which I'm looking at now), but we do need to send an certain email out this Friday which is a bit too short notice for this.

    TIA!

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    You can create a distribution list that can't be mailed to by external users (or users of your choice), check the wiki article on postfix restrictions. Does that do what you need?
    Last edited by phoenix; 09-19-2007 at 03:29 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    mrdini is offline Active Member
    Join Date
    Mar 2007
    Posts
    33
    Rep Power
    8

    Default

    Quote Originally Posted by phoenix View Post
    You can create a distribution list tat can't be mailed to by external users (or users of your choice), check the wiki article on postfix restrictions. Does that do what you need?
    Hmmm... yes, that sounds exactly like what I need, but it doesn't seem to work at all...(emails from 'outside' are still getting through to the distribution list I created)

    I've checked the discussion page on the wiki & made the change mentioned in note #2 to no avail.

    Which logs would display errors from this? Are the notes up to date for ZCS 4.5?

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Did you do a 'postfix reload'?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    mrdini is offline Active Member
    Join Date
    Mar 2007
    Posts
    33
    Rep Power
    8

    Default

    Quote Originally Posted by phoenix View Post
    Did you do a 'postfix reload'?
    Si! Both before doing the change mentioned in note #2 & again after.

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    I'd go through the wiki steps again and check you've entered the correct information. That solution does work.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    mrdini is offline Active Member
    Join Date
    Mar 2007
    Posts
    33
    Rep Power
    8

    Default

    Quote Originally Posted by phoenix View Post
    I'd go through the wiki steps again and check you've entered the correct information. That solution does work.
    *Mutters* I've been over it a few times, and can't seem to figure out why it doesn't work....
    Mail server is dartagnan.secretcorp.com.
    The test account is distro@secretcorp.com (the "real" account is noreply@).

    permitted_senders:-
    Code:
    localhost               OK
    secretcorp.com            OK
    dartagnan.secretcorp.com     OK
    protected_recipients:-
    Code:
    distro@secretcorp.com     permitted_senders_list
    noreply@secretcorp.com    permitted_senders_list
    main.cf:-
    Code:
    permitted_senders_list = check_sender_access hash:/opt/zimbra/postfix/conf/permitted_senders, reject
    smtpd_restriction_classes = permitted_senders_list
    postfix_recipient_restrictions.cf:-
    Code:
    check_recipient_access hash:/opt/zimbra/postfix/conf/protected_recipients
    Thoughts...?

    TIA!

  8. #8
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    the wiki doesn't have the extra 'check_recipient_access' that you do in the following location:
    Quote Originally Posted by mrdini View Post
    postfix_recipient_restrictions.cf:-
    check_recipient_access hash:/opt/zimbra/postfix/conf/protected_recipients
    move distro@secretcorp.com to the permitted_senders list (instead of protected_recipients)

    noreply@secretcorp.com (the account) is the protected address

    Where are you testing from? inside: localhost/secretcorp.com/dartagnan.secretcorp.com? just externally? both?

    ----
    Also, wherever possible - consider putting things in zmmta.cf instead of main.cf, using a CLI command (zmprov etc) or postfonf -e

    How do you know when it should be there instead of main.cf? well if it's gone on reboot
    Last edited by mmorse; 09-19-2007 at 05:35 AM.

  9. #9
    mrdini is offline Active Member
    Join Date
    Mar 2007
    Posts
    33
    Rep Power
    8

    Default

    Quote Originally Posted by mmorse View Post
    the wiki doesn't have the extra 'check_recipient_access' that you do in the following location:
    It does. Check the Discussion page on the wiki.
    move distro@secretcorp.com to the permitted_senders list (instead of protected_recipients)

    noreply@secretcorp.com (the account) is the protected address
    Er... no, no. BOTH distro@ & noreply@ are distribution lists that I don't want people to be able to email from "outside". distro@ is the testing account, while noreply@ is the real thing.

    Where are you testing from? inside: localhost/secretcorp.com/dartagnan.secretcorp.com? just externally? both?
    Have tried:-
    • Telnetting from dartagnan.secretcorp.com to "telnet dartagnan.secretcorp.com 25"
    • Emailing distro@secretcorp.com from an external email address

    Both doesn't return the required error (i.e. the Zimbra server accepts the email)
    Also, wherever possible - consider putting things in zmmta.cf instead of main.cf, using a CLI command (zmprov etc) or postfonf -e

    How do you know when it should be there instead of main.cf? well if it's gone on reboot
    Understood. Will do this modification if we keep this method in the future (chances are I'll set up a proper mass-mailer after sorting this out for Friday)
    Last edited by mrdini; 09-19-2007 at 05:55 AM.

  10. #10
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    sigh..that's why they should edit the article and say 'see talk page' if they have something they think debatable...
    (I really don't check the discussion pages enough, but I did find this guy today that way: /forums/administrators/11549-iwan.html)

    Didn't know distro account was another one you we're trying to protect-you just said:
    The test account is distro@secretcorp.com (the "real" account is noreply@).
    so I assumed you we're testing sending from there (which is why I asked the next Q after that)
    glad that's clarified

    also see:
    Bug 9620 - Mail policies and access control for sending to distribution lists & related Bug 7104 - Distribution List Restrictions
    Last edited by mmorse; 09-19-2007 at 08:35 PM.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 03-12-2010, 12:54 PM
  2. [SOLVED] Mass delete calendar entries
    By achow in forum Users
    Replies: 10
    Last Post: 03-05-2008, 03:24 PM
  3. [SOLVED] Mass Calendar Sharing
    By bparris in forum Administrators
    Replies: 5
    Last Post: 10-23-2007, 02:22 AM
  4. sending mail to a group of people
    By kowell in forum Users
    Replies: 3
    Last Post: 06-01-2006, 02:38 PM
  5. Convincing people to migrate
    By sahuguet in forum Administrators
    Replies: 4
    Last Post: 01-03-2006, 11:32 PM

Posting Permissions

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