FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 09-08-2008, 09:09 PM
Michael Sullivan
 
Default Exim, Outlook 2007, and Thunderbird

My MSOutlook 2007 and my Mozilla Thunderbird email clients on my laptop
cannot connect to my exim mail server. I can't seem to figure out
why.

camille ~ # emerge -pv exim

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] mail-mta/exim-4.69 USE="X exiscan-acl ldap mysql pam
perl sasl ssl syslog tcpd -dnsdb -domainkeys -dovecot-sasl -exiscan
-gnutls -ipv6 -lmtp -mailwrapper -mbox -mbx -nis -postgres -radius -spf
-sqlite -srs" 1,642 kB

Total: 1 package (1 reinstall), Size of downloads: 1,642 kB


camille ~ # cat /etc/exim/exim.conf | sed /#/d















domainlist local_domains = @ : espersunited.com : localhost :
localdomain : camille.espersunited.com : catherine.espersunited.com :
camille : catherine
domainlist relay_to_domains =
hostlist relay_from_hosts = 127.0.0.1 : 192.168.1.2 : 192.168.1.3 :
192.168.1.4 : 192.168.0.2 : 192.168.1.100






acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data
acl_smtp_mime = acl_check_mime




av_scanner = clamd:/tmp/clamd



spamd_address = 127.0.0.1 783











qualify_domain = espersunited.com









never_users = root



host_lookup = !192.168.0.0/24: !192.168.1.0/24




rfc1413_hosts = *
rfc1413_query_timeout = 5s


sender_unqualified_hosts = camille.espersunited.com :
catherine.espersunited.com : localhost.localdomain
recipient_unqualified_hosts = camille.espersunited.com :
catherine.espersunited.com : localhost.localdomain






ignore_bounce_errors_after = 2d


timeout_frozen_after = 7d







begin acl


acl_check_rcpt:


accept hosts = :


deny message = Restricted characters in address
domains = +local_domains
local_parts = ^[.] : ^.*[@%!/|]


deny message = Restricted characters in address
domains = !+local_domains
local_parts = ^[./|] : ^.*[@%!] : ^.*/../


accept local_parts = postmaster
domains = +local_domains


require verify = sender




accept hosts = +relay_from_hosts
control = submission


accept authenticated = *
control = submission


require message = relay not permitted
domains = +local_domains : +relay_to_domains


require verify = recipient/callout=60s,defer_ok




accept




acl_check_data:






warn message = X-SpamScore: $spam_score ($spam_bar)
spam = nobody:true
warn message = X-SpamReport: $spam_report
spam = nobody:true
warn message = X-Spam-Flag: ${if
>{$spam_score_int}{58}{Almost Certainly}
{${if >{$spam_score_int}{55}{Probably}
{${if >{$spam_score_int}{50}{Possibly}{Doubtful}
}}}}}
spam = nobody
warn message = Subject: [*SPAM*] $h_Subject ${if
>{$spam_score_int}{58}{Almost Certainly}
{${if >{$spam_score_int}{55}{Probably}
{${if >{$spam_score_int}{50}{Possibly}{Doubtful}
}}}}}
spam = nobody

deny message = Rejected: spam score $spam_score
spam = nobody:true
condition = ${if >{$spam_score_int}{60}{1}{0}}

accept

acl_check_mime:
warn decode = default

deny message = Blacklisted file extension detected
condition = ${if match
{${lc:$mime_filename}}
{N(.exe|.pif|.bat|.scr|.lnk|.com|.vbs)$N}
{1}{0}}

accept
acl_check_content:
deny message = Serious MIME defect detected ($demime_reason)
demime = *
condition = ${if >{$demime_errorlevel}{2}{1}{0}}

deny message = This message contains malware ($malware_name)
malware = *

warn message = X-Spam-Score: $spam_score ($spam_bar)
spam = nobody:true
warn message = X-Spam-Report: $spam_report
spam = nobody:true

warn message = Subject: [*SPAM*] $h_Subject
spam = nobody

deny message = This message scored $spam_score points.
Congratulations!
spam = nobody:true
condition = ${if >{$spam_score_int}{50}{1}{0}}

