|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
hi,
I've got a server, which can send email and receive..... now, I tried to connect the sever and SEND email, via evolution email client. It seems that it cannot send anything. The error message is that "password authentification failed" I cannot see how is define the password authetification in sendmail ?? I also tried Plain text -> Refused. When I succeed in getting a paswword request, (No Encryption, DIGEST-MD5) It doesn't accept the password of my user... :-( Any ideahow to solve this problem ? Thanks |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 11.03.2008 23:26, Steve wrote:
> I've got a server, which can send email and receive..... Some details might . OS, Sendmail version, config, network connection ... > now, I tried to connect the sever and SEND email, via evolution email > client. Some details might . OS, client config, client location, network connection ... > It seems that it cannot send anything. > The error message is that "password authentification failed" Who is producing that message. Evolution? When? Is that all it says? > I cannot see how is define the password authetification in sendmail ?? Typically, in sendmail.mc, but the answer depends on the details you neglected to provide. > I also tried Plain text -> Refused. Where did you try that? Is "refused" the message you received? > When I succeed in getting a paswword request, (No Encryption, DIGEST-MD5) How did you succeed? What do you mean by "getting a password request"? Are you saying that before that, Evolution told you "password authentication failed" without even asking you for a password first, or what? > It doesn't accept the password of my user... :-( Who is your user, and which password are you talking of? Where did you define it, and what can it be used for? > Any ideahow to solve this problem ? By the usual problem solving strategies: Start by properly describing it. Look in your Sendmail logs for hints on what is going wrong. If Evolution writes any logs, look there too. If Evolution has debugging aids such as logging or verbose mode, activate them. Try a different client and see it behaves the same. If you still need , ask again and include the relevant information. HTH T. -- Please excuse my bad English/German/French/Greek/Cantonese/Klingon/... |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Tilman Schmidt wrote:
> On 11.03.2008 23:26, Steve wrote: >> I've got a server, which can send email and receive..... > > Some details might . > OS, Sendmail version, config, network connection ... > >> now, I tried to connect the sever and SEND email, via evolution email >> client. > > Some details might . > OS, client config, client location, network connection ... > >> It seems that it cannot send anything. >> The error message is that "password authentification failed" > > Who is producing that message. Evolution? When? Is that all it says? > >> I cannot see how is define the password authetification in sendmail ?? > > Typically, in sendmail.mc, but the answer depends on the details > you neglected to provide. > >> I also tried Plain text -> Refused. > > Where did you try that? Is "refused" the message you received? > >> When I succeed in getting a paswword request, (No Encryption, DIGEST-MD5) > > How did you succeed? What do you mean by "getting a password > request"? Are you saying that before that, Evolution told you > "password authentication failed" without even asking you for > a password first, or what? > >> It doesn't accept the password of my user... :-( > > Who is your user, and which password are you talking of? > Where did you define it, and what can it be used for? > >> Any ideahow to solve this problem ? > > By the usual problem solving strategies: > > Start by properly describing it. > Look in your Sendmail logs for hints on what is going wrong. > If Evolution writes any logs, look there too. > If Evolution has debugging aids such as logging or verbose mode, > activate them. > Try a different client and see it behaves the same. > If you still need , ask again and include the relevant > information. > > HTH > T. > Oh sorry OK, I tried to setup sendmail (v 8) on my CentOS v 5 machine. I have also installed Squirrelmail. Apparently, the config is not so bad. I have just pointed the A and MX record, to my machine. I can now, send email "outside" and receive emails (from outside), via Squirrelmail. Now, nest step : I tend to connect my email client (evolution) to the server and try to download my emails, locally. For this, I have started Dovecot. Basic conf, seems to be OK I can download my emails locally, using my login name (Linux user name) and password (linux user) Receiving locally email is great, but sending email from my email client(evolution) would be fantastic !!! .... And I cant :-( I tried to setup the SMTP as : Server type : SMTP Server : < IP address of the machine : 192.xx.xx.xx> Encryption : NO Authentification : * type : PLAIN * username : <Linux Username> When I try sending, a pop up message from Evolution appears saying : connection refused At the moment, I don't try to send email, via secure communication, I just wish to send a email test But I have no idea WHERE and HOW to setup Sendmail for accetpting my Evolution to connect Is there a simple way to make Evolution communicate with Sendmail ? Thanks and regards, |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Steve schrieb:
> OK, I tried to setup sendmail (v 8) on my CentOS v 5 machine. > I have also installed Squirrelmail. > Apparently, the config is not so bad. > I have just pointed the A and MX record, to my machine. > > I can now, send email "outside" and receive emails (from outside), via > Squirrelmail. Ok. That clears up a lot already. > Now, nest step : I tend to connect my email client (evolution) to the > server and try to download my emails, locally. > For this, I have started Dovecot. Basic conf, seems to be OK > I can download my emails locally, using my login name (Linux user name) > and password (linux user) That means access to your mail store via POP3 or IMAP works. That's what Dovecot is for. Sending mail is a different story entirely. > Receiving locally email is great, but sending email from my email > client(evolution) would be fantastic !!! I am still missing an essential detail: do you run Evolution on the same machine as the mail server (Sendmail, Squirrelmail, Dovecot), or on a separate PC? If the latter, are the two in the same LAN? > I tried to setup the SMTP as : > > Server type : SMTP > Server : < IP address of the machine : 192.xx.xx.xx> > Encryption : NO > Authentification : > * type : PLAIN > * username : <Linux Username> Depending on the answer to my question above, that may or may not be the right way to set this up. > When I try sending, a pop up message from Evolution appears saying : > connection refused That looks as if Sendmail isn't even listening on the port Evolution tries to connect to. What happens if you try the command telnet 192.xx.xx.xx 25 from a command line on your client? (Btw: I wonder what you are trying to achieve by disguising the IP address of your server here.) Is anything appearing in your Sendmail log when you try that? Do you see log entries from successful mail deliveries from the outside before and/or after that? What does netstat -ant | fgrep :25 say? > Is there a simple way to make Evolution communicate with Sendmail ? Definitely. Millions of people have succeeded in doing so. :-) In fact, it's the normal behaviour of both Evolution and Sendmail, so obviously there is something not quite right somewhere in your setup. We just have to find it. ;-) HTH T. -- Please excuse my bad English/German/French/Greek/Cantonese/Klingon/... |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Tilman Schmidt wrote:
> Steve schrieb: >> OK, I tried to setup sendmail (v 8) on my CentOS v 5 machine. >> I have also installed Squirrelmail. >> Apparently, the config is not so bad. >> I have just pointed the A and MX record, to my machine. >> >> I can now, send email "outside" and receive emails (from outside), via >> Squirrelmail. > > Ok. That clears up a lot already. > >> Now, nest step : I tend to connect my email client (evolution) to the >> server and try to download my emails, locally. >> For this, I have started Dovecot. Basic conf, seems to be OK >> I can download my emails locally, using my login name (Linux user name) >> and password (linux user) > > That means access to your mail store via POP3 or IMAP works. That's > what Dovecot is for. Sending mail is a different story entirely. > >> Receiving locally email is great, but sending email from my email >> client(evolution) would be fantastic !!! > > I am still missing an essential detail: do you run Evolution on the > same machine as the mail server (Sendmail, Squirrelmail, Dovecot), > or on a separate PC? If the latter, are the two in the same LAN? > >> I tried to setup the SMTP as : >> >> Server type : SMTP >> Server : < IP address of the machine : 192.xx.xx.xx> >> Encryption : NO >> Authentification : >> * type : PLAIN >> * username : <Linux Username> > > Depending on the answer to my question above, that may or may not > be the right way to set this up. > >> When I try sending, a pop up message from Evolution appears saying : >> connection refused > > That looks as if Sendmail isn't even listening on the port Evolution > tries to connect to. What happens if you try the command > > telnet 192.xx.xx.xx 25 > > from a command line on your client? (Btw: I wonder what you are > trying to achieve by disguising the IP address of your server here.) > Is anything appearing in your Sendmail log when you try that? > Do you see log entries from successful mail deliveries from the > outside before and/or after that? > What does > > netstat -ant | fgrep :25 > > say? > >> Is there a simple way to make Evolution communicate with Sendmail ? > > Definitely. Millions of people have succeeded in doing so. :-) > In fact, it's the normal behaviour of both Evolution and Sendmail, > so obviously there is something not quite right somewhere in your > setup. We just have to find it. ;-) > > HTH > T. > Hi Tilman, In my example, NO, Sendmail and Evolution are on 2 different machines. BUT on the same Network. Sendmail is on 192.168.2.34 and the machine running Evolution is on 192.168.2.35 With SquirrelMail (On the Sendmail server), I can see that email can go out and can be received on Sendmail (As far as I know, Squirrelmail is checking on the Email server..) I made the test from my personal Yahoo email address, sending some emails to my New domain name email address. Now, concerning Evolution : YES, I have installed Dovecot, which allows me to download emails from Sendmail and receive it, into Evolution -> Seems to be OK !!! But just SENDING emails from Evolution, doesn't work out In other words, sending email from Evolution -> Sendmail. At the moment, I am running Fedora, and I should admit, that my TELNET seems not available. :-( I working on it Now, if I write : netstat -ant | fgrep :25 tcp 0 0000:25 0000:* LISTEN But what I don't know, is how to connect Evolution to Sendmail.. there is something I can't figure out. Here is my /etc/maillog Mar 13 23:22:43 mail dovecot: POP3(xx): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Mar 13 23:22:43 mail dovecot: pop3-login: Login: user=<xx>, method=PLAIN, rip=192.168.2.34, lip=192.168.2.34, secured Mar 13 23:24:49 mail dovecot: pop3-login: Login: user=<xx>, method=PLAIN, rip=192.168.2.35, lip=192.168.2.35 Mar 13 23:24:49 mail dovecot: POP3(xx): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Mar 13 23:24:49 mail sendmail[3207]: m2DNOnIB003207: [192.168.2.35] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA Mar 13 23:24:49 mail sendmail[3208]: m2DNOnYA003208: [192.168.2.35] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA Mar 13 23:24:52 mail dovecot: pop3-login: Login: user=<xx>, method=PLAIN, rip=192.168.2.35, lip=192.168.2.34 Mar 13 23:24:52 mail dovecot: POP3(xx): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Mar 13 23:24:52 mail sendmail[3211]: m2DNOqsV003211: [192.168.2.35] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA Mar 13 23:24:53 mail sendmail[3214]: m2DNOrp1003214: [192.168.2.35] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Steve schrieb:
> In my example, NO, Sendmail and Evolution are on 2 different machines. > BUT on the same Network. > Sendmail is on 192.168.2.34 and the machine running Evolution is on > 192.168.2.35 Ok, fine. In that case, you shouldn't need to activate Authentification in Evolution at all. Sendmail should be set up to accept and relay mail from machines on the local network. > With SquirrelMail (On the Sendmail server), I can see that email can go > out and can be received on Sendmail (As far as I know, Squirrelmail is > checking on the Email server..) Squirrelmail does more or less the same as Evolution: it uses Dovecot to read mail, and Sendmail to send mail. > But just SENDING emails from Evolution, doesn't work out > In other words, sending email from Evolution -> Sendmail. Yepp, I gathered as much. So let's concentrate on that. > At the moment, I am running Fedora, and I should admit, that my TELNET > seems not available. :-( I working on it That's a pity. It's such a convenient way of testing. > Now, if I write : netstat -ant | fgrep :25 > tcp 0 0000:25 0000:* LISTEN Strange. No dots between the "0000"s? If it looked like this: tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN all would be well. (That's from one of my mailservers.) > But what I don't know, is how to connect Evolution to Sendmail.. there > is something I can't figure out. Yes, sure. We're working on it, aren't we? > Here is my /etc/maillog > [...] > Mar 13 23:24:49 mail sendmail[3207]: m2DNOnIB003207: [192.168.2.35] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA > Mar 13 23:24:49 mail sendmail[3208]: m2DNOnYA003208: [192.168.2.35] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA That looks like it's coming from your client PC. So Evolution does connect to your Sendmail process, it just gives up again immediately. I wonder why? Have a try with Telnet if you can. The command is "telnet 192.168.2.34 25" (the "25" at the end is important.) If you get a response like: 220 servername ESMTP Sendmail all is well. Type QUIT and hit enter to disconnect again. If not, report back the response you get. If the Telnet test goes well (or if you cannot do it), set Authentification to "no" or "off" in Evolution and see what it does then. It should either send the mail or give a more ful error message than "connection refused". In any case, please do report the corresponding Sendmail log file messages. HTH T. -- Please excuse my bad English/German/French/Greek/Cantonese/Klingon/... |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
Tilman Schmidt wrote:
> Steve schrieb: >> In my example, NO, Sendmail and Evolution are on 2 different machines. >> BUT on the same Network. >> Sendmail is on 192.168.2.34 and the machine running Evolution is on >> 192.168.2.35 > > Ok, fine. In that case, you shouldn't need to activate > Authentification in Evolution at all. Sendmail should be > set up to accept and relay mail from machines on the local > network. > >> With SquirrelMail (On the Sendmail server), I can see that email can go >> out and can be received on Sendmail (As far as I know, Squirrelmail is >> checking on the Email server..) > > Squirrelmail does more or less the same as Evolution: > it uses Dovecot to read mail, and Sendmail to send mail. > >> But just SENDING emails from Evolution, doesn't work out >> In other words, sending email from Evolution -> Sendmail. > > Yepp, I gathered as much. So let's concentrate on that. > >> At the moment, I am running Fedora, and I should admit, that my TELNET >> seems not available. :-( I working on it > > That's a pity. It's such a convenient way of testing. > >> Now, if I write : netstat -ant | fgrep :25 >> tcp 0 0000:25 0000:* LISTEN > > Strange. No dots between the "0000"s? If it looked like this: > > tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN > > all would be well. (That's from one of my mailservers.) > >> But what I don't know, is how to connect Evolution to Sendmail.. there >> is something I can't figure out. > > Yes, sure. We're working on it, aren't we? > >> Here is my /etc/maillog >> > [...] >> Mar 13 23:24:49 mail sendmail[3207]: m2DNOnIB003207: [192.168.2.35] >> did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA >> Mar 13 23:24:49 mail sendmail[3208]: m2DNOnYA003208: [192.168.2.35] >> did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA > > That looks like it's coming from your client PC. So Evolution does connect > to your Sendmail process, it just gives up again immediately. I wonder why? > > Have a try with Telnet if you can. The command is "telnet 192.168.2.34 25" > (the "25" at the end is important.) If you get a response like: > > 220 servername ESMTP Sendmail > > all is well. Type QUIT and hit enter to disconnect again. If not, report > back the response you get. > > If the Telnet test goes well (or if you cannot do it), set Authentification > to "no" or "off" in Evolution and see what it does then. It should either > send the mail or give a more ful error message than "connection > refused". > In any case, please do report the corresponding Sendmail log file messages. > > HTH > T. > Hi Tilman, That's it !! I found the problem It seems the line into sendmail.mc, was not enable correctly. - I removed the '#' but not the 'dnl' Now, I can connect and send email from Thunderbird. The 2nd mistake, was that I placed my domain name into the access file, but not my local network (just localhost was in it) now, the second step is to do the same, but secured ... :-) Thanks for your |
|
![]() |
| Outils de la discussion | |
|
|