Community discussions

MikroTik App
 
randyloveless
Member Candidate
Member Candidate
Topic Author
Posts: 207
Joined: Thu Sep 30, 2004 10:14 am
Location: california
Contact:

error sending email

Fri May 06, 2005 9:41 pm

Posted: Fri May 06, 2005 9:37 pm Post subject: email error

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

cannot send email , i keep getting

system error error sending email . error connectiing to server

what does this mean and how do i correct the issue.


the script i am using for testing is this one

export file=BackUp; /tool e-mail send file=BackUp to=83180971xx@vt
ext.com subject=([/system identity get name] . " " . [/system clock get time] . " " . [/system clock get date] . " Backup");

i have tried other email addresses same issue . i think i am setting something incorrectly .





Randy
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Mon May 09, 2005 10:16 am

Just a few ideas:
is the DNS service configured?
firewall configuration
mail server may require authentication

Eugene
 
randyloveless
Member Candidate
Member Candidate
Topic Author
Posts: 207
Joined: Thu Sep 30, 2004 10:14 am
Location: california
Contact:

Mon May 09, 2005 11:53 am

i figured it our . what i was doing or not doing was telling my MT to send thru a particual server . . i was not specifing server=ip or server.

atleast this fixed the issue.

i got anoter question . is it possible to send a secure email . our emailservers require authentication . i bypassed it for my email address but this is really not the best way to fix the issue. can we send user name and password securely to authenicate ?

Randy
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26379
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Mon May 09, 2005 11:55 am

no SMTP authentication is possible, sorry.
 
GJS
Member
Member
Posts: 418
Joined: Sat May 29, 2004 4:07 pm
Location: London

Wed May 11, 2005 7:28 pm

I haven't actually tried this but you should just be able to use the SMTP server that handles mail for your domain to receive a message from MT without authentication. For example, when someone sends you a message from say, anyone@yahoo.com, they do not know the user name and password for your SMTP server, but the server accepts the message if the receipient is local. It should only be relaying that requires a password e.g. anyone@yahoo.com asks your SMTP server to forward a message to anyone@google.com. This is what you are doing when you use your SMTP server to send email out.

So, try setting the server in MT to the SMTP server which handles mail for your domain. It should work without user name and password.
 
randyloveless
Member Candidate
Member Candidate
Topic Author
Posts: 207
Joined: Thu Sep 30, 2004 10:14 am
Location: california
Contact:

Thu May 12, 2005 7:33 am

that does work . but our server is setup with if local but not authenicate reject. just more secure. but i did test it that does work.

Randy
 
GJS
Member
Member
Posts: 418
Joined: Sat May 29, 2004 4:07 pm
Location: London

Tue May 17, 2005 12:53 am

Thanks. Good to know it works if your mail server allows it.

Who is online

Users browsing this forum: No registered users and 25 guests