View previous topic :: View next topic |
Author |
Message |
fzxdude n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/6th Day/movie_the_6th_day_adam_gibson.gif)
Joined: 13 Jun 2004 Posts: 72
|
Posted: Sun Jun 13, 2004 1:42 pm Post subject: sendmail -> isp with auth how to ? |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Z? Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1215207793425e63f979f49.png)
Joined: 22 Jan 2003 Posts: 118 Location: Waterloo, Ontario, Canada
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fzxdude n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/6th Day/movie_the_6th_day_adam_gibson.gif)
Joined: 13 Jun 2004 Posts: 72
|
Posted: Sun Jun 13, 2004 3:49 pm Post subject: |
|
|
well i dont mind switching to postfix if sendmail isn't configurable
portage does make it particularily easy to do so |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Oopsz Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 08 Oct 2002 Posts: 340
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fzxdude n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/6th Day/movie_the_6th_day_adam_gibson.gif)
Joined: 13 Jun 2004 Posts: 72
|
Posted: Thu Jun 24, 2004 1:33 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|