hi, Anyone have a ruleset for sendmail where a person not using the network connection (x) to use (x)'s sendmail to sendmail out to people not within the network (x). So currently a person using aol or netzero that use (x)'s smtp server can sendmail to people within the (x)'s network but can not sendmail out side the network. I am thinking maybe a person outside a network will have to check their email before they sendmail out utlizing network's smtp server.. is that possible? henry
On Wednesday 21 April 2004 11:10, Henry Tang wrote:
hi,
Anyone have a ruleset for sendmail where a person not using the network connection (x) to use (x)'s sendmail to sendmail out to people not within the network (x).
So currently a person using aol or netzero that use (x)'s smtp server can sendmail to people within the (x)'s network but can not sendmail out side the network.
I am thinking maybe a person outside a network will have to check their email before they sendmail out utlizing network's smtp server.. is that possible?
henry
What you describe is the norm, outside users can NOT use your sendmail except to send mail to YOU or someone who has an account on your machine. There are several ways to allow this, 1) Open Relay (which will get you suspended from your service provider and shut down very quickly as your machine will become a spam relay. Don't do this, Don't even think about it. 2) pop-auth where you set up your sendmail to authorize sending mail for anyone that does a POP request immediatly prior to sending 3) SMTP Auth, which means your mail user agent (kmail, Eudora, even (gag) outlook has to log into the smtp server before it is allowed to send. The last one is the best, and it can be a bit of a struggle to get it working because of some ambiguities in the docs. I'm hopeing SuSE 9.1 makes this much easier, cuz it took me 3 days in 8.2. -- _____________________________________ John Andersen
Thanks for the info.. option 3 sounds very good. To get option 3 working is this something for the sendmail ruleset that i have to change (sendmail.cw?) thanks henry On Wed, 21 Apr 2004, John Andersen wrote:
On Wednesday 21 April 2004 11:10, Henry Tang wrote:
hi,
Anyone have a ruleset for sendmail where a person not using the network connection (x) to use (x)'s sendmail to sendmail out to people not within the network (x).
So currently a person using aol or netzero that use (x)'s smtp server can sendmail to people within the (x)'s network but can not sendmail out side the network.
I am thinking maybe a person outside a network will have to check their email before they sendmail out utlizing network's smtp server.. is that possible?
henry
What you describe is the norm, outside users can NOT use your sendmail except to send mail to YOU or someone who has an account on your machine.
There are several ways to allow this,
1) Open Relay (which will get you suspended from your service provider and shut down very quickly as your machine will become a spam relay. Don't do this, Don't even think about it.
2) pop-auth where you set up your sendmail to authorize sending mail for anyone that does a POP request immediatly prior to sending
3) SMTP Auth, which means your mail user agent (kmail, Eudora, even (gag) outlook has to log into the smtp server before it is allowed to send.
The last one is the best, and it can be a bit of a struggle to get it working because of some ambiguities in the docs. I'm hopeing SuSE 9.1 makes this much easier, cuz it took me 3 days in 8.2.
-- _____________________________________ John Andersen
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Thursday 22 April 2004 05:40, Henry Tang wrote:
Thanks for the info.. option 3 sounds very good. To get option 3 working is this something for the sendmail ruleset that i have to change (sendmail.cw?)
thanks henry
3) SMTP Auth, which means your mail user agent (kmail, Eudora, even (gag) outlook has to log into the smtp server before it is allowed to send.
No, the less you mess with sendmail the better off you will be ;-) Most SuSE sendmail installs (I tried 8.1 and 8.2) are set up to allow smtp-auth if configured, but Yast does not do very much of this work for you, and therefore a lot of googling was needed. You have to install a few packages... Sasl or sasl2 (depending on your version of SuSE. I have it working with both. With sasl2 there is another daemon involved compared to sasl, but I can send you samples for both. You also need starttls package (I think its openssl If I recall correctly). And you have to run thru the setup for starttls, (creating a certificate etc...). This was easy, but poorly documented, and the only examples I found by google were RedHat and I had to deduce some of the steps. Best to install those two packages from your Boxed set before you begin. I was only able to get sasldb method to work (sasl supports several methods of authentication, but only the data base method seems reliable. google topics: sasl starttls smtp auth suse See also /usr/share/doc/packages/cyrus-sasl or (or depending on version...) /usr/share/doc/packages/cyrus-sasl2 I think I have this stuff book marked somewhere on a machine at work, I'll check for you tomorrow if you want , send me email off-list. -- _____________________________________ John Andersen
participants (2)
-
Henry Tang
-
John Andersen