All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Adam T. Bowen" <adam.bowen@connectinternetsolutions.com>
To: linux-admin@vger.kernel.org
Cc: Luca Ferrari <fluca1978@infinito.it>
Subject: Re: sendmail - dany a user to send email
Date: Mon, 17 Oct 2005 16:54:03 +0100	[thread overview]
Message-ID: <4353C91B.7040101@connectinternetsolutions.com> (raw)
In-Reply-To: <4353BCC2.5040806@infinito.it>

Hi,

       The easiest way I can think of to do this is to add a line in
your access file (usually /etc/mail/access) like:

From:user@mydomain.com REJECT

but, depending on how you authenticate users, it can be bypassed quite
easily.  If you do try that method, don't forget to rebuild the access
db (makemap hash /etc/mail/access < /etc/mail/access).

Cheers

Adam


Luca Ferrari wrote:
> Hi,
> is there a way in sendmail to deny a user to send email, allowing she to 
> receive emails?
> 
> Thanks,
> Luca


      parent reply	other threads:[~2005-10-17 15:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-17 15:01 sendmail - dany a user to send email Luca Ferrari
2005-10-17 15:49 ` Carl
2005-10-17 15:54 ` Adam T. Bowen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4353C91B.7040101@connectinternetsolutions.com \
    --to=adam.bowen@connectinternetsolutions.com \
    --cc=fluca1978@infinito.it \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.