PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : pop-before-smtp exim4



windfinder
29.09.05, 23:51
I have got exim4 with courier-imap & courier-imap-ssl on my remote server running on Debian Sarge (3.1.). Receiving emails via IMAP with my local mail client (kmail 1.Cool works fine. What is not yet working is sending e-mails from my local client to Exim4 on the remote server with some kind of authentication.

I installed the pop-before-smtp pakcage (which also works as IMAP before SMTP) with aptitude and followed the instructions at: http://popbsmtp.sourceforge.net/quickstart.shtml. The installation and configuration works fine.

But after I re-configure exim4 according to
/usr/share/doc/pop-before-smtp/README.Debian with "relay_from_hosts": net-dbmnz;/var/lib/pop-before-smtp/hosts.db I cannot even receive mails with my client anymore.

----------
These are my settings from /var/exim/config.autogenerated:
exim_path = /usr/sbin/exim4

.ifndef CONFDIR
CONFDIR = /etc/exim4
.endif

.ifndef DC_minimaldns

.endif

.ifndef DC_visiblename
DC_visiblename=server.sampleserver.com
.endif

.ifndef MAIN_LOCAL_DOMAINS
MAIN_LOCAL_DOMAINS = @:localhost:sampleserver.com
.endif
domainlist local_domains = MAIN_LOCAL_DOMAINS

.ifndef MAIN_RELAY_TO_DOMAINS
MAIN_RELAY_TO_DOMAINS =
.endif
domainlist relay_to_domains = MAIN_RELAY_TO_DOMAINS

.ifndef MAIN_RELAY_NETS
MAIN_RELAY_NETS =
.endif
hostlist relay_from_hosts = 127.0.0.1:net-dbmnz;/var/lib/pop-before-smtp/hosts.db::::1 : MAIN_RELAY_NETS

.ifdef DC_visiblename
qualify_domain = DC_visiblename
.endif

.ifndef DCreadhost
DCreadhost =
.endif

.ifndef DCsmarthost
DCsmarthost =
.endif

.ifdef MAIN_LOCAL_INTERFACES
local_interfaces = MAIN_LOCAL_INTERFACES
.else
local_interfaces = 0.0.0.0
.endif

.ifndef LOCAL_DELIVERY
LOCAL_DELIVERY=maildir_home
.endif
[...]
---------

#
invoke-rc.d exim4 reload

-------------
I noticed that the file /var/lib/pop-before-smtp/hosts.db does not exist.
------------
In Kmail I set up the following:
> Accounts > Sending > New
Trasnport: SMTP
Name: sampleserver-com
Host: www.sampleserver.com
Port: 25
Precommand:
Server requires authentication: Y
login: sample
password: *****

Nothing works. what's going wrong. Please help! thanks!