XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > Documentation and Knowledge Base > How to forward to server with authentication


Posted by: atomant Nov 21 2003, 02:12 PM
In smtpfw.tab enter:
"*"[tab]"smtp.i-cable.com"[newline]

Create a file called smtp.i-cable.com.tab and put inside:
"plain"[tab]"login"[tab]"pass"[newline]

Put this file in $MAIL_ROOT/userauth/smtp directory.
"plain" can be also "login", "cram-md5" or "external" - it is the type of authentication.

Note [tab] is a real TAB character and [newline] is real RETURN.
"login" is your username for ISP smtp and "pass" is the password for that username.

Posted by: osward Nov 21 2003, 02:24 PM
Thanks for the tips,

I had do what you've told me on smtpfwd.tab and smtp.i-cable.com.tab

By I am still getting the error as follow:

[PeekTime] 1069419034 : Fri, 21 Nov 2003 20:50:34 +0800
<<
ErrCode = -81
ErrString = [MAIL FROM:] not permitted by remote SMTP server
ErrInfo = 550 5.7.1 Access denied
SMAIL SMTP-Send MX = "mailin2.i-cable.com." SMTP = "osward.net" From = "osward@osward.net" To = "olau@i-cable.com" Failed !
SMTP-Error = "550 5.7.1 Access denied"
SMTP-Server = "mailin2.i-cable.com."
>>

Any idea what might went wrong?

Thanks in advance for your time

Regards

Posted by: atomant Nov 21 2003, 02:27 PM
Check for tabs...some txt editors convert tabs into spaces and this won't work.

Posted by: osward Nov 22 2003, 07:49 AM
I use WordPad to edit the file which I think is OK.

I had tried "plain" , "login" and "cram-md5" but still couldn't authenticate with my isp smtp server. What is the difference of different kind of authentication means. Maybe I should read about the manual again to use "external".

Any suggestion?

Thanks is advance for the time

Posted by: bim Nov 22 2003, 11:46 AM
Are you sure you will be able to send that mail using your ISP's SMTP if you authenticate? It seems a wild guess to me.

Basicly the general idea is that, if you can send it with your e-mail program directly to your ISP's SMTP, then you should be able to send it via XMailserver to that SMTP in just the same way. I've never heard of an SMTP-server checking for extra "received" headers (which are the only difference between directly sending it and having it pass through XMailserver), so there shouldn't be any difference.

- Did you test it with an e-mail program directly to your ISP's SMTP (using the same FROM-address, obviously). If that doesn't work either, I don't think ik will ever work.
If that does work without having to authenticate, you shouldn't authenticate with XMailserver either.
- Is the FROM-address a valid internet address, or an e-mail address that only works in your LAN? Lots of ISP's will check if the FROM address is valid and can receive mails. If yours is an internal address, you'll never be able to use it as a FROM address on the internet.
- Does your ISP also block outgoing on port 25? If not, have XMailserver send the mail directly to its destination and don't use your ISP's SMTP.

Posted by: atomant Nov 22 2003, 01:42 PM
Or you can ask you friend to relay your mail server as he is already relaying it for incoming.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)