>Because we were spammed in the past, we have our security set to
>only relay local hosts.
hmmm, this is called a "non sequitur" and you will be hijacked as an
open-relay in future. Be patient. "Build an open relay, and they will come"
>The authentication for each domain is iMail database.
>I would like to include a set domain which can also relay mail,
>which is NOT managed by iMail.
"relay mail" means that the relayed (destination) domain cannot be on
Imail, as you found out. And Imail will not allow you to break into
the relaying process, with CF.
>It is actually another application (ColdFusion) which attaches on
>and puts mail to be sent on the server. The return address is the
>email address including the domain of the user, which is managed by
>their mail server. So iMail refuses to send out the mail.
your "word problem" isn't clear, or maybe I need to go back to 4th grade.
>I have found that if I add the domain as a host, it will allow the
>mail to go through, however, I cannot send mail to anyone in that
>domain, because iMail sees it as a local host and will not forward
>the mail to the real mail server for that domain!!!
I'm not real sure what you're trying to do here and what msg header
has to contain what, but I can't see how your difficulties with Imail
doing all of this can be overcome.
What you can do is give the sender a special Imail mailbox (and
perhaps sub-mailboxes) with program aliases on them. This mailbox
can be on any local mail host in Imail. The sender sends a msg to
the program alias mailbox, where the mailbox program alias is something like
cf.exe mailrelay.cfm
Imail accepts the msg as local and passes it to the above commmand.
In mailrelay.cfm, you process the msg AND change the RCPT TO: so it
goes to the remote, non-Imail domain. And then have CFMail or
whatever SMTP tag you use send the msg to Imail for delivery, rather
than have CFMail delivery the msg directly. Imail will log both the
incoming and outgoing msg in Imail's log file, which I bet you would
find useful for tracking purposes.
>I have tried under management to add IPs. The setting of relay only
>local hosts, with the edit local hosts, and adding the ip of the
>application that connects to the iMail server, and then starting and
>stopping the service. I thought iMail would allow all emails
>generated from this one IP address added to the table would be allowed through.
no, Imail's SMTPD server listens on all ip's that it finds in the NT
tcp/ip stack.
>I thought about having an external database, but it still needs to
>be attached to a host, and I still wind up not being able to send to
>the domain listed on the host.
>
>Is this explanation clear enough, and can what I want done be accomplished?
In my suggested approach, have the sender put a password at the top
of the msg body so CF can authenticate the mail. CF removes the
password before re-sending. By putting another "control info" in the
msg body, you can control CF's processing.
Len
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/