Unix administration - Help: Stripping machine name from sendmail

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > September 2005 > Help: Stripping machine name from sendmail





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Help: Stripping machine name from sendmail
underh20

2005-08-26, 6:00 pm

Hi

I need to route all email via Sendmail at my Unix box through my
Exchange server, but the problem is that when the emails get relayed
they keep the machine name example. atlantis.crawford.com and some
sites do Reverse DNS on email addresses so they treat that address as
spam.

I need to find out how to stripe the machine name in sendmail so the
mail looks like @crawford.com.

Any idea how I can do that in sendmail ??

Thanks,

Bill

spam@steve.org.uk

2005-08-27, 5:50 pm

> I need to find out how to stripe the machine name in sendmail so the
> mail looks like @crawford.com.
>
> Any idea how I can do that in sendmail ??


From this article :

http://www.debian-administration.org/articles/63


You need to use "Dj" to setup the visible.hostname.org", eg:

# Set from address as @crawford.com
Djcrawford.com

Then setup the forwarding with 'DS', eg:

#
# "Smart" relay host (may be null)
DSexchange.mail.relay.example.com


Steve
--
Debian Systam Administration
www.debian-administration.org

Michael Heiming

2005-08-28, 7:48 am

[ Added comp.mail.sendmail and Followup-To -> comp.mail.sendmail ]

In comp.unix.admin spam@steve.org.uk:
[vbcol=seagreen]
> From this article :


> http://www.debian-administration.org/articles/63



> You need to use "Dj" to setup the visible.hostname.org", eg:


> # Set from address as @crawford.com
> Djcrawford.com


> Then setup the forwarding with 'DS', eg:


> #
> # "Smart" relay host (may be null)
> DSexchange.mail.relay.example.com


This isn't how one should configure sendmail, please never ever
touch sendmail.cf, edit sendmail.mc and generate sendmail.cf with
help of m4.

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | PERL -pe 'y/a-z/n-za-m/'
#bofh excuse 294: PCMCIA slave driver
base60

2005-09-07, 2:49 am

underh20 wrote:
> Hi
>
> I need to route all email via Sendmail at my Unix box through my
> Exchange server, but the problem is that when the emails get relayed
> they keep the machine name example. atlantis.crawford.com and some
> sites do Reverse DNS on email addresses so they treat that address as
> spam.
>
> I need to find out how to stripe the machine name in sendmail so the
> mail looks like @crawford.com.
>
> Any idea how I can do that in sendmail ??


Look at the masquerade
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com