Quick Sendmail Q
Discussion
Hi, on one of my linux boxes I've got mutt running via sendmail to send a report file out every 15 mins. now this works fine, and sendmail sends everything via the exchange server using smart host.
THe sendail.mc is setup with
Smarthost - the exchange server
masqurade - thedomain.com
cw - thedomain.com
now normally this works fine and the mail comes out as user@thedomain.com even though its actually originating from the linux box and all hunky dory.
the trouble is I now want to run another report that send mail to people on the exchange server on that domain
i.e fred@thedomain.com
Im getting an unknown user error as i assume its trying to find the accounts on the unix box rather than sending them out to the exchange server...
I need the outgoing stuff to be identified as comming from thedomain.com for auto processing at the other end.
any ideas is it the cw setting?
Cheers
Graham
THe sendail.mc is setup with
Smarthost - the exchange server
masqurade - thedomain.com
cw - thedomain.com
now normally this works fine and the mail comes out as user@thedomain.com even though its actually originating from the linux box and all hunky dory.
the trouble is I now want to run another report that send mail to people on the exchange server on that domain
i.e fred@thedomain.com
Im getting an unknown user error as i assume its trying to find the accounts on the unix box rather than sending them out to the exchange server...
I need the outgoing stuff to be identified as comming from thedomain.com for auto processing at the other end.
any ideas is it the cw setting?
Cheers
Graham
Hmmm. If you've got a smarthost defined, it should send all the mail there for delivery, except for local accounts. You don't have an account for "fred" on the local host but no mailbox, do you?
(I would say that I gave up with sendmail years ago and installed Postfix in its place - it's way superior.)
(I would say that I gave up with sendmail years ago and installed Postfix in its place - it's way superior.)
Yeah I think for some reason its using thedomain.com as the local domain and trying to send it internally. no the users dont exist on the unix box...
I'd better check the lan settings on the unix box to see what thats set up as, although im 99.9% certain if its anything it will not be thedomain.com as that is a relativly new change well after the box was commissioned
G
I'd better check the lan settings on the unix box to see what thats set up as, although im 99.9% certain if its anything it will not be thedomain.com as that is a relativly new change well after the box was commissioned
G
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


