On Fri, 1 Aug 2003, Mark Haney wrote: > Gerry Doris wrote: > > I believe the only way around this is to have your mail server > > authenticate with the hotmail server. You might be able to use > > sendmail's access database for this. I do this for some server I > > send to. > > > > Gerry > > Can you show/tell me how to get started on that? Web page to look at, > FAQ anything? Like I said, I'm a newbie at sendmail having used postfix > for years, but sendmail does what I want on this box, which is SEND > mail. It's not a mail server as such.
I'm assuming you're using sendmail in either RH 8.0 or 9. In other words one of the newer releases. sendmail in RH 7.3 uses a different way to handle authentication (not the access database). You can read all about it in your sendmail doc's. Look for Authentication in (/usr/share/doc/sendmail*/README.cf. Here's a sample of a /etc/mail/access file that allows relaying from the localhost and DROPs all mail from the 218.70.xxx.xxx addresses (a Chinese subnet that attempts to send me lots of spam). Notice the AuthInfo line (which should be all on one line but my mail client wrapped it). The userid and password must be valid but not necessarily of the person sending the email. I've not tried this with hotmail but it works for other servers that require authentication. Once you add the correct information you need to do a makemap -hash /etc/mail/access < /etc/mail/access to update the access.db. It is not necessary to restart sendmail. # Check the /usr/share/doc/sendmail-8.11.6/README.cf file for a description # of the format of this file. (search for access_db in that file) # The /usr/share/doc/sendmail-8.11.6/README.cf is part of the sendmail-doc # package. # # by default we allow relaying from localhost... localhost.localdomain RELAY localhost RELAY 127.0.0.1 RELAY 218.187 DROP AuthInfo:mail.server.com "U:userid" "I:userid" "P:user_passwd" "R:mail.server.com" -- Gerry "The lyfe so short, the craft so long to learne" Chaucer -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list