LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-10-2006, 09:19 AM   #1
Lobbezoo
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Rep: Reputation: 0
not so 'remote' mail sending


Hi,

I do the following:
On a remote server (debian, exim, mysql, ftp...) we have a Mysql database.
In the database we store a program (rekall based) to manage our small offices (10).
So, we start rekall on a local machine (suse linux 10), it go's and get data/ screens / python programs
from the mysql server remote. All is run locally, interactivily on a Gnome desktop.

Now we have an application where the user selects texts fromp records from the database to compose mail messages.
These records are completed with photos (large .jpg files on the same remote server).

The idea was, that after the user selected his records, the photos where added to the texts and a 'new mail' window is presented to him (Evoluition).

This does not work:
1. Evolution cannot open a new mail window with an external command (shell) if there are photos / html etc in the messages (it crasches).
2. the photos are BIG (about 1.5 mio each and I have 20 or so), it takes much to long to transfer them from the server, show them to the user, and then the user sends his -eventually corrected- e-mail trough the same server to the final destination, a destinatiuon that is allready known by the program.

So, I thought I construct the e-mail message in rekall -text only-, have the user rectify it, and then have the server run a shell script combining an ftp-fransferred text from the local user with the photos on the server and send it directly to the end-target.

The problem is, that I cannot understand how to -easy- bring ssh to execute the mail script on the remote server. It keeps asking for a password, that I cannot pipe into the script. I cannot travel around to install complicated procedures with RSA keys (sic?) or so on the various local machines. The whole concept of our setup is that everything can be aranged from the central server.

Anybody any ideas ?

Steven
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix mail transfer agent not sending mail locally or to other servers sketelsen Linux - Software 3 02-09-2006 11:16 AM
Cron mail sending using outside SMTP mail server Utah Linux - Software 6 08-24-2005 07:44 PM
Sending fax from a remote box via e-mail ricky_ds Linux - Networking 0 11-11-2004 09:23 AM
Fetching mail from remote POP and sending it to local SMTP leshka_uk Linux - Software 1 02-27-2004 07:38 AM
Sending mail via Postfix smtpd through remote host requiring authentication Saffsd Linux - Networking 0 01-26-2004 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration