republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Unix » Sendmail Config...
Search Topic:
Uniqs:
455
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
Bow Chica Wow Wow
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 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
Bow Chica Wow Wow
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
Bow Chica Wow Wow
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 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
Bow Chica Wow Wow
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.  


Sunday, 05-Jul 01:15:52 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 9.5 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [146] Biden Unveils Broadband Stimulus
· [95] AT&T: 65,000 SMS Sent Per SECOND
· [91] Compuserve Classic Says Goodnight
· [82] Thomas To Appeal Huge RIAA Fines
· [75] Obama Using NSA, AT&T For New Snooping Project
· [71] iPhone 3GS Already Jailbroken
· [70] Fourth Of July Open Thread
· [67] Verizon: Cut Your Landline To Save Money
· [61] Cable Carriers Miss Tru2Way Deadline
· [60] The Pirate Bay Gets Sold
Most people now reading
· Symantec executive: dangerous to run free antivirus [Security]
· Canada's slipping position on net access cost & speed [TekSavvy]
· NSA plans massive, 65MW, $2bn data center in Utah [Security]
· Bell Landline to go up by $2, will this apply to TSI as well [TekSavvy]
· Too many wrong number call on cell [General Questions]
· Linksys announces the WRT54GL's successor: WRT160NL [TekSavvy]
· Maximizing Rogue DPS for 3.1 [World of Warcraft]
· [NFL] Steve McNair Found Shot To Death [Sports Chat]
· wasp problemb [Home Repair & Improvement]