Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Unix » Sendmail Config...
Search Topic:
Uniqs:
496
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
[Ubuntu] Cannot start X-server, missing libfreetype.so.6 »
« Make variables uppercase in bash.  
AuthorAll Replies


muzscman
Mr. President
Premium,VIP
join:2002-02-15
Florissant, MO
clubs:
·AT&T U-Verse

Sendmail Config...

Okay...here's the deal. I want to block outbound emails that are not going to a certain list of domains. Does that make sense?

No? Like this.

I have Box A. I want Box A to only be able to send mail to joeblow@blow.com If it tries to send mail to joeblow@joe.com it won't work because joe.com isn't on the okay list.

I'm running sendmail-8.13.1-3.2.el4
Red Hat AS 4.6

Thanks in advance!
--
Mafia: »Pub Games
Remember the golden rule of the internet..it's the place where men are men, women are also men, and children are the FBI.


nwrickert
sand groper
Premium,MVM
join:2004-09-04
Geneva, IL
·AT&T U-Verse
·AT&T Midwest

You could use a mailertable. Put in an entry for each of the domains you want to use. An entry could be something like

blow.com esmtp:blow.com

Then use a default entry (key is ".") that generates an error message.

--
AT&T dsl; Westell 327w modem/router; openSuSE 11.0; firefox 3.0.3


muzscman
Mr. President
Premium,VIP
join:2002-02-15
Florissant, MO
clubs:
·AT&T U-Verse

said by nwrickert See Profile :

You could use a mailertable. Put in an entry for each of the domains you want to use. An entry could be something like

blow.com esmtp:blow.com

Then use a default entry (key is ".") that generates an error message.

Okay...I added my companies domain into the mailertable and ran makemap hash /etc/mail/mailertable /etc/mail/mailertable

I can email myself but I can still email outside of my domain...do I have to add something to the sendmail.mc and make the sendmail.cf file also


muzscman
Mr. President
Premium,VIP
join:2002-02-15
Florissant, MO
clubs:
reply to muzscman
from what i can tell it already uses that file:

FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl

That was in the sendmail.mc


nwrickert
sand groper
Premium,MVM
join:2004-09-04
Geneva, IL
·AT&T U-Verse
·AT&T Midwest

reply to muzscman
You will need a FEATURE(mailertable) line in your sendmail.mc file.

Did you add a default entry to your mailertable file, something like

. error:5.1.6:"550 Mail for %1 is not accepted

It might be a good idea to check that this doesn't interfere with local mail.

--
AT&T dsl; Westell 327w modem/router; openSuSE 11.0; firefox 3.0.3


muzscman
Mr. President
Premium,VIP
join:2002-02-15
Florissant, MO
clubs:
·AT&T U-Verse

said by nwrickert See Profile :

You will need a FEATURE(mailertable) line in your sendmail.mc file.

Did you add a default entry to your mailertable file, something like

. error:5.1.6:"550 Mail for %1 is not accepted

It might be a good idea to check that this doesn't interfere with local mail.

I forgot to add the default entry. I added it and it's working like a charm.

Thank you soooooooooooo very much.
-
Forums » Tech and Talk » OS and Software » All Things Unix[Ubuntu] Cannot start X-server, missing libfreetype.so.6 »
« Make variables uppercase in bash.  


Monday, 09-Nov 19:26:49 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [68] VoIP Over 3G Still Not Working For iPhone
· [55] Verizon Keeps Swinging At AT&T
· [32] Bill Would Force ISPs To Block Financial Scams
· [16] Mediacom Hints At 50, 100 Mbps Speeds
· [12] Clearwire To Get Another $1.5 Billion
· [9] 15 States Have Now Gotten Broadband Mapping Money
· [5] AT&T Launching New 7.2 Mbps 3G Modem
· [0] Monday Morning Links
Most people now reading
· Google Has Acquired Gizmo5 [VOIP Tech Chat]
· Divorce advice... [General Questions]
· 60 Minutes piece on cyber security last night [Security]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· My cat is reluctant to exercise. [General Questions]
· Blown out Ballasts [Home Repair & Improvement]
· Framed for child porn 151; by a PC virus [Security]
· Windows 7 boot manager editing questions [Microsoft Help]
· [WIN7] Which Services in Win 7 Have You Turned Off? [Microsoft Help]