Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Our Archives > General Archives > Servers > E-mail server - mailing lists and mail forwarding

 
E-mail server - mailing lists and mail forwarding
Thread Tools
Xeo
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Feb 20, 2002, 04:15 AM
 
I want to start up the OSXS mail server but I need a few things from it first. I want to set up mail forwards so something like webmaster@domain.com points to a completely different e-mail address. Do I have to have the user "webmaster" on the server for this to work? I want to do this for quite a few names forwarding to all different addresses and I don't want to force these user accounts and home directories on the server if they aren't even going to log in to get the mail.

How can I set up a mailing list. Ideally, I want to store several e-mail addresses in a text file and have something like list@domain.com forward the e-mail to each address in that text document. Is there special software I need for this to work?

How well does the POP3 and IMAP mail work? I haven't tried it but if you set it up using Server Admin, does it work the same on the client end as any other POP3 or IMAP server? I suppose I can't just set up e-mail users without them being able to login on the server.

I want this to be as painless as possible. I wish I could do all this with a few text files. Specify the names the server will see and what e-mail addresses it needs to forward to. Alas, it seems it's more difficult in that I'm force to create all new users for each address I want.

TIA for any help.
     
Dedicated MacNNer
Join Date: Feb 2001
Location: Alaska
Status: Offline
Feb 20, 2002, 03:44 PM
 
OH SWEET BABY JESUS NO.

Don't use AMS for SMTP. Use something else. AMS is an open relay, and has numerous other problems. Sendmail, postfix, etc. should handle your needs nicely. No GUI configuration interface, but no spam headaches.
     
Xeo  (op)
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Feb 20, 2002, 10:39 PM
 
OK, so what about as an incoming mail server? I'm not even sure if I need an SMTP server at all. All I want is to easily make mailing lists.

Is Mailman any good? Is it easy to use?
     
Xeo  (op)
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Feb 21, 2002, 01:03 AM
 
OK. I have user@domain.com now working. I figured that part all out. Using the GUI, I can specify either POP3 and/or IMAP or mail forwarding to a single address. That's half the battle. Now, how can I do the list part? I want to forward a single e-mail to multiple addresses. I tried using the sendmail.cf file to point to an aliases file and tried to add aliases to that file, then running "newaliases" but it's not working.

I'm happy I have the 1 to 1 e-mail forwarding working. Now I just need help with the 1 to many part. Any ideas?
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Badfort
Status: Offline
Feb 21, 2002, 11:24 AM
 
If you've reached the point of running Sendmail, you're half way to ditching AMS. This is a GOOD thing, as it is basically shyte (although today's 10.1.3 Server update purports to fix the open relay issue). You could probably compile and use Majodomo, but if that's a bit heavy duty, why not set up Sendmail to deliver locally to /var/mail, and the use procmail to forward to your list? man procmail should help here.

I run a couple of Mac OS X servers with Sendmail, UW-IMAP, procmail, and Squirrelmail webmail (over SSL) and it's great - dead secure and totally stable. I am by no means a *nix guru, I've just picked it up as i went along over the last couple of years (from X server 1.0) so i may not have the best solution for you. If you have money to spend, people make great claims for Communigate Pro, $500 gets you 50 users and 5 lists.
You see, my friends, pirates are the key. - thalo
     
Mac Elite
Join Date: May 1999
Location: San Jose, CA
Status: Offline
Feb 21, 2002, 01:19 PM
 
Originally posted by Xeo:
<STRONG>OK. I have user@domain.com now working. I figured that part all out. Using the GUI, I can specify either POP3 and/or IMAP or mail forwarding to a single address. That's half the battle. Now, how can I do the list part? I want to forward a single e-mail to multiple addresses. I tried using the sendmail.cf file to point to an aliases file and tried to add aliases to that file, then running "newaliases" but it's not working.
</STRONG>
Alias support is disabled by default in sendmail (at least, as shipped from Apple). Uncomment the line

#O AliasFile=/etc/mail/aliases

in /etc/mail/sendmail.cf and HUP sendmail to enable alias support

<STRONG>I'm happy I have the 1 to 1 e-mail forwarding working. Now I just need help with the 1 to many part. Any ideas?</STRONG>[/QUOTE]

You can use aliases to forward to many users Either separate the forwarding addresses with commas in the RHS:

listname: user@domain1.com, user2@domain2.com, user3@domain3.com

or if the names are in a separate mail file, use includes:

listname: :include:/path/to/file

However, I wouldn't recommend this unless for a small number of users. Aliases have no support for user administration (i.e. users cannot subscribe or unsubscribe themselves), no digests, etc., etc.

Majordomo works will with sendmail and handles all the major list features.

LetterRip Pro is the BEST Mac OS mail list software. The Mac OS X version is in beta right now. It's not free but it makes list administration a breeze.

(fixed typo)

[ 02-21-2002: Message edited by: Camelot ]
Gods don't kill people - people with Gods kill people.
     
Xeo  (op)
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Feb 21, 2002, 03:00 PM
 
It's not for regular mailing lists as you would think. It's for a mandatory mailing list for our mug. I like the idea of being able to include a separate file. That's exactly what i want. A simple text file. I can use PHP to do the rest.

OK. I need to be more clear though. I DID edit sendmail.cf and uncommented that line. It didn't work though. I'm still clicking the "Start Mail service" button in Server Admin. I set it to sendmail instead of SMTP but it's not working.

The 1 to 1 e-mail forwarding is done via the GUI. I open a user's name, go to "Mail Service" in the drop down menu and select the "forward" radio button. I enter an e-mail address and all is well.

I was just happy I set up my DNS server correctly so the @domain.com part actually gets to the server.

So how can I screw the AppleMailService and go strictly with sendmail? What do I need to do to make that happen?
     
Xeo  (op)
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Feb 22, 2002, 05:33 AM
 
OK, nevermind. I figured out how to start sendmail and I figured out the alias files. This is exactly what I needed. I now have a few text files with all the addresses a particular address should send to.

The best part about aliases is I didn't have to create the users at all. I can specify a name and an e-mail it should forward to. Much easier than what I initially thought.

Thanks for the help.
     
 
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:35 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2