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 -> How to forward to server with authentication

Closed TopicStart new topicStart Poll

> How to forward to server with authentication
atomant
Posted: Nov 21 2003, 02:12 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



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.


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
osward
Posted: Nov 21 2003, 02:24 PM
Quote Post


Newbie
*

Group: Members
Posts: 12
Member No.: 567
Joined: 5-May 03



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
PMEmail Poster
Top
atomant
Posted: Nov 21 2003, 02:27 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



Check for tabs...some txt editors convert tabs into spaces and this won't work.


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
osward
Posted: Nov 22 2003, 07:49 AM
Quote Post


Newbie
*

Group: Members
Posts: 12
Member No.: 567
Joined: 5-May 03



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
PMEmail Poster
Top
bim
Posted: Nov 22 2003, 11:46 AM
Quote Post


Advanced Wizard
**********

Group: Members
Posts: 489
Member No.: 297
Joined: 6-October 02



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.
PM
Top
atomant
Posted: Nov 22 2003, 01:42 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



Or you can ask you friend to relay your mail server as he is already relaying it for incoming.


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Documentation and Knowledge Base | Next Newest »

Closed TopicStart new topicStart Poll