Configuring the Solaris-supplied version of Sendmail
Okay, I don’t really like just ripping stuff off like this … but this was perfect and I didn’t want to lose track of it.
Brandon Hutchinson has some awesome stuff in his site … this was one of them:
I will configure the version of Sendmail (8.11.7) that was installed by default on a Solaris 8 system. Sendmail will be configured to use header sender and envelope sender address masquerading and a “smart host.”
On Solaris 9, substitute main.mc for main-v7sun.mc in the instructions.
1. Change to the directory containing the Sendmail configuration files.
cd /usr/lib/mail/cf
2. Make a copy of main-v7sun.mc as sendmail.mc, and make modifications to sendmail.mc.
cp main-v7sun.mc sendmail.mc
3. Configure sendmail.mc. In this example, we want to use the “smart host” smart_host.example.com and masquerade both the header sender and envelope sender addresses as example.com.
vi sendmail.mc
Insert the following entries before the MAILER lines:
define(`SMART_HOST’, `smart_host.example.com’)
MASQUERADE_AS(`example.com‘)
FEATURE(`masquerade_envelope’)
4. Build the sendmail.cf file from the sendmail.mc file.
# /usr/ccs/bin/m4 ../m4/cf.m4 sendmail.mc > sendmail.cf
5. Test the sendmail.cf file.
/usr/lib/sendmail -bt -C./sendmail.cf
Make sure that root is an “exposed user.” An exposed user is a user that will not be masqueraded. This is used when accounts, such as root, are not unique across systems.
> $=E
root
Test header sender and envelope sender masquerading:
> /tryflags HS
> /try esmtp user@host.example.com
Rcode = 0, addr = user@example.com
> /tryflags ES
> /try esmtp user@host.example.com
Rcode = 0, addr = user@example.com
6. Backup the existing sendmail.cf file.
cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.date
7. Install the new sendmail.cf file.
cp sendmail.cf /etc/mail/sendmail.cf
8. Sendmail the Sendmail process a SIGHUP to begin using the new configuration file.
kill -HUP `head -1 /var/run/sendmail.pid`
June 26th, 2010 at 10:12 pm
Pillspot.org. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.PillSpot.org. Vitamins@buy.online” rel=”nofollow”>.…
Categories: Pain Relief.Stomach.Anxiety/Sleep Aid.Eye Care.Mens Health.Antiviral.Antidepressants.Skin Care.Antibiotics.Weight Loss.Mental HealthAnti-allergic/Asthma.Vitamins/Herbal Supplements.Blood Pressure/Heart.Stop SmokingWomens Health.Antidia…
July 21st, 2010 at 10:43 pm
Buy:Prozac.Amoxicillin.Female Pink Viagra.Wellbutrin SR.Cozaar.Female Cialis.Lasix.Zocor.Advair.SleepWell.Seroquel.Lipothin.Acomplia.Lipitor.Benicar.Nymphomax.Ventolin.Aricept.Zetia.Buspar….
September 5th, 2010 at 1:14 pm
Buy:Zyban.Lumigan.Synthroid.Human Growth Hormone.100% Pure Okinawan Coral Calcium.Mega Hoodia.Zovirax.Retin-A.Prednisolone.Valtrex.Actos.Accutane.Petcam (Metacam) Oral Suspension.Arimidex.Nexium.Prevacid….
September 6th, 2010 at 9:36 am
Buy:Female Cialis.Aricept.Seroquel.Advair.Benicar.Prozac.Wellbutrin SR.Lipitor.Nymphomax.Cozaar.Zocor.Amoxicillin.Female Pink Viagra.Buspar.Acomplia.Lipothin.SleepWell.Zetia.Lasix.Ventolin….
September 7th, 2010 at 4:24 am
Buy:Benicar.Ventolin.Cozaar.Amoxicillin.Buspar.Aricept.Wellbutrin SR.Advair.Seroquel.Female Pink Viagra.Female Cialis.Acomplia.Prozac.Lasix.Lipitor.Nymphomax.Lipothin.SleepWell.Zocor.Zetia….
November 11th, 2010 at 12:51 am
…
BUY FASHION. TOP BRANDS: GUCCI, DOLCE&GABBANA, BURBERRY, DIESEL, ICEBERG, ROBERTO CAVALLI, EMPORIO ARMANI, VERSACE…
December 18th, 2010 at 5:26 am
████████►BUY VIAGRA◀███████…
████████▲▲▲▲▲▲▲▲▲████████…
December 18th, 2010 at 7:44 pm
████████►BUY CIALIS◀████████…
▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲…
December 21st, 2010 at 7:13 pm
Accupril…
Buygeneric drugs…
December 24th, 2010 at 12:35 pm
Abilify…
Buygeneric meds…
December 24th, 2010 at 6:24 pm
Abilify…
Buygeneric pills…
December 27th, 2010 at 6:25 pm
……
Buygeneric meds…
December 28th, 2010 at 7:53 am
fosamax@actonel.now” rel=”nofollow”>.…
Buynow…
December 28th, 2010 at 8:07 pm
shimmy@adalat.simone” rel=”nofollow”>..…
Buyit now…
December 28th, 2010 at 11:37 pm
Aleve@official.site” rel=”nofollow”>..…
Buyit now…
December 29th, 2010 at 6:21 pm
fruite@of.the.earth.aloe.vera.juice.sale” rel=”nofollow”>……
Buynow…
December 30th, 2010 at 7:20 pm
Avelox@official.site” rel=”nofollow”>……
Buyno prescription…
December 30th, 2010 at 9:42 pm
avodart@dosage.now” rel=”nofollow”>..…
Buygeneric meds…
January 5th, 2011 at 5:43 am
buy@cheap.viagra.in.uk” rel=”nofollow”>.…
Buywithout prescription…
January 6th, 2011 at 1:52 pm
generic@prescription.cialis.drug.availability” rel=”nofollow”>.…
Buygeneric drugs…
January 6th, 2011 at 11:48 pm
prozac@dangers.now” rel=”nofollow”>..…
Buygeneric drugs…
January 8th, 2011 at 2:20 am
……
Buynow it…
January 21st, 2011 at 7:22 am
Zyvox@official.site” rel=”nofollow”>..…
Buygeneric pills…
January 21st, 2011 at 2:06 pm
Depakote@official.site” rel=”nofollow”>.…
Buygeneric drugs…
January 21st, 2011 at 2:09 pm
Depakote@official.site” rel=”nofollow”>.…
Buygeneric drugs…
February 4th, 2011 at 8:27 am
zyban pill…
Buywithout prescription…
February 4th, 2011 at 10:44 am
xeloda information.gov…
Buyit now…
February 5th, 2011 at 10:20 pm
buy zithromax online…
Buyno prescription…
February 6th, 2011 at 2:01 am
buy zinc anode everett wa…
Buygeneric meds…
February 6th, 2011 at 7:54 am
other names for trazodone…
Buyno prescription…
February 6th, 2011 at 10:46 am
Zetia…
Buyno prescription…
February 6th, 2011 at 4:33 pm
zantac infant…
Buyit now…
February 6th, 2011 at 10:42 pm
quinapril…
Buyit now…
February 7th, 2011 at 10:58 am
Zocor…
Buygeneric drugs…
February 7th, 2011 at 6:13 pm
Vitamin B…
Buydrugs without prescription…
March 4th, 2011 at 4:37 am
Lexapro…
Buygeneric drugs…
March 4th, 2011 at 7:25 am
Vitamin B…
Buynow it…
March 4th, 2011 at 8:07 am
where to buy lamisil…
Buygeneric drugs…
March 5th, 2011 at 4:15 am
pharmacokinetics of zyrtec…
Buyit now…
March 6th, 2011 at 11:37 am
Risperdal…
Buyit now…
March 7th, 2011 at 4:12 am
arthritis orlistat…
Buyno prescription…
March 7th, 2011 at 6:41 am
Eye Drops…
Buynow…
March 7th, 2011 at 8:50 am
Omnicef…
Buynow it…
March 7th, 2011 at 8:48 pm
Ribavirin…
Buygeneric drugs…
March 8th, 2011 at 5:23 am
Rogaine…
Buygeneric meds…
March 8th, 2011 at 5:34 am
Synthroid…
Buygeneric pills…
March 8th, 2011 at 2:54 pm
Retin A…
Buywithout prescription…
March 8th, 2011 at 5:26 pm
Remeron…
Buyno prescription…
March 9th, 2011 at 12:02 am
purim suddah…
Buygeneric meds…
March 9th, 2011 at 9:51 am
Seroquel…
Buygeneric drugs…
March 9th, 2011 at 11:56 am
how much benadryl to take with zyrtec…
Buydrugs without prescription…
March 9th, 2011 at 11:11 pm
can i take expired zyrtec…
Buygeneric drugs…
March 10th, 2011 at 1:29 am
Eye Drops…
Buyno prescription…
March 10th, 2011 at 6:44 am
savella cheap canada…
Buyno prescription…
March 10th, 2011 at 4:04 pm
savella diabetes blood sugar…
Buygeneric drugs…
March 11th, 2011 at 3:24 pm
Paxil…
Buygeneric drugs…
March 28th, 2011 at 11:42 pm
Pulmicort@Pulmicort.Pulmicort” rel=”nofollow”>.…
Buynow it…
March 29th, 2011 at 5:29 am
Synthroid@Synthroid.Synthroid” rel=”nofollow”>.…
Buynow it…
March 29th, 2011 at 4:30 pm
Purim@Purim.Purim” rel=”nofollow”>..…
Buynow…
March 30th, 2011 at 2:06 pm
Synthroid@Synthroid.Synthroid” rel=”nofollow”>..…
Buynow it…
March 30th, 2011 at 3:50 pm
symbicort@official.us.website” rel=”nofollow”>……
Buygeneric drugs…
March 30th, 2011 at 6:54 pm
Spiriva@Spiriva.Spiriva” rel=”nofollow”>..…
Buyno prescription…
March 31st, 2011 at 1:13 am
Seroquel@Seroquel.Seroquel” rel=”nofollow”>..…
Buynow it…
March 31st, 2011 at 7:28 am
Coumadin@Coumadin.Coumadin” rel=”nofollow”>.…
Buyno prescription…
March 31st, 2011 at 2:10 pm
Synthroid@Synthroid.Synthroid” rel=”nofollow”>.…
Buynow…
March 31st, 2011 at 5:25 pm
Seroquel@Seroquel.Seroquel” rel=”nofollow”>..…
Buywithout prescription…
March 31st, 2011 at 11:10 pm
Pulmicort@Pulmicort.Pulmicort” rel=”nofollow”>..…
Buygeneric meds…
April 1st, 2011 at 8:06 pm
……
Buygeneric meds…
April 2nd, 2011 at 7:25 am
.…
Buygeneric pills…
April 2nd, 2011 at 10:33 am
……
Buywithout prescription…
April 3rd, 2011 at 1:13 am
pyridium@can.cause.low.blood.sugar” rel=”nofollow”>.…
Buygeneric drugs…
April 3rd, 2011 at 5:33 am
chantix@vs.zyban” rel=”nofollow”>..…
Buyit now…
April 3rd, 2011 at 6:51 am
reglan@black.box” rel=”nofollow”>……
Buydrugs without prescription…
April 3rd, 2011 at 7:39 am
cipro@causes.problems” rel=”nofollow”>.…
Buygeneric drugs…
April 3rd, 2011 at 4:01 pm
retin@a.cheap.no.prescription” rel=”nofollow”>..…
Buygeneric drugs…
April 4th, 2011 at 12:25 am
.…
Buyno prescription…
April 4th, 2011 at 7:30 am
high@dose.dexamethasone.induction” rel=”nofollow”>..…
Buydrugs without prescription…
April 5th, 2011 at 5:54 am
order@altace.cod” rel=”nofollow”>..…
Buynow…
April 5th, 2011 at 1:53 pm
otc@nasonex.alternative” rel=”nofollow”>……
Buynow…
April 6th, 2011 at 8:47 am
flexeril@gain.weight” rel=”nofollow”>.…
Buygeneric drugs…
April 6th, 2011 at 8:49 am
premarin@cream.comments” rel=”nofollow”>……
Buyit now…
April 6th, 2011 at 1:00 pm
……
Buyno prescription…
April 6th, 2011 at 8:57 pm
……
Buygeneric drugs…
April 7th, 2011 at 10:53 am
..…
Buyit now…