Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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?! –  B. Roland 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! –  B. Roland 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.