accept



begin routers





dnslookup:
driver = dnslookup
domains = ! +local_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
no_more





system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/mail/aliases}}
file_transport = address_file
pipe_transport = address_pipe







userforward:
driver = redirect
check_local_user
file = $home/.forward
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply




localuser:
driver = accept
check_local_user
transport = local_delivery
cannot_route_message = Unknown user





begin transports



remote_smtp:
driver = smtp



local_delivery:
driver = appendfile
directory = /home/$local_part/.maildir
maildir_format
delivery_date_add
envelope_to_add
return_path_add



address_pipe:
driver = pipe
return_output



address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add



address_reply:
driver = autoreply




begin retry



* * F,2h,15m; G,16h,1h,1.5; F,4d,6h





begin rewrite





begin authenticators










Can anybody help me fix this?
 
Old 09-08-2008, 09:12 PM
kashani
 
Default Exim, Outlook 2007, and Thunderbird

Michael Sullivan wrote:

My MSOutlook 2007 and my Mozilla Thunderbird email clients on my laptop
cannot connect to my exim mail server. I can't seem to figure out
why.



Can anybody help me fix this?


And the log files say what?

kashani
 
Old 09-08-2008, 09:45 PM
Michael Sullivan
 
Default Exim, Outlook 2007, and Thunderbird

On Mon, 2008-09-08 at 14:12 -0700, kashani wrote:
> Michael Sullivan wrote:
> > My MSOutlook 2007 and my Mozilla Thunderbird email clients on my laptop
> > cannot connect to my exim mail server. I can't seem to figure out
> > why.
>
> > Can anybody help me fix this?
>
> And the log files say what?
>
> kashani
>

As far as I can tell, nothing, except for a bunch of errors about
mailman@espersunited.com messages being deferred (mailman's not even
running!) and Spool files being locked...
 
Old 09-08-2008, 10:16 PM
Michael Sullivan
 
Default Exim, Outlook 2007, and Thunderbird

On Mon, 2008-09-08 at 16:45 -0500, Michael Sullivan wrote:
> On Mon, 2008-09-08 at 14:12 -0700, kashani wrote:
> > Michael Sullivan wrote:
> > > My MSOutlook 2007 and my Mozilla Thunderbird email clients on my laptop
> > > cannot connect to my exim mail server. I can't seem to figure out
> > > why.
> >
> > > Can anybody help me fix this?
> >
> > And the log files say what?
> >
> > kashani
> >
>
> As far as I can tell, nothing, except for a bunch of errors about
> mailman@espersunited.com messages being deferred (mailman's not even
> running!) and Spool files being locked...
>
>

The problem is with dovecot. (port 110 is the IMAP port, isn't it? I
can't telnet to it.)

camille log # emerge -pv dovecot

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] net-mail/dovecot-1.1.1-r1 USE="doc ipv6 kerberos ldap
mysql pam ssl -debug -managesieve -mbox -pop3d -postgres -sieve -sqlite3
-suid -vpopmail" 2,221 kB

Total: 1 package (1 reinstall), Size of downloads: 2,221 kB




Here's my dovecot.conf:

camille log # cat /etc/dovecot/dovecot.conf | sed /#/d





protocols = imap imaps


disable_plaintext_auth = no









ssl_disable = yes





















mail_location = maildir:~/.maildir















































protocol imap {






}


protocol pop3 {









}


protocol lda {
postmaster_address = postmaster@espersunited.com




}

















auth default {
mechanisms = plain




passdb pam {
args = "*"
}










userdb passwd {
}







user = root





}




dict {
}


plugin {




}
 
Old 09-08-2008, 10:32 PM
"Paul Hartman"
 
Default Exim, Outlook 2007, and Thunderbird

