Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to relay, with Auth

Status
Not open for further replies.

neillans

Programmer
Aug 18, 2002
1
GB
Hi,

I'm setting up a webserver, and have installed SendMail 8.11.

All was going well, I managed to get AUTH LOGIN setup for outlook and everything.
BUT, when I connect to the server to send mail, and try to relay, I get the relay denied whether I am authenticated or not.

What I want to do is have it setup so that I can relay if I am authenticated.

I'm a newbie to Sendmail.

Server: mail.abcccomputers.co.uk

Please help!

Andy
 
Do you have relaying allowed in your sendmail.cf file? Be sure you don't allow promiscuous relaying if the server is to be connected to the 'net.

Octalman


 
By default, Sendmail 8.11.x versions hav antispamming features enabled (that is, relaying is disabled by default). Have you added the feature RELAY_ENTIRE_DOMAIN or RELAY_HOSTS_ONLY feature while compiling (m4) and generating the sendmail.cf file?

SMTP AUTH has nothing to do with relaying.

Just check out and add the above feature if its not there.. let us know..

Regds,

- Hemant
Networking and Systems Integration Group
Satyam Computer Services Ltd
 


"You can require the use of SMTP AUTH for relaying by simply turning off other means of relaying for incoming mail, e.g., the access map or class R. That is, if you have my.domain in /etc/mail/relay-domains or

my.domain RELAY


in the access map, then remove the entry from class R (/etc/mail/relay-domains) and use

To:my.domain RELAY


in the access map.

Requiring SMTP AUTH for all mails is in general a bad idea, because then you cannot receive mails from other users (since the cannot authenticate). So you must do this only on a server that is solely intended for your own users to send mail, not for a publically advertised (via MX records) server."





I'm about to attempt the same thing. What is the best way to allow authenticated users to relay? I was going to try SMTP AUTH or Cyrus SASL.


ChrisP ------------------------------------------------------------------------------
If somebody helps you, please vote for them for "Tipmaster of the Week" by giving them a "purple star". This can be done by clicking the "Mark this post as a helpful/expert post" button.
 
I haven't tried this yet, but the POP-before-SMTP idea seems like the best way to allow authenticated users to relay. What do the Sendmail experts think?




ChrisP ------------------------------------------------------------------------------
If somebody helps you, please vote for them for "Tipmaster of the Week" by giving them a "purple star". This can be done by clicking the "Mark this post as a helpful/expert post" button.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top