Re: exim4 smtp-auth

2019-04-12 Thread rlharris

On 2019.04.12 03:51, to...@tuxteam.de wrote:

/etc/exim4/conf.d/auth/30_exim4-config_examples:


Thanks for pointing me to the examples file, Tomas; that is one source I 
missed.  I printed out that file and I shall go over it in the morning 
after I catch a bit of sleep.


RLH



Re: exim4 smtp-auth

2019-04-12 Thread tomas
On Fri, Apr 12, 2019 at 03:31:13AM -0500, rlhar...@oplink.net wrote:
> For SMTP-AUTH in exim4, the authorization string saved in
> /etc/exim4/passwd.client is of the form:
> 
> smarthost.isp.net:login_identification:password
> 
> with the colon character (:) being the delimiter.
> 
> Can this scheme work with a password which itself contains a colon,
> such as:
> 
> this:is:my:password
> 
> by quoting the password:
> 
> smarthost.isp.net:login_identification:'this:is:my:password'

I'd guess that the whole thing gets split at the first colon, the rest
being the password -- cf. for example, in 
/etc/exim4/conf.d/auth/30_exim4-config_examples:

  client_secret = 
${extract{2}{:}{${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$value}fail}}}

That would mean: the quotes would be part of your password,
probably not what you want.

So I'd try without quotes first.

Cheers
-- t


signature.asc
Description: Digital signature


exim4 smtp-auth

2019-04-12 Thread rlharris

For SMTP-AUTH in exim4, the authorization string saved in
/etc/exim4/passwd.client is of the form:

smarthost.isp.net:login_identification:password

with the colon character (:) being the delimiter.

Can this scheme work with a password which itself contains a colon,
such as:

this:is:my:password

by quoting the password:

smarthost.isp.net:login_identification:'this:is:my:password'



Re: exim4 smtp auth

2007-02-07 Thread Predrag Gavrilovic

You can not force client to authenticate, but you can force accepting
mail from client to fail if client is not authenticated. You should
check acl_smtp_mail or acl_smtp_rcpt and reject mail if client is not
authenticated (but accept mail from foreign servers that are trying to
send mail to your users). In default configuration in debian, relaying
is allowed from your local network and authenticated users from other
networks. All that is achieved in acl_smtp_rcpt ACL, there you can see
how to accept/reject mail from clients if they are/not authenticated.


2007/2/6, Andrew Critchlow [EMAIL PROTECTED]:


Is there anyway i can check if my smtp auth is working with exim4?

 I have enabled TLS with certificates and i have unhashed, plain_server:

 I have also used htpasswd -nd username and put the output into
/etc/exim4/passwd

 I have also set: MAIN_TLS_ENABLE = true

 But when I try and send an email from a client (MS Outlook) it goes
straight through and I didn't need to specify that the smtp servers requires
authentication?



 thanks




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




exim4 smtp auth

2007-02-06 Thread Andrew Critchlow
Is there anyway i can check if my smtp auth is working with exim4?
 
I have enabled TLS with certificates and i have unhashed, plain_server:
 
I have also used htpasswd -nd username and put the output into /etc/exim4/passwd
 
I have also set: MAIN_TLS_ENABLE = true
 
But when I try and send an email from a client (MS Outlook) it goes straight 
through and I didn't need to specify that the smtp servers requires 
authentication?
 
 
 
thanks

Re: Need help with exim4 SMTP Auth [SOLVED]

2005-07-04 Thread Paul E Condon
On Mon, Jul 04, 2005 at 07:31:10AM +0530, Sridhar M.A. wrote:
 On Sun, Jul 03, 2005 at 03:56:02PM -0600, [EMAIL PROTECTED] wrote:
 
  Where can I get info. on how to resolve this?
 I haven't found anything that looks like SMTP Authentication in the exim4
 documentation on my machine. Is it a new feature? Or does exim4 refer to
 it by a different name?
 
 It is in the docs. Just install exim4-daemon-heavy as it has everything
 enabled by default. 
 
 Look at /etc/exim4/conf.d/auth/30_exim4-config_examples
 You can set the auth stuff there. It is working for me nicely. I just
 wish the debian exim installer would query and set the SMTP_AUTH stuff.
 
 HTH,
 

[Solved] I have been, and still am, a user of a mimimalist email setup.
fetchmail to get mail from my ISP, and exim set to forward my mail to
my ISP's smarthost. (the second choise of five in exim4-config).
I moved from exim4-daemon-light to exim4-daemon-heavy and ran

dpkg-reconfigure exim4-config 

again and email now works correctly again. 

