Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sendmail -> isp with auth how to ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
fzxdude
n00b
n00b


Joined: 13 Jun 2004
Posts: 72

PostPosted: Sun Jun 13, 2004 1:42 pm    Post subject: sendmail -> isp with auth how to ? Reply with quote

Ok ... I like many others on here am getting p'ed off by the sorbs/maps/spamhaus 1337 idiots

anyways ... needless to say I'm looking to forward my mail via my isp to the outside world (no problem rx ... just in tx) ... I've seen all the stuff about smart_host but what do i do to get it to auth ?
Back to top
View user's profile Send private message
Z?
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2003
Posts: 118
Location: Waterloo, Ontario, Canada

PostPosted: Sun Jun 13, 2004 3:09 pm    Post subject: Reply with quote

I'm not entirely sure how to do this with sendmail, but it's pretty simple with postfix:

http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailservers.html
Back to top
View user's profile Send private message
fzxdude
n00b
n00b


Joined: 13 Jun 2004
Posts: 72

PostPosted: Sun Jun 13, 2004 3:49 pm    Post subject: Reply with quote

well i dont mind switching to postfix if sendmail isn't configurable

portage does make it particularily easy to do so
Back to top
View user's profile Send private message
Oopsz
Guru
Guru


Joined: 08 Oct 2002
Posts: 340

PostPosted: Mon Jun 14, 2004 12:05 am    Post subject: Reply with quote

try ssmtp or nullmailer
_________________
Pop-before-SMTP with the Gentoo Virtual Mailhosting Guide
Back to top
View user's profile Send private message
fzxdude
n00b
n00b


Joined: 13 Jun 2004
Posts: 72

PostPosted: Thu Jun 24, 2004 1:33 am    Post subject: Reply with quote

ok i figured it out all for myself =)

add these lines to /etc/mail/sendmail.mc

Code:
FEATURE(`authinfo')
FEATURE(relay_hosts_only)dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
define(`confAUTH_OPTIONS', `A p')dnl
TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl


then run:
Code:
m4 /etc/mail/sendmail.mc >/etc/mail/sendmail.cf


then edit /etc/mail/access
Code:
AuthInfo:smtp.yourisp.net "U:username" "I:username" "P:password" "M:CRAM-MD5 CLIENT PLAIN LOGIN"
localhost.localdomain           RELAY
localhost                       RELAY
127.0.0.1                       RELAY


then run:
Code:
makemap hash /etc/mail/access < /etc/mail/access


then edit /etc/mail/authinfo
Code:
AuthInfo:smtp.yourisp.net "U:username" "I:username" "P:password" "M:CRAM-MD5 CLIENT PLAIN LOGIN"


then run:
Code:
makemap hash /etc/mail/authinfo < /etc/mail/authinfo


then edit /etc/mail/mailertable
Code:
.com   smtp:smtp.yourisp.net
.ca   smtp:smtp.yourisp.net
.org   smtp:smtp.yourisp.net
.net   smtp:smtp.yourisp.net
.edu   smtp:smtp.yourisp.net


then run:
Code:
makemap hash /etc/mail/mailertable < /etc/mail/mailertable
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum