Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250965 - SMTP Auth would be great
Summary: SMTP Auth would be great
Status: RESOLVED NEEDINFO
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/fr/virt-mai...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-14 19:40 UTC by David Berard
Modified: 2010-07-20 08:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Berard 2008-12-14 19:40:34 UTC
on chapiter 4 : Cyrus-sasl 

With this configuration if you are not listed in mynetworks, you can't send any mail.
Add smtp auth with sasl linked to the mysql database.

/etc/sasl2/smtpd.conf :

pwcheck_method: auxprop 
auxprop_plugin: sql 
allowanonymouslogin: no 
allowplaintext: yes 
mech_list: PLAIN LOGIN 
password_format: clear 
sql_user: mailsql 
sql_passwd: $password
sql_hostnames: localhost 
sql_database: mailsql 
sql_select: SELECT clear FROM users WHERE email = '%u@%r' 
#log_level: 10 
#sql_verbose: yes

(sorry for my bad english)

Reproducible: Always
Comment 1 nm (RETIRED) gentoo-dev 2009-07-16 23:57:51 UTC
CCing the net-mail team.

Folks, is this something we need to add to the guide?
Comment 2 Dawid Węgliński (RETIRED) gentoo-dev 2009-12-02 11:48:17 UTC
Then you could also provide configuration backends for ldap/krb5/postgresql and i don't think it's good idea. As far as i understand your provide basic setup, not every custom.

mech_list: PLAIN LOGIN
pwcheck_method: saslauth

should be enough. mynetworks is the other story.
Comment 3 Dawid Węgliński (RETIRED) gentoo-dev 2009-12-02 11:53:44 UTC
(In reply to comment #2)
> Then you could also provide configuration backends for ldap/krb5/postgresql 

Err, please discard this. I misread the subject of this doc.
Comment 4 nm (RETIRED) gentoo-dev 2010-07-20 08:46:08 UTC
Sorry, but we need something that's a bit more clear. If you could provide a paragraph or two that explains the configuration, we can add it to the guide. You also need to state exactly what and where your changes should go, and at what point in the configuration process.