I'm not sure where this should really go (arguably on different site altogether) so I'm putting it here in the hope that if it's in the wrong place it will get modded to the right place.

I'm trying to set up the system so some emails get processed by mail2.thesite.com rather than the default dev1.thesite.com. I have been using an smtp class to open a socket and do all that messy stuff manually, but I'd like a way of doing it through the default mail command.

I've been looking at command line switches for Sendmail to try to get it to give it to mail2.thesite.com rather than just dumping it in the local mail queue but can't seem to find anything relevant.

NB. It's a Linux box so I can't set the SMTP ini config option.

Any Ideas?
Bubble

    Write a Reply...