LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-08-2012, 07:15 AM   #1
B Akshay
Member
 
Registered: Sep 2012
Posts: 39

Rep: Reputation: Disabled
Unhappy Sending email from my MS Outlook account from cygwin using exim


Hello,
How to configure my Microsoft outlook account with the exim config in cygwin environment. i have gone all help posts on the internet but not able to configure my account with it.(sort of confused what exactly to do).

My requirement is to just send the mail from the cygwin environment to our customer. My login name for the system is different from username for the outlook.

ex. for system login : LOGINNAME
for outlook : USERNAME@company.com

Please help to fix this thing.


Thanks in Advance
B Akshay

Last edited by B Akshay; 10-08-2012 at 12:00 PM. Reason: correction in the title
 
Old 10-08-2012, 11:15 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by B Akshay View Post
How to configure my Microsoft outlook account with the exim config in cygwin environment. (..) not able to configure my account with it.(sort of confused what exactly to do).
The best approach IMHO would be to be clear about what you ask (there's a discrepancy between the tread title "Sending emial to my gmail account from cygwin" and "send the mail from the cygwin environment to our customer"), ensure you use the components you should use like why Exim inside Cygwin and not your company or providers MTA? Why Outlook and not native Cygwin tools (asserting it has "mpack" or at least a "mailx" equivalent). Why not Thunderbird or some other MUA that speaks IMAPS natively? Then you divide it into tasks: configure Exim, test sending email, reconfigure Exim to send to Gmails MTA w/o being rejected, test sending email again, configure The MUA, test sending email again. The benefit of doing that is there's less chance of losing overview, makes it easier to ask specific questions and shows us that you've actually tried to make things work.
 
Old 10-08-2012, 11:50 AM   #3
B Akshay
Member
 
Registered: Sep 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
My apologies for the thread title. its definitely for MS Outlook.

I am very new to this thing. Even the packages you mentioned are not available in the cygwin installed on my system.
will you please suggest from where to update those and its usage.

I am a lay man in this topic, so guidelines requested

Thanks
 
Old 10-08-2012, 11:54 AM   #4
B Akshay
Member
 
Registered: Sep 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
My apologies for the thread title. its definitely for MS Outlook.

I am very new to this thing. Even the packages you mentioned are not available in the cygwin installed on my system.
will you please suggest from where to update those and its usage.

I am a lay man in this topic, so guidelines requested

Thanks
 
Old 10-08-2012, 12:16 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by B Akshay View Post
My apologies for the thread title. its definitely for MS Outlook.
OK. No apologies necessary, it's your choice.


Quote:
Originally Posted by B Akshay View Post
Even the packages you mentioned are not available in the cygwin installed on my system. will you please suggest from where to update those and its usage.
You are again not particularly clear in what you ask for. Which packages? Exim is here: http://cygwin.com/packages/exim and the "mail" equivalent is here: http://cygwin.com/packages/email. What I mean is that without searching for it you can find all packages in http://cygwin.com/packages/ so you only have to search the 'net for software you need (if any) Cygwin doesn't provide.


Quote:
Originally Posted by B Akshay View Post
guidelines requested
If you break up the project into tasks like I suggested then you start with configuring Exim. Its documentation is here: http://www.exim.org/docs.html.
 
Old 10-08-2012, 11:02 PM   #6
B Akshay
Member
 
Registered: Sep 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
Hello ,
I tried with Exim , i.e configured it. Sent some trial mails to myself & my colleague. Now the problem is we didn't got the mail and no error message from exim. i am still working on it.
can you suggest any simpler alternative to it.


Thanks for your response
 
Old 10-09-2012, 06:30 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by B Akshay View Post
I tried with Exim , i.e configured it. Sent some trial mails to myself & my colleague. Now the problem is we didn't got the mail and no error message from exim.
Start with Exim FAQ entries > Windows > General Debugging > Q0002 because it tells you what you should look for in terms of debugging and errors. See adjacent questions and the configuration part one level up and you've got what you should post: invocation command used, configuration file contents and log file / errors. BTW don't post unedited configuration files from either the tarball or from the Cygwin package shipped with.


Quote:
Originally Posted by B Akshay View Post
can you suggest any simpler alternative to it.
I already suggested you use your providers or companies mail server.
 
Old 10-09-2012, 09:26 AM   #8
B Akshay
Member
 
Registered: Sep 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
Hello,
Its Working!!!!!!!
Its working fine at the moment, i didn't configured the routing part properly.
will complete the whole script and share it over here.
unSpawn, thank you for your suggestions, was very helpful.

Regards,
B Akshay
 
Old 10-10-2012, 04:39 AM   #9
B Akshay
Member
 
Registered: Sep 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
I have some problem again as,

i have to send the mail through exim such that the message body/ contents of the mail are stored in a file.

like the mail option in linux how the same can be achieved using exim ?


i have tried as follows,

exim -bem filename


but nthing happened, other than the file name printed in the next line.


Thanks in advance.
 
  


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 is not sending via my Gmail account smtp. Usalabs Linux - Server 4 02-11-2011 12:03 PM
Exim: forward sent emails to Gmail mrtwice Linux - Software 0 09-08-2007 04:17 PM
Can sbdy give config files for gmail account for sending with mutt for a normal user? frenchn00b Linux - Newbie 1 07-24-2007 01:14 PM
exim+gmail alessnet Linux - Newbie 1 02-21-2005 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:14 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