linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sendmail - dany a user to send email
@ 2005-10-17 15:01 Luca Ferrari
  2005-10-17 15:49 ` Carl
  2005-10-17 15:54 ` Adam T. Bowen
  0 siblings, 2 replies; 3+ messages in thread
From: Luca Ferrari @ 2005-10-17 15:01 UTC (permalink / raw)
  To: linux-admin

Hi,
is there a way in sendmail to deny a user to send email, allowing she to 
receive emails?

Thanks,
Luca
-- 
Luca Ferrari
fluca1978@infinito.it

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sendmail - dany a user to send email
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Carl @ 2005-10-17 15:49 UTC (permalink / raw)
  To: Luca Ferrari, linux-admin

Luca,

Have a look at http://www.sendmail.org/m4/anti_spam.html#access_db

If the user has a static IP address you could just REJECT it in the access db.

You could also use SMTP AUTH and not give the user access.

Also you can check the comp.mail.sendmail 
newsgroup. A quick search produced some very similar
questions: 
http://groups.google.com/group/comp.mail.sendmail/search?group=comp.mail.sendmail&q=deny+local+user+sending+mail&qt_g=1&searchnow=Search+this+group.
Pay particular notice to Claus Aßmann's replies.

Regards
Carl


At 16:01 17/10/2005, you wrote:
>Hi,
>is there a way in sendmail to deny a user to 
>send email, allowing she to receive emails?
>
>Thanks,
>Luca
>--
>Luca Ferrari
>fluca1978@infinito.it
>-
>To unsubscribe from this list: send the line "unsubscribe linux-admin" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sendmail - dany a user to send email
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Adam T. Bowen @ 2005-10-17 15:54 UTC (permalink / raw)
  To: linux-admin; +Cc: Luca Ferrari

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-17 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).