Networking Forums

Networking Forums > Computer Networking > Linux Networking > questions on sendmail?

Reply
Thread Tools Display Modes

questions on sendmail?

 
 
Pny
Guest
Posts: n/a

 
      02-20-2004, 05:58 PM
Suppose we have an address (E-Mail Removed), we want to block all emails sending
to (E-Mail Removed) coming from outside of domain def.com. Any simple solutions?
I think you only need to add a couple of lines to sendmail.cf.

Any suggestions would be greatly appreciated!

-pny



 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      02-20-2004, 08:14 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pny <(E-Mail Removed)> wrote:
> Suppose we have an address (E-Mail Removed), we want to block all emails sending
> to (E-Mail Removed) coming from outside of domain def.com. Any simple solutions?
> I think you only need to add a couple of lines to sendmail.cf.


You should never ever touch sendmail.cf unless you are really,
really sure you know what you are doing, but then you wouldn't
ask.

You could take a look at /usr/share/doc/sendmail/README.cf how to
setup the various ways of access control.

Personally, I'd use procmail, for something like this, try:

$ man -k procmail
procmail (1) - autonomous mail processor
procmailex (5) - procmail rcfile examples
procmailrc (5) - procmail rcfile
procmailsc (5) - procmail weighted scoring technique

Procmail should be already your LDA if running sendmail, if you
didn't really understood the above, you could start here:

http://www.sendmail.org/email-explained.html

Good luck

BTW
comp.mail.sendmail is the ng for sendmail related questions.

- --
Michael Heiming (GPG-Key ID: 0xEDD27B94)

Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of spam.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFANnjGAkPEju3Se5QRAqQgAJsHMl6IM5pAyY2QREkTeK diA+qhTgCfcRyL
ei5J17CosnB5EGW0szCSazQ=
=Uqop
-----END PGP SIGNATURE-----
 
Reply With Quote
 
ynotssor
Guest
Posts: n/a

 
      02-20-2004, 09:48 PM
"Pny" <(E-Mail Removed)> wrote in message
news:c15lcj$ih4$(E-Mail Removed)

> Suppose we have an address (E-Mail Removed), we want to block all emails
> sending to (E-Mail Removed) coming from outside of domain def.com. Any
> simple solutions? I think you only need to add a couple of lines to
> sendmail.cf.
>
> Any suggestions would be greatly appreciated!


http://www.sendmail.org/~ca/email/protected.html

*DO* *NOT* edit sendmail.cf. Add the rulesets given above to sendmail.mc
below the MAILER() definitions, then rebuild the sendmail.cf. Tabs are
required between the LHS and RHS of a ruleset.

tony

--
use hotmail for any email replies



-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting 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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MTA besides sendmail? Nietzsche Linux Networking 6 11-02-2006 01:02 AM
Sendmail nightmare frabas Linux Networking 0 02-17-2005 08:17 PM
Sendmail John Linux Networking 2 05-23-2004 08:07 PM
What could be blocking Sendmail? General Schvantzkoph Linux Networking 5 05-08-2004 04:20 AM
sendmail problem Peter Linux Networking 27 07-09-2003 03:58 AM



1 2 3 4 5 6 7 8 9 10 11