[Linux-Discussion] Re: sendmail

  • From: Damian Scott <sdamian@xxxxxxxxxx>
  • To: linux-discussion@xxxxxxxxxxxxx
  • Date: Mon, 5 Aug 2002 14:46:35 -0700

Ok.  I understand now.  I must not have been clear to begin with. : ) 
Paul's suggestion for what you're looking for wasn't too bad.  The nice 
thing about using a 3rd party mailing list program is often times the 
sender receives a copy of what was sent to the list.  Aside from making 
the sender part of the group in your aliases file or including the sender 
in the cc: line, I'm not sure how to make sendmail do this.  There is 
another option in the aliases file to make maintaining larger lists more 
manageable by implementing the ":include:" feature in the aliases file, 
but I don't believe this has the option of notifying the sender.


Damian

"You want peace?  Take your worry list and throw it in the fire!'"





bobbya <bobbya@xxxxxxxxxxxx>
Sent by: linux-discussion-bounce@xxxxxxxxxxxxx
08/04/2002 04:06 PM
Please respond to linux-discussion


To
linux-discussion@xxxxxxxxxxxxx
cc

bcc

Subject
[Linux-Discussion] Re: sendmail




Thanks Damian, really appreciate it,

Here is what I have already, but I put it in the aliases file, then used
newaliases.

programgroup: user1domain.com, user8@xxxxxxxxxxx, 
username4@xxxxxxxxxxxxxxx

This works great without errors, i.e., ALL the users get a copy of the 
mail
WHEN it is addressed to "programgroup@xxxxxxxxxxxx". However, the sender 
does
not get a copy, and that is what I'm trying to
figure out.

A second task is for each group member's mail to contain
"programgroup@xxxxxxxxxxxx" as a return address.

Robert

Damian Scott wrote:

> mailman or majordomo is not required to do what sendmail can do on it's
> own.  However, you do need to know something about sendmail.  When you
> send mail to user@xxxxxxxxxxx all sendmail needs to do is a default mx
> record lookup (along with other sendmail default activity of course). 
You
> are trying to send mail to 'user1' and 'user1' does not exist on that 
unix
> box, correct?  This makes it a non-local delivery.  This means you need 
to
> automatically append the domain name to user1 in order for mail 
addressed
> to 'user1' to work correctly.  You should be using the m4 stuff to 
compile
> a modified .mc file to get  sendmail.cf.  You would add the features 
like
> -
>
> FEATURE(`always_add_domain')dnl
> FEATURE(`masquerade_envelope')dnl
> FEATURE(`allmasquerade')dnl
>
> Depending on your experience level with sendmail is going to dictate how
> complicated this will be.  Generally, it's not too bad once you get over
> the initial hump, especially for a simplistic task such as this one.
>
> __________________________________________
> Damian Scott
> IBM Global Services - Global SMTP Relay Team
> Advisory I/T Specialist
> sdamian@xxxxxxxxxx
>
> "You want peace?  Take your worry list and throw it in the fire!'"
>
> bobbya <bobbya@xxxxxxxxxxxx>
> Sent by: linux-discussion-bounce@xxxxxxxxxxxxx
> 08/04/2002 03:25 PM
> Please respond to linux-discussion
>
> To
> linux-discussion@xxxxxxxxxxxxx
> cc
>
> bcc
>
> Subject
> [Linux-Discussion] Re: sendmail
>
> I already have a user group that works, except that a group member does
> not get a copy of his own email when sent to the group,
> just everyone in the group gets a copy.
>
> mailman is a mail program I get off of the internet? majordomo, I get
> that off of the internet too?
>
> Robert
>
> Paul Anderson wrote:
>
> > On Sun, 4 Aug 2002, bobbya wrote:
> >
> > >
> > > A more difficult question is to have the return address be
> > > "groupname@xxxxxxxxxxxx" for all mail sent to the
> > > members in the group. All group members are OUTSIDE the domain of
> > > groupname's domain too.
> > >
> > It would probably be a good idea to setup mailman or majordomo.
> >
> > ---
> > Paul Anderson
> > geeky1!paul
> > "Nature has been kinder to us than we had any right to expect.
> >         --- Freeman Dyson






Other related posts: