> Thanks Grayhat,
> In this case for outbound, I think the easiest way is to setup
> 'sendmail' mail server on the same ASSP box on deferent
> port number.
well... if you're running ASSP on the same box on which your
mailserver is running then... yes, the solution is to setup things
so that the sendmail (or in any case the MTA engine used to
route outbound email) will be listening on either a different port
or a different IP address (possibly a private one, not visible
from the internet)
> Which option on ASSP responsible of routing the outbound mail
> to 'sendmail' ?
> User -> Mailserver - > ASSP -> Sendmail -> internet
It's Under "Relaying", looking there you'll find
RelayHost which should point to "sendmail" IP:Port
RelayPort which is the port to which your mailserver will have
to connect when sending mail to the
"smarthost"
(which in this case is the ASSP)
this way your mailserver will forward all outbound messages to
IP:RelayPort this in turn will cause ASSP forwarding such messages
to RelayHost:Port where sendmail is listening
hope it's clear, but let me make an example
Let's say your box (mailserver + ASSP + sendmail) uses the IP
141.116.101.40 (just an example); let's also say the box also
has a "virtual NIC" with a private IP address, that is 10.0.0.1
Now, we'll setup things this way
* ASSP
ListenPort 141.116.101.40:25
smtpDestination 10.0.0.1:125
ListenPort2 141.116.101.40:587
smtpAuthServer 10.0.0.1:687
RelayPort 10.0.0.1:25
RelayHost 10.0.0.1:225
* MailServer
SMTP Listen on 10.0.0.1:125
SMTP-AUTH on 10.0.0.1:687
Forward to 10.0.0.1:25
* SendMail
Listen on 10.0.0.1:225
so the mail flow will be something like this
* Inbound (no AUTH)
internet -> 141.116.101.40:25 -> 10.0.0.1:125
* Inbound (with AUTH possibly on SSL/TLS)
internet -> 141.116.101.40:587 -> 10.0.0.1:687
* Outbound
10.0.0.1:dynamic -> 10.0.0.1:25 -> 10.0.0.1:225 -> Internet
that is, inbound connections will be received by ASSP on
the public IP and routed to the mailserver sitting on port
125 on the private IP, the same goes for authenticated
connections; outbound connections will be carried on by
the mailserver toward port 25 of the private IP on which the
ASSP is listening (relayport), ASSP will in turn forward the
traffic to the sendmail listening on the private IP, on port
125 which will in turn route the messages to the internet
Notice that the above is just one of the possible setups,
notice also that, if possible it would be a better idea using
a separate box for the ASSP since that would give you
a better degree of flexibility and also allow you to keep the
mailserver behind a firewall while only exposing the ASSP
box (e.g. from a "DMZ") to the internet
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user