On Mon, Sep 8, 2008 at 5:16 PM, Michael Sullivan
<michael@espersunited.com> wrote:
> The problem is with dovecot. (port 110 is the IMAP port, isn't it? I
> can't telnet to it.)

110 is POP3
 
Old 09-08-2008, 10:37 PM
"Michael Sullivan"
 
Default Exim, Outlook 2007, and Thunderbird

On Mon, September 8, 2008 5:32 pm, Paul Hartman wrote:
> On Mon, Sep 8, 2008 at 5:16 PM, Michael Sullivan
> <michael@espersunited.com> wrote:
>> The problem is with dovecot. (port 110 is the IMAP port, isn't it? I
>> can't telnet to it.)
>
> 110 is POP3
>
>

So what port is IMAP?
 
Old 09-08-2008, 10:40 PM
Michael Sullivan
 
Default Exim, Outlook 2007, and Thunderbird

On Mon, 2008-09-08 at 17:37 -0500, Michael Sullivan wrote:
> On Mon, September 8, 2008 5:32 pm, Paul Hartman wrote:
> > On Mon, Sep 8, 2008 at 5:16 PM, Michael Sullivan
> > <michael@espersunited.com> wrote:
> >> The problem is with dovecot. (port 110 is the IMAP port, isn't it? I
> >> can't telnet to it.)
> >
> > 110 is POP3
> >
> >
>
> So what port is IMAP?
>
>

Connection to port 143 refused. The problem is dovcot, definitely...
 
Old 09-08-2008, 10:43 PM
kashani
 
Default Exim, Outlook 2007, and Thunderbird

Michael Sullivan wrote:

The problem is with dovecot. (port 110 is the IMAP port, isn't it? I
can't telnet to it.)


camille log # emerge -pv dovecot

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] net-mail/dovecot-1.1.1-r1 USE="doc ipv6 kerberos ldap
mysql pam ssl -debug -managesieve -mbox -pop3d -postgres -sieve -sqlite3
-suid -vpopmail" 2,221 kB


Total: 1 package (1 reinstall), Size of downloads: 2,221 kB


To see what ports equals what, look at /etc/services which should exist
on all *nix boxes and tracks nearly all the major ports.


pop is 110, imap 143, and imaps 993

I would make sure that dovecot is actually running, then make sure it's
listening on ports you expect with sudo netstat -ptln , and then I'd
post the logs from any transactions.


Troubleshooting mail servers without the relevant log entries is usually
painful and frustrating.


kashani
 
Old 09-08-2008, 10:51 PM
Michael Sullivan
 
Default Exim, Outlook 2007, and Thunderbird

On Mon, 2008-09-08 at 15:43 -0700, kashani wrote:
> Michael Sullivan wrote:
> > The problem is with dovecot. (port 110 is the IMAP port, isn't it? I
> > can't telnet to it.)
> >
> > camille log # emerge -pv dovecot
> >
> > These are the packages that would be merged, in order:
> >
> > Calculating dependencies... done!
> > [ebuild R ] net-mail/dovecot-1.1.1-r1 USE="doc ipv6 kerberos ldap
> > mysql pam ssl -debug -managesieve -mbox -pop3d -postgres -sieve -sqlite3
> > -suid -vpopmail" 2,221 kB
> >
> > Total: 1 package (1 reinstall), Size of downloads: 2,221 kB
>
> To see what ports equals what, look at /etc/services which should exist
> on all *nix boxes and tracks nearly all the major ports.
>
> pop is 110, imap 143, and imaps 993
>
> I would make sure that dovecot is actually running, then make sure it's
> listening on ports you expect with sudo netstat -ptln , and then I'd
> post the logs from any transactions.
>
> Troubleshooting mail servers without the relevant log entries is usually
> painful and frustrating.
>
> kashani
>

camille dovecot # cat /etc/services | grep imap
imap 143/tcp imap2 # Internet Message Access Protocol
imap 143/udp imap2
imap3 220/tcp # Interactive Mail Access
imap3 220/udp
imaps 993/tcp # imap4 protocol over TLS/SSL
imaps 993/udp
camille dovecot # ps ax | grep dovecot
4209 pts/0 R+ 0:00 grep --colour=auto dovecot
14645 ? Ss 0:04 /usr/sbin/dovecot
-c /etc/dovecot/dovecot.conf
14646 ? S 0:01 dovecot-auth
17329 ? S 0:00 dovecot-auth -w


dovecot doesn't seem to have a log. How do I turn on logging for
dovecot?
 
Old 09-08-2008, 10:52 PM
Michael Sullivan
 
Default Exim, Outlook 2007, and Thunderbird

On Mon, 2008-09-08 at 17:51 -0500, Michael Sullivan wrote:
> On Mon, 2008-09-08 at 15:43 -0700, kashani wrote:
> > Michael Sullivan wrote:
> > > The problem is with dovecot. (port 110 is the IMAP port, isn't it? I
> > > can't telnet to it.)
> > >
> > > camille log # emerge -pv dovecot
> > >
> > > These are the packages that would be merged, in order:
> > >
> > > Calculating dependencies... done!
> > > [ebuild R ] net-mail/dovecot-1.1.1-r1 USE="doc ipv6 kerberos ldap
> > > mysql pam ssl -debug -managesieve -mbox -pop3d -postgres -sieve -sqlite3
> > > -suid -vpopmail" 2,221 kB
> > >
> > > Total: 1 package (1 reinstall), Size of downloads: 2,221 kB
> >
> > To see what ports equals what, look at /etc/services which should exist
> > on all *nix boxes and tracks nearly all the major ports.
> >
> > pop is 110, imap 143, and imaps 993
> >
> > I would make sure that dovecot is actually running, then make sure it's
> > listening on ports you expect with sudo netstat -ptln , and then I'd
> > post the logs from any transactions.
> >
> > Troubleshooting mail servers without the relevant log entries is usually
> > painful and frustrating.
> >
> > kashani
> >
>
> camille dovecot # cat /etc/services | grep imap
> imap 143/tcp imap2 # Internet Message Access Protocol
> imap 143/udp imap2
> imap3 220/tcp # Interactive Mail Access
> imap3 220/udp
> imaps 993/tcp # imap4 protocol over TLS/SSL
> imaps 993/udp
> camille dovecot # ps ax | grep dovecot
> 4209 pts/0 R+ 0:00 grep --colour=auto dovecot
> 14645 ? Ss 0:04 /usr/sbin/dovecot
> -c /etc/dovecot/dovecot.conf
> 14646 ? S 0:01 dovecot-auth
> 17329 ? S 0:00 dovecot-auth -w
>
>
> dovecot doesn't seem to have a log. How do I turn on logging for
> dovecot?
>
>

I forgot:

camille log # netstat -ptln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp 0 0 0.0.0.0:8000 0.0.0.0:*
LISTEN 14520/nasd
tcp 0 0 0.0.0.0:60512 0.0.0.0:*
LISTEN 14193/rpc.mountd
tcp 0 0 0.0.0.0:2049 0.0.0.0:*
LISTEN -
tcp 0 0 192.168.1.2:3306 0.0.0.0:*
LISTEN 18476/mysqld
tcp 0 0 0.0.0.0:38285 0.0.0.0:*
LISTEN 13957/rpc.statd
tcp 0 0 0.0.0.0:143 0.0.0.0:*
LISTEN 4311/dovecot
tcp 0 0 0.0.0.0:6543 0.0.0.0:*
LISTEN 14886/mythbackend
tcp 0 0 127.0.0.1:783 0.0.0.0:*
LISTEN 13656/spamd child
tcp 0 0 0.0.0.0:111 0.0.0.0:*
LISTEN 13825/portmap
tcp 0 0 0.0.0.0:6544 0.0.0.0:*
LISTEN 14886/mythbackend
tcp 0 0 0.0.0.0:21 0.0.0.0:*
LISTEN 13764/vsftpd
tcp 0 0 192.168.1.2:53 0.0.0.0:*
LISTEN 13718/named
tcp 0 0 127.0.0.1:53 0.0.0.0:*
LISTEN 13718/named
tcp 0 0 0.0.0.0:41495 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:25 0.0.0.0:*
LISTEN 3879/exim
tcp 0 0 127.0.0.1:953 0.0.0.0:*
LISTEN 13718/named
tcp 0 0 :::16001 :::*
LISTEN 14503/esound-esd
tcp 0 0 :::80 :::*
LISTEN 2502/apache2
tcp 0 0 :::22 :::*
LISTEN 13783/sshd
 

Thread Tools




All times are GMT. The time now is 04:37 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org