Simple to do :)
First you only need to use smtpauth.tab file if you need to auth non xmail
mailbox users (that don't have a account in xmail), as xmail will firstly
lookup in mailusers.tab for xmail users credentials

To force Auth on xmail external listening ip add this line in server.tab
file

"SmtpConfig-aa.bb.cc.dd,25"     "MailAuth"

After this, any connection to aa.bb.cc.dd will force auth (or rejet if none
is done at start of smtp session)
- aa.bb.cc.dd is your external xmail ip
- eventualy replace 25 (after comma) with your smtp port if different
- eventualy add more lines if using others ports ie :
"SmtpConfig-aa.bb.cc.dd,587"    "MailAuth" (for port 587)
- to bee sure xmail only listen to thoses ips (including localhost) on
multihomed server (multiple ips on interfaces), configure xmail to listen
only to 127.0.0.1 and aa.bb.cc.dd (with multiple cmdline parameters -SI ie
: -SI 127.0.0.1:25 -SI aa.bb.cc.dd:25 -SI aa.bb.cc.dd:587 ...)

Francis


>-----Message d'origine-----
>De : [email protected]
>[mailto:[email protected]]De la part de Marcello Vezzelli
>Envoye : lundi 1 aout 2011 10:03
>A : [email protected]
>Objet : [xmail] smtp authentication configuration
>
>
>Hi to all,
>I'd like to configure xmail SMTP authentication in this way:
>- connections from localhost do not need authentication
>- connections from internet need authentication
>
>Now my SMTP listens only in localhost.
>
>In file SMTP.IPMAP.TAB I have to allow external connections,
>and that's ok.
>In file SMTPAUTH.TAB I have to specify SMTP users and permissions.
>
>I cannot find in the documentation any other hints about my desired
>configuration.
>
>Some hints?
>
>Thanks in advice.
>
>regards
>Marcello
>
>_______________________________________________
>xmail mailing list
>[email protected]
>http://xmailserver.org/mailman/listinfo/xmail
>

_______________________________________________
xmail mailing list
[email protected]
http://xmailserver.org/mailman/listinfo/xmail

Reply via email to