LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Sending email from my MS Outlook account from cygwin using exim (http://www.linuxquestions.org/questions/linux-software-2/sending-email-from-my-ms-outlook-account-from-cygwin-using-exim-4175431113/)

B Akshay 10-08-2012 08:15 AM

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

unSpawn 10-08-2012 12:15 PM

Quote:

Originally Posted by B Akshay (Post 4800175)
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.

B Akshay 10-08-2012 12:50 PM

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

B Akshay 10-08-2012 12:54 PM

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

unSpawn 10-08-2012 01:16 PM

Quote:

Originally Posted by B Akshay (Post 4800433)
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 (Post 4800433)
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 (Post 4800433)
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.

B Akshay 10-09-2012 12:02 AM

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

unSpawn 10-09-2012 07:30 AM

Quote:

Originally Posted by B Akshay (Post 4800883)
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 (Post 4800883)
can you suggest any simpler alternative to it.

I already suggested you use your providers or companies mail server.

B Akshay 10-09-2012 10:26 AM

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

B Akshay 10-10-2012 05:39 AM

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.


All times are GMT -5. The time now is 12:00 AM.