Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Users

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-18-2007, 09:10 AM
Active Member
 
Posts: 33
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!
Reply With Quote
  #2 (permalink)  
Old 09-18-2007, 09:16 AM
Zimbra Consultant & Moderator
 
Posts: 20,319
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?
__________________
Regards


Bill

Last edited by phoenix; 09-19-2007 at 03:29 AM..
Reply With Quote
  #3 (permalink)  
Old 09-19-2007, 02:17 AM
Active Member
 
Posts: 33
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?
Reply With Quote
  #4 (permalink)  
Old 09-19-2007, 03:30 AM
Zimbra Consultant & Moderator
 
Posts: 20,319
Default

Did you do a 'postfix reload'?
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 09-19-2007, 03:32 AM
Active Member
 
Posts: 33
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.
Reply With Quote
  #6 (permalink)  
Old 09-19-2007, 03:37 AM
Zimbra Consultant & Moderator
 
Posts: 20,319
Default

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


Bill
Reply With Quote
  #7 (permalink)  
Old 09-19-2007, 04:44 AM
Active Member
 
Posts: 33
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!
Reply With Quote
  #8 (permalink)  
Old 09-19-2007, 05:16 AM
Moderator
 
Posts: 6,237
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..
Reply With Quote
  #9 (permalink)  
Old 09-19-2007, 05:52 AM
Active Member
 
Posts: 33
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.
Quote:
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.

Quote:
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)
Quote:
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..
Reply With Quote
  #10 (permalink)  
Old 09-19-2007, 12:56 PM
Moderator
 
Posts: 6,237
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:
Quote:
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..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.