LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Exim for use to send email to outside LAN (https://www.linuxquestions.org/questions/linux-software-2/exim-for-use-to-send-email-to-outside-lan-4175421638/)

akiefer 08-11-2012 08:24 PM

Exim for use to send email to outside LAN
 
Hello All,
I have been trying to configure my exim to allow me to send email out to a email outside the lan. I have my own DNS and am able to change my records but am not sure what settings I need for exim. If you can explain the file and section that I would need to change that would be awesome

heinblöd 08-12-2012 04:59 AM

Every MTA can send email to everywhere, so it's hard to guess what you are trying to do .
Your local dns should also not be of importance in the first place !?
What is your exact problem?

akiefer 08-12-2012 09:03 AM

Well I found out I had needed to enabled authentication for my outlook to allow me to login. I have enabled TLS AUTH and it has got the certificate but now it isnt excepting the UN and PW do you know what file it points to so it can get the UN and password or where I can find that out?

heinblöd 08-12-2012 01:57 PM

I don't think there is the "one file" to alter.

Without info about your enviroment (vps, local install, plesk, cpanel etc) there are several possibilities.

But you should find all in the exim manual or here http://en.gentoo-wiki.com/wiki/Exim

akiefer 08-12-2012 05:12 PM

I am working on a vps with ubuntu 12.04 but I was able to get the exim4 to send I just didnt have a the file created so it was pointing at nothing once I found the following code:

plain_server:
driver = plaintext
public_name = PLAIN
server_condition = "${if crypteq{$auth3}{${extract{1}{:}{${lookup{$auth2}lsearch{CONFDIR/passwd}{$value}{*:*}}}}}{1}{0}}"
server_set_id = $auth2
server_prompts = :
.ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS
server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
.endif

I then created the /passwd file and I setup the file with username:: then CRYPTEQ pw then it allowed me to login.

I am also trying to setup a Dovecot IMAP server but have ran into the following error below. Any help would be greatly appreciated if you need any extra info just let me know thank you :D



Aug 12 18:12:02 vps-1107513-11530 dovecot: imap(jessicav): Error: Invalid user settings. Refer to server log for more information.
Aug 12 18:12:02 vps-1107513-11530 dovecot: imap(jessicav): Error: user jessicav: Initialization failed: Initializing mail storage from mail_location setting failed: mkdir(/home/jessicav/Maildir) failed: Permission denied (euid=1000(jessicav) egid=1000(jessicav) missing +w perm: /home, dir owned by 0:0 mode=0755)
Aug 12 18:12:02 vps-1107513-11530 dovecot: imap(jessicav): Error: Invalid user settings. Refer to server log for more information.
Aug 12 18:12:03 vps-1107513-11530 dovecot: imap(jessicav): Error: user jessicav: Initialization failed: Initializing mail storage from mail_location setting failed: mkdir(/home/jessicav/Maildir) failed: Permission denied (euid=1000(jessicav) egid=1000(jessicav) missing +w perm: /home, dir owned by 0:0 mode=0755)
Aug 12 18:12:03 vps-1107513-11530 dovecot: imap(jessicav): Error: Invalid user settings. Refer to server log for more information.
Aug 12 18:12:03 vps-1107513-11530 dovecot: imap(jessicav): Error: user jessicav: Initialization failed: Initializing mail storage from mail_location setting failed: mkdir(/home/jessicav/Maildir) failed: Permission denied (euid=1000(jessicav) egid=1000(jessicav) missing +w perm: /home, dir owned by 0:0 mode=0755)
Aug 12 18:12:03 vps-1107513-11530 dovecot: imap(jessicav): Error: Invalid user settings. Refer to server log for more information.


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