Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Virtualuser/Aliases - restircting use. 1

Status
Not open for further replies.

Zyxian

Technical User
Apr 29, 2002
42
US
Howdy.

RH 9 - Sendmail 8.12 - hosting my clubs website.
I've created a virtual email account that points to a alias. Basicly a mailling list for one of the club members. I tested it by using 2 of my e-mail addresses in the aliases.db. The name in the From field is the name from the 3rd e-mail account but then I noticed the To field had the virtual name. I only want a couple of people to be able to use it. I don't want the people who get the announcments to be able to reply to the virtual/mailing list name.

Is there a way to have Sendmail change the To field from the virtual name to the aliased name?
Is there a way to have only e-mail from a certain address be able to use it?

Thanks for any help.

Zyxian
I Learn More When Something Goes Wrong.
 
Something doesn't sound right with this setup. Is there any way you can tell us in simple terms what you want to do? I think we can come up with a better way to do it.
 
Sorry. I was just about to head out the door from work. Re-reading it now, I see what you mean. Let's see how plain I can do it :)

Basicly a mailing list using Sendmail but restrict it to 1 or 2 users.

I already have 3 mailing lists that don't need resticiting. I used virtusertable.db and aliases.db. Example: allmemmbers@clubname.com in the virtusertable.db expands out to everyones e-mail address through the aliases.db. At this time there are only 2 of us that use name@cubname.com. Everyone else has e-mail some where else. When they get the e-mail, the To: field has the name in the virtusertable, allmembers@clubname.com. A member who has AOL wants to me to set up another address but to people who participate on our mailing list. I do not want non members to be able to utilize the new list. If they see the To: they will know how to send to our the list.

Is there a way to tell Sendmail to not put the name that is in the virtusertable.db but use the names associated with in the aliases.db?

Can I tell Sendmail to only accept e-mail to guests@cubname.com from member@aol.com so no else can use it?

Hopefully that is a little clearer.

Zyxian
I Learn More When Something Goes Wrong.
 
oi, what a headache you managed to create for yourself

Why dont you just setup majordomo
Setup your lists as moderated and you're done.

Alternatly you can setup a php/msql script with administrative logins to prevent un-authorized use to send your bulk mail.

Personaly that's the way I do it, makes it easier to provide a "remove me" link allowing the receiver to opt out of the email
 
I wanna ditto what BitFuzzy said and add that this way you don't have to mix recipients on a list with users on your system. Nor would you be broadcasting the e-mail address of everybody on the list.
 
Thanks for the input folks. I am planning on doing the MySQL/PHP thing. I was just wondering if there was a quick way to get a list up that he could use to send an e-mail for an event this Sunday. I just got my PHP book last month so am VERY new to it. This is gonna be a great opportunity to learn it.
I guess I could put it up, have him send the e-mail and then take it down....

Zyxian
I Learn More When Something Goes Wrong.
 
Check out this link. It is a great resource for php scripts. They are broken down into categories. It's not only a great place to get fully functional scrips but you can learn php by studying them as well.
 
I just took a peek and there is a category for "mailing lists" so I'm sure you will find what you need. Let me know how things turn out.
 
Thank you RhytmAce. I will. :)

Zyxian
I Learn More When Something Goes Wrong.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top