I spent a little time reading info exim and the above mentioned
...config_examples before posting this message. But, for the benefit of
others who have this problem and find this in the archives: ...-heavy
contains the fix. Email was already working when I did the
reading. 

Thanks to all.
-- 
Paul E Condon   
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help with exim4 SMTP Auth [SOLVED]

2005-07-04 Thread Adam Fabian
On Mon, Jul 04, 2005 at 09:59:03AM -0600, Paul E Condon wrote:

 I moved from exim4-daemon-light to exim4-daemon-heavy and ran
...
 others who have this problem and find this in the archives: ...-heavy
 contains the fix. Email was already working when I did the

The light version does SMTP auth and TLS encryption with appropriate
configuration modifications.  The heavy version pulls in a lot of ugly
dependencies for a small mail setup.

-- 
Adam Fabian [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Need help with exim4 SMTP Auth (I think)

2005-07-03 Thread pecondon
I've suddenly started getting 550 errors when I attempt to send mail from
my Sarge desktop host. I read my mail with mutt and run exim4. I got started
with exim3 when it was default MTA for Debian and followed along as Debian
moved to exim4. The error message that comes back to me when delivery fails
suggests the I have not turned on SMTP Authentication in my email client,
and this is very likely since I have no recollection of having ever dealt
with SMTP Authentication whatsoever. Is this an issue, or should this be
on by default in Debian? Where can I get info. on how to resolve this?
I haven't found anything that looks like SMTP Authentication in the exim4
documentation on my machine. Is it a new feature? Or does exim4 refer to
it by a different name?

Please help.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help with exim4 SMTP Auth (I think)

2005-07-03 Thread Wayne Topa
[EMAIL PROTECTED]([EMAIL PROTECTED]) is reported to have said:
 I've suddenly started getting 550 errors when I attempt to send mail from
 my Sarge desktop host. I read my mail with mutt and run exim4. I got started
 with exim3 when it was default MTA for Debian and followed along as Debian
 moved to exim4. The error message that comes back to me when delivery fails
 suggests the I have not turned on SMTP Authentication in my email client,
 and this is very likely since I have no recollection of having ever dealt
 with SMTP Authentication whatsoever. Is this an issue, or should this be
 on by default in Debian? Where can I get info. on how to resolve this?
 I haven't found anything that looks like SMTP Authentication in the exim4
 documentation on my machine. Is it a new feature? Or does exim4 refer to
 it by a different name?
 

If you are using the 'one big conf file' exim4.conf.template, check if you have 
TLS
enabled.  Even tho the docs tell how to enable it, I found that it was
enabled by default.  As my ISP does not use TLS, I had to comment out
all the TLS lines before I could send mail when I installed exim4.

:-) HTH, YMMV, HAND :-)

Wayne
-- 
Adding manpower to a late software project makes it later.
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help with exim4 SMTP Auth (I think)

2005-07-03 Thread Adam Fabian
On Sun, Jul 03, 2005 at 03:56:02PM -0600, [EMAIL PROTECTED] wrote:

 found anything that looks like SMTP Authentication in the exim4
 documentation on my machine. Is it a new feature? Or does exim4 refer

I'm no expert on this, but I did manage to get exim delivering through
GMail which requires SMTP authentication.  I started with:

dpkg-reconfigure exim4-config

And choose to relay via a smarthost, and receive locally via fetchmail,
and filled in other paramaters as appropriate.

After that, I did some editing of /etc/exim4/exim4.conf.template.  I
don't remember exactly what I did, but looking through the file, I see
these lines that look relevant:

remote_smtp_smarthost:
  debug_print = T: remote_smtp_smarthost for [EMAIL PROTECTED]
  driver = smtp
#  hosts_try_auth = ${if exists {CONFDIR/passwd.client}{DCsmarthost}{}}
  tls_tempfail_tryclear = false
  hosts_require_auth = smtp.gmail.com
  hosts_require_tls = smtp.gmail.com
  port = 587

I think I commented out the line because GMail requires authentication,
and added hosts_require_auth.

This is only a template used to generate the actual configuration file
if you're using Debian's way of managing the exim configuration, so
after that you have to run:

# update-exim4.conf

I think.  Also, you have to put the authentication information in
/etc/exim4/passwd.client.  Here are my GMail lines:

smtp.gmail.com:[EMAIL PROTECTED]:password
gmail-smtp.l.google.com:[EMAIL PROTECTED]:password

This took a little digging, because I connected to smtp.gmail.com, and I
don't know exactly what exim did, but I had to run it with some
diagnostics to find out that my authentication was failing because after
using smtp.gmail.com for the address, it thought it was connected to
gmail-smtp.l.google.com.  I don't know if it came from a reverse DNS
lookup or what.  If you get some pretty mysterious failure, you might
have something like that going on.

