LinuxQuestions.org
Register a domain and help support LQ
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 10-03-2005, 01:35 PM   #1
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Rep: Reputation: 30
sending through IMAP (not SMTP)?


My university blocks SMTP servers, but they told me that its possible to SEND email through IMAP, but since I'm using my own email with my own server they won't support it and won't help me configure my mail client to do it. I use IMAP already to access my email, but I'm unaware of a method to send mail via IMAP. Does anyone know of how to do this with Thunderbird? Or if it doesn't work with Thunderbird I'd be willing to convert to Outlook as long as I can send some bloody emails.
 
Old 10-03-2005, 02:23 PM   #2
XOR007
Member
 
Registered: May 2005
Location: Africa
Distribution: Ubuntu, Redhat 6.2 to 9, Centos 4, Suse 8 Ent.,Suse 9 Ent.
Posts: 51

Rep: Reputation: 15
Re: sending through IMAP (not SMTP)?

Quote:
Originally posted by Moebius
My university blocks SMTP servers, but they told me that its possible to SEND email through IMAP, but since I'm using my own email with my own server they won't support it and won't help me configure my mail client to do it.


Mail servers connect to other mail servers to send mail through SMTP. This is the only way to transport mail between different mail domains. IMAP is a more modern way for users to get their mail off their real mail servers with more advanced features than POP3. The only way that could happen is this:

Your own mail server<----?????--->a mail client<--------IMAP-----> the Campus Mail server.

This is an interesting scenario, but it means someone starts hacking.... as I don't know of a way for a mail server to connect to a client(contact a client???) to send mail.


Quote:
I use IMAP already to access my email, but I'm unaware of a method to send mail via IMAP. Does anyone know of how to do this with Thunderbird? Or if it doesn't work with Thunderbird I'd be willing to convert to Outlook as long as I can send some bloody emails.
I don't use thunderbird(yet), the setup of IMAP on both outlook and Evolution is just a wizard were you need: email address, account name, hostname of server, and password.
 
Old 10-03-2005, 02:51 PM   #3
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
I am unaware of any mechanism to SEND email through IMAP. SMTP is a protocol for sending mail, IMAP/POP for retrieiving it from a "mailbox".
 
Old 10-03-2005, 03:03 PM   #4
XOR007
Member
 
Registered: May 2005
Location: Africa
Distribution: Ubuntu, Redhat 6.2 to 9, Centos 4, Suse 8 Ent.,Suse 9 Ent.
Posts: 51

Rep: Reputation: 15
Again, if someone could write an IMAP(client) plugin for Sendmail or Postfix or Exim etc., this WOULD be possible and interesting...
 
Old 10-03-2005, 03:06 PM   #5
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
Quote:
Originally posted by XOR007
Again, if someone could write an IMAP(client) plugin for Sendmail or Postfix or Exim etc., this WOULD be possible and interesting...
It would still not be possible because the IMAP protocol does not support sending mail. You're basically suggesting an extension to the IMAP protocol that would require modifying both clients and servers... in order to... reinvent SMTP?
 
Old 10-03-2005, 03:10 PM   #6
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Original Poster
Rep: Reputation: 30
Yeah I don't think its possibly to actually send mail using IMAP, BUT as XOR007 says it might be possible to write a plugin for sendmail that could interface with IMAP. It could actually be as simple as sendmail checking the Outbox folder of an email account every minute or two and if an email exists there, send it and delete it.

But I'm not prepared to write something like that now.
 
Old 10-03-2005, 03:29 PM   #7
XOR007
Member
 
Registered: May 2005
Location: Africa
Distribution: Ubuntu, Redhat 6.2 to 9, Centos 4, Suse 8 Ent.,Suse 9 Ent.
Posts: 51

Rep: Reputation: 15
The idea would be to have

my clients<----IMAP/POP3------->my sendmail+imap or pop3(client)<-----IMAP-----> the campus mail servers.

I would set my sendmail to queue all the mail at the campus server using my pop3/imap accounts and rewriting addresses. It would be enough to have a one to one mapping of my clients mailboxes to my campus mailboxes.

This can help in studying the relation between a mail server and clients, as most networks now block SMTP because of spam(zombies smtps in windoze boxes). It is true however that this will not help you to study SMTP. In your case you have no choice but to run many mail servers in a lan.

Just because it is a different perspective makes it interesting, but it will be at best a very ugly hack.

Last edited by XOR007; 10-03-2005 at 03:36 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Simple SMTP Mail Sending? usulsuspct Linux - Software 3 01-27-2005 03:11 PM
sending smtp mail the-chains Linux - General 0 12-08-2004 07:44 PM
Postfix Help - Sending via third party smtp scarstens Linux - Networking 3 01-27-2004 05:55 PM
Looking for help on IMAP and SMTP AZIMBD03 Linux - Newbie 1 11-20-2003 10:32 AM
qmail, imap and smtp help please yosh9779 Linux - Software 1 03-18-2003 10:43 AM


All times are GMT -5. The time now is 05:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration