Hi,
i need to use xmail to made a openralay smtp server for my local network. i would like to use gmail smtp with authentication to send emails outside.
i achieved very easily this with postfix (on linux server) or mercury(on windows XAMPP), i'm having problems with xmail installed on my openwrt router:
i made installation with opkg and untar the MailRoot on usb drive, then configured /etc/config/xmail with the proper path to MailRoot.
in MailRoot i edited server.tab like this:
"DefaultSMTPGateways" "smtp.gmail.com"
...
"SmtpGwConfig" "NeedTLS=1"
and configured userauth/smtp/smtp.gmail.com.tab like:
"PLAIN" "myuser@gmail.com" "mypass"
once started xmail, i can deliver from my lan mail to xmail but then xmail doesn't deliver to gmail, this error is shown:
<<
ErrCode = -152
ErrString = End of socket stream data
SMAIL SMTP-Send MX = "smtp.gmail.com" SMTP = "xmailserver.test" From = "myuser@gmail.com" To = "myuser@gmail.com" Failed !
SMTP-Error = "417 Temporary delivery error"
SMTP-Server = "smtp.gmail.com"
>>
I seems than it doesn't try to use authentication versus gmail
please can someone help me?
thanks