-- 
Adam Fabian [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help with exim4 SMTP Auth (I think)

2005-07-03 Thread Sridhar M.A.
On Sun, Jul 03, 2005 at 03:56:02PM -0600, [EMAIL PROTECTED] wrote:

 Where can I get info. on how to resolve this?
I haven't found anything that looks like SMTP Authentication in the exim4
documentation on my machine. Is it a new feature? Or does exim4 refer to
it by a different name?

It is in the docs. Just install exim4-daemon-heavy as it has everything
enabled by default. 

Look at /etc/exim4/conf.d/auth/30_exim4-config_examples
You can set the auth stuff there. It is working for me nicely. I just
wish the debian exim installer would query and set the SMTP_AUTH stuff.

HTH,

Regards,

-- 
Sridhar M.A. GPG KeyID : F6A35935
  Fingerprint: D172 22C4 7CDC D9CD 62B5  55C1 2A69 D5D8 F6A3 5935

  I distinctly remember forgetting that. -Clara Barton


signature.asc
Description: Digital signature


exim4 - SMTP-AUTH client - ich versteh nicht was ich falsch mache

2005-02-14 Thread Jochen Heller
Hallo Ihr Lieben,

bitte helft mir auf die Sprünge. Die Ausgangssituation ist, dass ich 
einen anderen Mailserver als Smarthost für Exim eintragen will. Bisher 
klappte es mit den Standardeinstellungen - aber ich steige auf einen 
anderen Host um und erhalte damit auch einen anderen Mailserver.

Ich habe das Dokument /usr/share/doc/exim4/README.SMTP-AUTH gelesen und 
es erschien mir alles so schlüssig und klar - aber nichts will 
funktionieren. Ich habe also in der /etc/exim4/passwd.client die 
entsprechenden Angaben gemacht und später als sich nichts tat wie im 
Dokument beschrieben, in der /etc/exim4/exim4.conf.template bei login: 
den tls-send-Eintrag auskommentiert und dafür plain aktiviert.

Aber exim versendet trotdem nix. Ich erhalte diese Meldung in 
der /var/log/exim4/mainlog:

[...]
2005-02-15 00:05:46 1D0omp-0003zW-24 == [EMAIL PROTECTED] 
R=smarthost T=remote_smtp_smarthost defer (0): bad base 64 string in 
challenge:  CRAM-MD5
[...]

das steht dann bei allen - ich nehme an, er versucht sich jetzt noch 
eine ganze Weile an diesen Testmails bis er es aufgibt. Aber verstehen 
tu ich es gar nicht (bin aber auch wirklich nicht sonderlich erfahren 
auf diesem Gebiet). 

Sagt mir was ihr sonst noch braucht, um Euch ein Bild machen zu können - 
ich werd es dann nachschicken.

Vielen Dank schonmal

Jochen.
-- 
Jochen Heller
Behmstraße 79
10439 Berlin
Germany

Tel.   : 030 - 40 00 30 35
E-Mail : mailto:[EMAIL PROTECTED]  
Web: http://mojo.nordviertel.net
ICQ: 164338222

proud Debian user since 2004 and Linux-User #357813
Registered with the Linux Counter, http://counter.li.org/
PGP-Public-Key available at hkp://wwwkeys.eu.pgp.net



Re: [solved] exim4 - SMTP-AUTH client - ich versteh nicht was ich falsch mache

2005-02-14 Thread Jochen Heller
Ich Rind!

Da soll wohl mal ein Service die Änderungen nicht mitbekommen, wenn man 
ihn nicht neu startet, wa'?

Ich wünsche Euch eine schöne Nacht

Jochen.
-- 
Jochen Heller
Behmstraße 79
10439 Berlin
Germany

Tel.   : 030 - 40 00 30 35
E-Mail : mailto:[EMAIL PROTECTED]  
Web: http://mojo.nordviertel.net
ICQ: 164338222

proud Debian user since 2004 and Linux-User #357813
Registered with the Linux Counter, http://counter.li.org/
PGP-Public-Key available at hkp://wwwkeys.eu.pgp.net



Re: exim4 smtp auth via libpam-dotfile

2003-11-20 Thread Sergey V. Spiridonov
Sergey V. Spiridonov wrote:
Hi

I tried to make exim4 smtp auth against libpam-dotfile with no success. 
Is it suppoused to work?
Solved.
--
Best regards, Sergey Spiridonov
A: No
Q: Should I quote below my post?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]