Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some (~3) Debian boxes, and I want to post system mails to my non-local mailbox. But I have problems with configuring exim4. Also I don't like so much the exim4's config. Too different and also with my last try, I had to store passwd unencrypted.

(Also, sorry,) I have 2 questions:

  1. How to configure outgoing mail with GMail/GApps SMTP? (passwd stored encrypted)
  2. How to return all of MY, and the ROOT's mails to my other address, and also sent trough that "new SMTP"?

Any question, or info needed, just comment. I would really appreciate any tutorial!

share|improve this question

The Gmail SMTP servers aren't meant to be used for sending automated mail. They have the password verification because they want to confirm the user. The program needs the password, in a format that can be converted to plaintext before contacting the SMTP server. If you want to avoid this, don't use the Gmail SMTP servers.

What you want to do is look up the SMTP server of your ISP and configure exim (or postfix, or any other MTA) to use that for sending the mail.

share|improve this answer
    
ok, thanks the answer, but how to config correctly exim?! – antivirtel Jul 13 '11 at 0:27
    
The keyword you need to find relevant information is 'relay' or 'smarthost', e.g. this thread on server fault – ptman Jul 14 '11 at 0:34
    
ok, I'll take a look at it! – antivirtel Jul 18 '11 at 11:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.