| Edward Pike on Thu, 22 May 2003 14:28:35 -0400 |
|
if your using sendmail.mc ,
here's my formula for my local host
(the one at my desk) which relays
to the company's mail server:
(server names changed)
--------
define(`SMART_HOST',`relay.ourdomain.com')
FEATURE(`genericstable')
MASQUERADE_AS(ourdomain.com)
FEATURE(masquerade_envelope)
------------
note that difference between (`) and (')
(one is a forward quote and one is the
backward quote)
here, my desktop pretends to be ourdomain.com
(the MASQUERADE_AS line). This is the problem
right?
you can also force outgoing mail
to certain addresses by filling up
the genericstable file if you dont
want the masquerade_as line .
hope this helps.
On Thu, 2003-05-22 at 13:41, Chris Mann wrote:
> I'm trying to configure sendmail to relay through our current system.
> When sending a message, it recieves the message fine, however when
> sending it out to the relay it mangles the address to
> user@domain.com.domain.com. Any idea on where to fix this at?
>
> Here's what the mail log shows:
> May 22 13:58:57 iweb sendmail[9586]: h4MHwu8j009586:
> to=cmann@stonebridgebank.com, ctladdr=root (0/0), delay=00:00:01,
> xdelay=00:00:01, mailer=relay, pri=30300, relay=[127.0.0.1] [127.0.0.1],
> dsn=2.0.0, stat=Sent (h4MHwuHo009588 Message accepted for delivery)
>
> May 22 13:58:57 iweb sendmail[9590]: h4MHwuHo009588:
> to=<cmann@stonebridgebank.com.stonebridgebank.com>,
> ctladdr=<root@iweb.stonebridgebank.com> (0/0), delay=00:00:00,
> xdelay=00:00:00, mailer=relay, pri=30486,
> relay=webmail.stonebridgebank.com. [172.31.4.37], dsn=2.0.0, stat=Sent
> (Ok)
>
>
>
>
>
>
>
> Kindest,
>
> Christopher Mann
> Systems Administrator
> Stonebridge Bank
> 610.235.1515
> cmann@stonebridgebank.com
> http://www.stonebridgebank.com
> _________________________________________________________________________
> Philadelphia Linux Users Group -- http://www.phillylinux.org
> Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
> General Discussion -- http://lists.netisland.net/mailman/listinfo/plug
_________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion -- http://lists.netisland.net/mailman/listinfo/plug
|
|