Koozali.org: home of the SME Server

qmail auth problem

jor70

qmail auth problem
« on: February 16, 2004, 06:29:16 PM »
Everything worked fine until I sent a message from my host to a rcpt handled by own ISP's mail server
I got 530 response (authentication required for mail submission) over and over.
So, I talked to my ISP's support and they told me they were using SMTP auth.
Conclussion, I needed to configure my mail server to authenticate to send a message to a rcpt handled by them because I was sending from an IP inside
 my IP subnet.

Is there a way to do this? Can I configure qmail to send user/passwd pair before sending a mail to a particular smtp server?

Offline wyron

  • *
  • 275
  • +0/-0
    • http://www.ideast.dk
qmail auth problem
« Reply #1 on: February 16, 2004, 09:20:10 PM »
Why would you be using your isp's SMTP, when you have a perfectly capable SMTP-server already built-in in your SME-Server/Gateway ?
Greetings
wyron
...

Anonymous

qmail auth problem
« Reply #2 on: February 16, 2004, 09:27:42 PM »
Quote from: "wyron"
Why would you be using your isp's SMTP, when you have a perfectly capable SMTP-server already built-in in your SME-Server/Gateway ?


Sorry, perhaps I was not too clear
Im not using my isp's smtp, I'm using my qmail of my sme 6 and works fine. except when I sent mails to users of my isp's subnet
when my qmail try to connect to my isp's its get a 530 error,  auth required  

 :cry:  :cry:

Offline wyron

  • *
  • 275
  • +0/-0
    • http://www.ideast.dk
qmail auth problem
« Reply #3 on: February 16, 2004, 09:49:12 PM »
Now I'm really intrigued.
Why on earth should qmail connect to your isp's mail-subnet ?
Just fire the guns (read: mails) and damn the torpedoes.
Am I being daft here, or do you have a special setup I simply can't conceive of ?
(I have taken it for granted that you run your own mailserver in your own domain)
Greetings
wyron
...

jor70

qmail auth problem
« Reply #4 on: February 16, 2004, 10:06:03 PM »
Quote from: "wyron"
Now I'm really intrigued.
Why on earth should qmail connect to your isp's mail-subnet ?
Just fire the guns (read: mails) and damn the torpedoes.
Am I being daft here, or do you have a special setup I simply can't conceive of ?
(I have taken it for granted that you run your own mailserver in your own domain)


I think im using a "normal" server-gateway sme 6 box
 with none smtp fwd set on server-manager
 
this is what I get when I send a mail to a user of my same internet provider domain

Hi. This is the qmail-send program at server.myhome.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

Connected to 24.232.0.160 but sender was rejected.
Remote host said: 530 authentication required for mail submission

Offline wyron

  • *
  • 275
  • +0/-0
    • http://www.ideast.dk
qmail auth problem
« Reply #5 on: February 17, 2004, 12:01:53 AM »
Well I'll be .....
You're not on a dial-up connection. Everything could be explained if you were, but since you can mail anybody but subscribers with your own isp., I am at a loss.
I've just gone over my own e-mail settings, but that doesn't help, since you've already implied that you haven't delegated other mail-servers, and of course you haven't enabled a secondary mail-server with your isp.
So again, I'm at a loss.
I don't understand your isp's setup.
I simply don't get it.
Might I propose a simple test ?
Give me the address of one of your rcpt's and I'll mail him/her with nothing but a subject line, saying: Testmail on behalf of jor70.
If I'm bounced, your isp is at fault. If not, there must be something fishy in your mail-setup.
It's the best I can do right now, or rather tomorrow since its midnight here, and I'm off to bed shortly.
Greetings
wyron
...

Offline psc

  • *
  • 151
  • +0/-0
qmail auth problem
« Reply #6 on: February 17, 2004, 07:15:52 AM »
Hi,
i have a smtp-auth solution, if you want to send ALL your outgoing mail via smtp-auth and your isp´s mailserver.

Due to the qmail license conditions, it´s not allowed to  
store this e.g. at contribs.org.

Send me a mail, if you want and i send it out.


Peter
First, solve the problem. Then, write the code.

pistonpilot

qmail auth problem
« Reply #7 on: February 17, 2004, 07:53:18 AM »
I am using Comcast Cable and I have dynamic IP.  I upload all my mail to Comcast's SMPT server.  I can send mail to 60 percent of the recipients, the other 40 percent will reject my mail for relaying - 550 error because there is a database that knows I'm using a dynamic IP.  

If I paid for a static IP address I could use my own smtp server built in.

Quote from: "wyron"
Now I'm really intrigued.
Why on earth should qmail connect to your isp's mail-subnet ?
Just fire the guns (read: mails) and damn the torpedoes.
Am I being daft here, or do you have a special setup I simply can't conceive of ?
(I have taken it for granted that you run your own mailserver in your own domain)

Offline wyron

  • *
  • 275
  • +0/-0
    • http://www.ideast.dk
qmail auth problem
« Reply #8 on: February 17, 2004, 10:07:18 PM »
Thats the problem pinpointed, then.
Sorry - I know nothing about that kind of setup, since I have always used my own mailserver through a fixed ip.
Sorry again - you'll have to look elsewhere for help on that issue. I call in my chips.
Greetings
wyron
...

abrown

qmail auth problem
« Reply #9 on: March 08, 2004, 06:39:53 PM »
SMTP blocking or filtering is now a common situation for residential broadband (DSL/cable) in the US -- both at the receiving end (filtering dynamic IPs at MTA) and at the originating end (ISP's router filters block outgoing SMTP to IPs other than its own).  The longstanding e-Smith support for an upstream SMTP server is fine for these situations.  However, Verizon's DSL service now requires SMTP authentication at their upstream SMTP server.  I think this applies to both residential and business DSL service.   Their instructions on mail configuration address only common MUAs for Windows;  since you are not supposed to use an e-Smith server as an MTA behind the DSL modem to distribute service internally, your problem does not exist so far as they are concerned.  This is what they have told a nonprofit organization client of mine. I'm trying to find a solution keeping e-Smith and qmail as MTA -- apparently Sendmail has an answer, but I'd have to configure a RedHat or similar server and would lose the great server-manager user controls.

I've been trying to find an indication of work on qmail support for upstream SMTP authentication but so far have had no luck.  (It must exist;  this can't be the first time this has been such a pain in the neck.)  If anyone has any suggestions I'd appreciate an email or even phone call -- reach me at "abrown at msg dot com" or find the phone number at "www dot msg dot com".

Thanks -

Alex Brown

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
new EXTENDED qmail
« Reply #10 on: March 17, 2004, 12:53:50 PM »
And what about to patch qmail (with smtp relay authenticated, found on sourceforge) and build a web page (or modify the e-mail one) to allow enter user & pwd when doing relay?

I heard somewhere (in the web) that qmail can be patched but not called qmail anymore. So I suggest a creation of EQmail (extended qmail)!!

I have found a couple of patches for qmail on sourceforge... maybe it's time to create EQMAIL! :)
...

msoulier

qmail auth problem
« Reply #11 on: March 21, 2004, 06:52:18 AM »
Quote from: "Anonymous"

Sorry, perhaps I was not too clear
Im not using my isp's smtp, I'm using my qmail of my sme 6 and works fine. except when I sent mails to users of my isp's subnet
when my qmail try to connect to my isp's its get a 530 error,  auth required  


This is a common setup for braindead ISPs. Rogers is similar. SMTP auth is often required as a spam-blocking measure.

While qmail has nothing built-in to handle this, we have an experimental proxy built-in to some recent dev packages.

Grab the latest e-smith-email from the devel directory of any e-smith mirror. Check its requires and make sure you have those too, which should also be available there.

ie. rpm -qp --requires <rpm package file>

After you install them, run /etc/e-smith/events/actions/initialize-default-databases. You should now have a new record in your configuration db called smtp-auth-proxy.

Using the email panel, put your ISP's mail server in the field for "Address of Internet provider's mail server", and save. Then, from the command-line, do the following:

/sbin/e-smith/config setprop smtp-auth-proxy Userid <userid>
/sbin/e-smith/config setprop smtp-auth-proxy Passwd <passwd>
/sbin/e-smith/config setprop smtp-auth-proxy Debug enabled
/sbin/e-smith/signal-event email-update

The auth proxy should now be running on port 26 locally. Try sending an email, and you should see the smtp conversation with your ISP's mail server in /var/log/smtp-auth-proxy/current.

If you have any problems, please let me know. Also, this is "use at your own risk" code. While I know it works from testing it elsewhere, you have been warned that it is still alpha code.

Mike

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
qmail auth problem
« Reply #12 on: March 21, 2004, 01:46:31 PM »
Thanks by your reply.
I downloaded e-smith-email rpm and a few updated rpms.
But I saw :
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1

on requires... and don´t know anything about them!
I have an SME test server...I can do several tests (5.6 and 6.0 and 6.01 if you wish)... just tell me how to! :)
...

msoulier

qmail auth problem
« Reply #13 on: March 23, 2004, 04:11:14 AM »
Quote from: "jader"
Thanks by your reply.
I downloaded e-smith-email rpm and a few updated rpms.
But I saw :
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1

on requires... and don´t know anything about them!
I have an SME test server...I can do several tests (5.6 and 6.0 and 6.01 if you wish)... just tell me how to! :)


Those are satisfied by rpm itself, not to worry.

rpm -Uvh *.rpm

If you've satisfied the dependencies, they'll install. If not, they won't.

Mike

SynUK

qmail auth problem
« Reply #14 on: March 28, 2004, 12:32:49 AM »
As I am having the same problem as above ( my ISP requires me to logon to send via SMTP ), I have tried this solution. I havn't install any additional packages as my install log says that e-smith-email-4.14.0-07 is installed. After running all the commands listed, i don't have a smtp-auth-proxy directory, but if i look at the smtpfront-qmail log ( or something like that ! ) it is still failing to authorise the SMTP. I am running SME server V6.0.1 Does this make any difference or am i doing something stupid. Thanks.

msoulier

qmail auth problem
« Reply #15 on: March 31, 2004, 06:03:47 AM »
Quote from: "SynUK"
As I am having the same problem as above ( my ISP requires me to logon to send via SMTP ), I have tried this solution. I havn't install any additional packages as my install log says that e-smith-email-4.14.0-07 is installed. After running all the commands listed, i don't have a smtp-auth-proxy directory, but if i look at the smtpfront-qmail log ( or something like that ! ) it is still failing to authorise the SMTP. I am running SME server V6.0.1 Does this make any difference or am i doing something stupid. Thanks.


Sorry, but you need to pick up the latest versions of the required packages from the devel directory of any e-smith mirror. It won't work without them.

Mike

ed(at)edhamlin(dot)org

HELP! No outgoing email
« Reply #16 on: April 08, 2004, 05:52:14 AM »
Please help!

My ISP, earthlink, is determined to keep me from using my server. Previously they blocked port 25 outgoing so I can't use the SME built-in smtp server. Now they have implemented smtp authentication.

I have installed the rpms indicated in the above posts but they don't seem to work. Worse, when the message bounces the bounce doesn't get through, either. (I keep getting the "Authentication required Recpt doesn't like..." bounce). I am operating SME 6.0b3 with several of the dungog rpms (antivirus, email filtering, user accounts).

I would have sent this via email, but obviously can't do that!

Sign me frustrated.....

Anonymous

Re: HELP! No outgoing email
« Reply #17 on: April 09, 2004, 05:48:17 AM »
Quote from: "ed(at)edhamlin(dot)org"
I am operating SME 6.0b3 with several of the dungog rpms (antivirus, email filtering, user accounts).


Run with Debug on to ensure you capture the smtp conversation in the logs. It should shed some light as to what is happening.

/sbin/e-smith/config setprop smtp-auth-proxy Debug enabled                      
/etc/e-smith/events/actions/smtp-auth-proxy-restart          

Also, make sure the contents of /var/qmail/control/smtproutes is

:localhost:26

and that the proxy is actually up and running on port 26.

Mike

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
SMTP auth
« Reply #18 on: April 21, 2004, 11:04:47 PM »
Finally I got time to testing...

It works fine on 6.01-01
just download, do a rpm -Uvh *.rpm and :
/etc/e-smith/events/actions/initialize-default-databases
/sbin/e-smith/config setprop smtp-auth-proxy Userid XXX
/sbin/e-smith/config setprop smtp-auth-proxy Passwd YYY
/sbin/e-smith/config setprop smtp-auth-proxy Debug enabled
/sbin/e-smith/signal-event email-update

(do not forget first line!) It will not work without it!


BUT DO NOT EVEN INSTALL on 5.6 :(I even download a few more files). See my screen:
[root@tigre SMTP auth]# ll
total 624
-rwxrw-r--    1 jader    shared        273 Apr 21 14:04 comandos.txt
-rwxrw-r--    1 jader    shared      88195 Mar 21 09:23 e-smith-email-4.14.0-06.noarch.rpm
-rwxrw-r--    1 jader    shared      83374 Mar 21 09:58 e-smith-email-4.14.0-06.src.rpm.src
-rwxrw-r--    1 jader    shared     176566 Mar 21 09:25 e-smith-lib-1.14.0-07.noarch.rpm
-rwxrw-r--    1 jader    shared      29994 Mar 21 09:25 e-smith-mailfront-1.3.0-09.noarch.rpm
-rwxrw-r--    1 jader    shared      47190 Apr 21 14:10 perl-I18N-LangTags-0.27-2.noarch.rpm
-rwxrw-r--    1 jader    shared     154104 Apr 21 14:16 perl-Net-DNS-0.26-2.noarch.rpm
-rwxrw-r--    1 jader    shared      22211 Apr 21 14:16 perl-Net-Ping-2.18-1.noarch.rpm
[root@tigre SMTP auth]# rpm -Uvh *.rpm
error: failed dependencies:
        perl-I18N-AcceptLanguage is needed by e-smith-lib-1.14.0-07
        perl-Net-IPv4Addr >= 0.10-1 is needed by e-smith-lib-1.14.0-07
[root@tigre SMTP auth]#

Before I do some download perl-I18N-LangTags was needed too!


Any tips?

Thanks

Jáder
...

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
ops... don´t work
« Reply #19 on: April 28, 2004, 01:54:49 PM »
I´m sorry... it´s not working on my 6.01!

Messages are getting on my server.

I edit /var/qmail/control/smtproutes and it was :SMTP_ISP ... so I changed it to :localhost:26
But I cannot see a proxy running on :26 ...

How can I discover what´s happening ?

Jáder
...

msoulier

Re: ops... don´t work
« Reply #20 on: May 01, 2004, 08:36:11 PM »
Quote from: "jader"
I´m sorry... it´s not working on my 6.01!

Messages are getting on my server.

I edit /var/qmail/control/smtproutes and it was :SMTP_ISP ... so I changed it to :localhost:26
But I cannot see a proxy running on :26 ...

How can I discover what´s happening ?

Jáder


Never, never, never edit smtproutes by hand. That is a templated file.

/sbin/e-smith/config setprop smtp-auth-proxy status enabled
/sbin/e-smith/signal-event email-update

See if it works now.

If not, I'll need the output of

/sbin/e-smith/config show smtp-auth-proxy
/sbin/e-smith/config show SMTPSmartHost

Mike

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
updated... but still do not work!
« Reply #21 on: May 02, 2004, 09:01:13 PM »
Isn´t working!

BEFORE it was enabled, it show
Sender_address_rejected:_Domain_not_found/Giving_up_on_200.154.55.5./

AFTER it say:
@400000004095442538bb087c delivery 28: deferral: Connected_to_127.0.0.1_but_connection_died._(#4.4.2)/
@400000004095442538bb3b44 status: local 0/10 remote 0/20

Here is config:

[root@urso root]# /sbin/e-smith/config show smtp-auth-proxy
smtp-auth-proxy=service
    Debug=enabled
    Passwd=XXXXXXXXX ( :) )
    Userid=jader31
    status=enabled

[root@urso root]# /sbin/e-smith/config show SMTPSmartHost
SMTPSmartHost=smtp.poa.terra.com.br

[root@urso root]# netstat -an |grep 26
tcp        0      0 127.0.0.1:26            0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:26            127.0.0.1:1440          TIME_WAIT
tcp        0      0 127.0.0.1:26            127.0.0.1:1438          TIME_WAIT
unix  2      [ ]         DGRAM                    2678
unix  2      [ ]         DGRAM                    2677

[root@urso root]# tail -f /var/log/qmail/current
@400000004095429400f95614 new msg 1354976
@400000004095429401a7e594 info msg 1354976: bytes 863 from <admin@abandonemicrosoft.com> qp 10501 uid 401
@400000004095429406c41804 starting delivery 23: msg 1354976 to remote jader@fayet.adv.br
@400000004095429406c442fc status: local 0/10 remote 1/20
@400000004095429406c4529c starting delivery 24: msg 1354976 to remote jm31@terra.com.br
@400000004095429406c46df4 status: local 0/10 remote 2/20
@4000000040954299167fa6b4 delivery 23: deferral: 200.154.55.5_does_not_like_recipient./Remote_host_said:_450_<admin@abandonemicrosoft.com>:_Sender_address_rejected:_Domain_not_found/Giving_up_on_200.154.55.5./
@4000000040954299167ff0ec status: local 0/10 remote 1/20
@400000004095429917317a24 delivery 24: deferral: 200.154.55.5_does_not_like_recipient./Remote_host_said:_450_<admin@abandonemicrosoft.com>:_Sender_address_rejected:_Domain_not_found/Giving_up_on_200.154.55.5./
@40000000409542991731b8a4 status: local 0/10 remote 0/20

@400000004095434a2ec0316c new msg 1354977
@400000004095434a2ec050ac info msg 1354977: bytes 915 from <admin@abandonemicrosoft.com> qp 10759 uid 401
@400000004095434b00a55a14 starting delivery 25: msg 1354977 to remote acastro@cpovo.net
@400000004095434b00a588f4 status: local 0/10 remote 1/20
@400000004095434b1c8d3634 delivery 25: deferral: Connected_to_127.0.0.1_but_connection_died._(#4.4.2)/
@400000004095434b1c8d6ce4 status: local 0/10 remote 0/20
@40000000409543a51d1d58a4 starting delivery 26: msg 1354975 to remote jmarasca@cpovo.net
@40000000409543a51d1d8b6c status: local 0/10 remote 1/20
@40000000409543a52801728c delivery 26: deferral: Connected_to_127.0.0.1_but_connection_died._(#4.4.2)/
@40000000409543a52801a93c status: local 0/10 remote 0/20
@4000000040954425280429dc starting delivery 27: msg 1354976 to remote jader@fayet.adv.br
@4000000040954425280458bc status: local 0/10 remote 1/20
@400000004095442528046c44 starting delivery 28: msg 1354976 to remote jm31@terra.com.br
@40000000409544252804879c status: local 0/10 remote 2/20
@400000004095442536e62d24 delivery 27: deferral: Connected_to_127.0.0.1_but_connection_died._(#4.4.2)/
@400000004095442536e663d4 status: local 0/10 remote 1/20
@400000004095442538bb087c delivery 28: deferral: Connected_to_127.0.0.1_but_connection_died._(#4.4.2)/
@400000004095442538bb3b44 status: local 0/10 remote 0/20

I´m using last versions of packages as in link you sent!
...

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
more problems! ISE on server-manager
« Reply #22 on: May 06, 2004, 02:00:19 AM »
After reboot I get Internal Server Error (ISE) on server manager!

I discovered it´s something with perl-I18N-LangTags file:
[root@urso root]# tail /var/log/httpd/admin_error_log
BEGIN failed--compilation aborted at /etc/e-smith/web/panels/manager/html//index.cgi line 25.
[Wed May  5 20:58:40 2004] [error] [client 127.0.0.1] Premature end of script headers: /etc/e-smith/web/panels/manager/html//index.cgi
"language_tag2locale" is not exported by the I18N::LangTags module at /usr/lib/perl5/site_perl/esmith/I18N.pm line 15


TRACKED DOWN: I don´t need/should update perl-I18N-LangTag !!!

But I still do not get smtp auth working... still geting:

[root@urso root]# tail /var/log/qmail/current
@40000000409c1f580cae7b9c new msg 1354835
@40000000409c1f580cb56cf4 info msg 1354835: bytes 763 from <admin@abandonemicrosoft.com> qp 3127 uid 401
@40000000409c1f581e047c84 starting delivery 3: msg 1354835 to remote jmarasca@cpovo.net
@40000000409c1f581e04af4c status: local 0/10 remote 1/20
@40000000409c1f581e04c2d4 starting delivery 4: msg 1354835 to remote jader31@terra.com.br
@40000000409c1f581e04da44 status: local 0/10 remote 2/20
@40000000409c1f582f856d9c delivery 3: deferral: Connected_to_127.0.0.1_but_connection_died._(#4.4.2)/
@40000000409c1f582f85a44c status: local 0/10 remote 1/20
@40000000409c1f58300c77ec delivery 4: deferral: Connected_to_127.0.0.1_but_connection_died._(#4.4.2)/
@40000000409c1f58300cb284 status: local 0/10 remote 0/20
[root@urso root]#
...

msoulier

Re: more problems! ISE on server-manager
« Reply #23 on: May 08, 2004, 03:06:37 AM »
Quote from: "jader"
After reboot I get Internal Server Error (ISE) on server manager!

I discovered it´s something with perl-I18N-LangTags file:
[root@urso root]# tail /var/log/httpd/admin_error_log
BEGIN failed--compilation aborted at /etc/e-smith/web/panels/manager/html//index.cgi line 25.
[Wed May  5 20:58:40 2004] [error] [client 127.0.0.1] Premature end of script headers: /etc/e-smith/web/panels/manager/html//index.cgi
"language_tag2locale" is not exported by the I18N::LangTags module at /usr/lib/perl5/site_perl/esmith/I18N.pm line 15


TRACKED DOWN: I don´t need/should update perl-I18N-LangTag !!!

But I still do not get smtp auth working... still geting:

[root@urso root]# tail /var/log/qmail/current
@40000000409c1f580cae7b9c new msg 1354835
@40000000409c1f580cb56cf4 info msg 1354835: bytes 763 from <admin@abandonemicrosoft.com> qp 3127 uid 401
@40000000409c1f581e047c84 starting delivery 3: msg 1354835 to remote jmarasca@cpovo.net
@40000000409c1f581e04af4c status: local 0/10 remote 1/20
@40000000409c1f581e04c2d4 starting delivery 4: msg 1354835 to remote jader31@terra.com.br
@40000000409c1f581e04da44 status: local 0/10 remote 2/20
@40000000409c1f582f856d9c delivery 3: deferral: Connected_to_127.0.0.1_but_connection_died._(#4.4.2)/
@40000000409c1f582f85a44c status: local 0/10 remote 1/20
@40000000409c1f58300c77ec delivery 4: deferral: Connected_to_127.0.0.1_but_connection_died._(#4.4.2)/
@40000000409c1f58300cb284 status: local 0/10 remote 0/20
[root@urso root]#


I'm not sure about the langtags issue. That error came up in an earlier version of that module, but I don't see why you'd have that installed, or why it would suddenly be happening now.

As for the rest, I'll need to see the smtp-auth-proxy log.

Mike

aworthin

qmail auth problem
« Reply #24 on: May 08, 2004, 05:15:48 AM »
I installed the rpms and get this in the logfile

@40000000409c06e825dfe664 Binding to TCP port 26 on host localhost
@40000000409c06e839d3a854 Setting gid to "99 99"
@40000000409c06e9071141ec Setting uid to "99"
@40000000409c074518f13b24 Net::SMTP>>> Net::SMTP(2.26)
@40000000409c074518fbb6bc Net::SMTP>>>   Net::Cmd(2.24)
@40000000409c07451906ce94 Net::SMTP>>>     Exporter(5.562)
@40000000409c0745191038bc Net::SMTP>>>   IO::Socket::INET(1.25)
@40000000409c074519189d2c Net::SMTP>>>     IO::Socket(1.26)
@40000000409c07451920af94 Net::SMTP>>>       IO::Handle(1.21)
@40000000409c07452050be44 Net::SMTP=GLOB(0x824d6d8)<<< 220 smtp808.mail.sc5.yahoo.com ESMTP
@40000000409c0745208f616c Net::SMTP=GLOB(0x824d6d8)>>> EHLO gateway.mjwphotos.com
@40000000409c074524a9ac6c Net::SMTP=GLOB(0x824d6d8)<<< 250-smtp808.mail.sc5.yahoo.com
@40000000409c074524b68964 Net::SMTP=GLOB(0x824d6d8)<<< 250-AUTH LOGIN PLAIN
@40000000409c074524c2be64 Net::SMTP=GLOB(0x824d6d8)<<< 250-PIPELINING
@40000000409c074524ceff1c Net::SMTP=GLOB(0x824d6d8)<<< 250 8BITMIME
@40000000409c074527bf9344 Can't locate Authen/SASL.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl) at /usr/lib/perl5/site_perl/5.6.1/Net/SMTP.pm line 102.


Any ideas what is missing?

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
problem with smtp auth
« Reply #25 on: May 09, 2004, 03:25:38 PM »
Michael

I'm getting exactly same error as aworthin (above).
I'll send you my entire log file in PM.

Thanks

Jáder
...

msoulier

qmail auth problem
« Reply #26 on: May 11, 2004, 04:54:09 PM »
Quote from: "aworthin"
I installed the rpms and get this in the logfile

@40000000409c074527bf9344 Can't locate Authen/SASL.pm in @INC (@INC contains:

Any ideas what is missing?


Please install perl-Authen-SASL-2.06-1.i386.rpm from any e-smith mirror, and post here as to whether that fixes your problem.

Thanks,
Mike

Anonymous

qmail auth problem
« Reply #27 on: May 12, 2004, 01:52:24 AM »
Everything seems to be working.  Below is the log and the test email came throuhg.

Thanks


@4000000040a11dce28ee050c Net::SMTP>>> Net::SMTP(2.26)
@4000000040a11dce29e1a824 Net::SMTP>>>   Net::Cmd(2.24)
@4000000040a11dce29ed8f04 Net::SMTP>>>     Exporter(5.562)
@4000000040a11dce29f5822c Net::SMTP>>>   IO::Socket::INET(1.25)
@4000000040a11dce29fe1194 Net::SMTP>>>     IO::Socket(1.26)
@4000000040a11dce2a065aac Net::SMTP>>>       IO::Handle(1.21)
@4000000040a11dce2fa2bd84 Net::SMTP=GLOB(0x824d798)<<< 220 smtp804.mail.sc5.yahoo.com ESMTP
@4000000040a11dce33f1c484 Net::SMTP=GLOB(0x824d798)>>> EHLO gateway.mjwphotos.com
@4000000040a11dce380c51ec Net::SMTP=GLOB(0x824d798)<<< 250-smtp804.mail.sc5.yahoo.com
@4000000040a11dce38223b4c Net::SMTP=GLOB(0x824d798)<<< 250-AUTH LOGIN PLAIN
@4000000040a11dce382e31cc Net::SMTP=GLOB(0x824d798)<<< 250-PIPELINING
@4000000040a11dce383a1c94 Net::SMTP=GLOB(0x824d798)<<< 250 8BITMIME
@4000000040a11dcf303915cc Net::SMTP=GLOB(0x824d798)>>> AUTH LOGIN
@4000000040a11dcf346cb52c Net::SMTP=GLOB(0x824d798)<<< 334 VXNlcm5hbWU6
@4000000040a11dcf348a91b4 Net::SMTP=GLOB(0x824d798)>>> YXdvcnRoaW5Ac2JjZ2xvYmFsLm5ldA==
@4000000040a11dcf38e41c1c Net::SMTP=GLOB(0x824d798)<<< 334 UGFzc3dvcmQ6
@4000000040a11dcf38fe2814 Net::SMTP=GLOB(0x824d798)>>> YkpUeDZ3Vg==
@4000000040a11dd0030cb93c Net::SMTP=GLOB(0x824d798)<<< 235 ok, go ahead (#2.0.0)

aworthin

qmail auth problem
« Reply #28 on: May 12, 2004, 01:58:09 AM »
Well I may have spoken too soon.  The first email I sent which was to an address at my isp went through fine.  The second email that went to another address got an error below:

@4000000040a11e3212476f8c Net::SMTP>>> Net::SMTP(2.26)
@4000000040a11e3212529aec Net::SMTP>>>   Net::Cmd(2.24)
@4000000040a11e32125dd204 Net::SMTP>>>     Exporter(5.562)
@4000000040a11e321268edc4 Net::SMTP>>>   IO::Socket::INET(1.25)
@4000000040a11e3212718114 Net::SMTP>>>     IO::Socket(1.26)
@4000000040a11e321279ce14 Net::SMTP>>>       IO::Handle(1.21)
@4000000040a11e3213b864ac Net::SMTP>>> Net::SMTP(2.26)
@4000000040a11e3213c2e814 Net::SMTP>>>   Net::Cmd(2.24)
@4000000040a11e3213cdc93c Net::SMTP>>>     Exporter(5.562)
@4000000040a11e3213d5acc4 Net::SMTP>>>   IO::Socket::INET(1.25)
@4000000040a11e3213de43fc Net::SMTP>>>     IO::Socket(1.26)
@4000000040a11e3213e98e9c Net::SMTP>>>       IO::Handle(1.21)
@4000000040a11e3215fa1f1c Net::SMTP>>> Net::SMTP(2.26)
@4000000040a11e321604872c Net::SMTP>>>   Net::Cmd(2.24)
@4000000040a11e32160f646c Net::SMTP>>>     Exporter(5.562)
@4000000040a11e32161720e4 Net::SMTP>>>   IO::Socket::INET(1.25)
@4000000040a11e32161f94f4 Net::SMTP>>>     IO::Socket(1.26)
@4000000040a11e321627c69c Net::SMTP>>>       IO::Handle(1.21)
@4000000040a11e3216b12a7c Net::SMTP=GLOB(0x824d798)<<< 220 smtp807.mail.sc5.yahoo.com ESMTP
@4000000040a11e3216ee337c Net::SMTP=GLOB(0x824d798)>>> EHLO gateway.mjwphotos.com
@4000000040a11e3218ae13bc Net::SMTP=GLOB(0x824d7bc)<<< 220 smtp812.mail.sc5.yahoo.com ESMTP
@4000000040a11e3218e8abbc Net::SMTP=GLOB(0x824d7bc)>>> EHLO gateway.mjwphotos.com
@4000000040a11e321a01380c Net::SMTP=GLOB(0x824d7e0)<<< 220 smtp812.mail.sc5.yahoo.com ESMTP
@4000000040a11e321a491a64 Net::SMTP=GLOB(0x824d7e0)>>> EHLO gateway.mjwphotos.com
@4000000040a11e321b2eee54 Net::SMTP=GLOB(0x824d798)<<< 250-smtp807.mail.sc5.yahoo.com
@4000000040a11e321b3db394 Net::SMTP=GLOB(0x824d798)<<< 250-AUTH LOGIN PLAIN
@4000000040a11e321b49bd9c Net::SMTP=GLOB(0x824d798)<<< 250-PIPELINING
@4000000040a11e321b55d744 Net::SMTP=GLOB(0x824d798)<<< 250 8BITMIME
@4000000040a11e321d265954 Net::SMTP=GLOB(0x824d7bc)<<< 250-smtp812.mail.sc5.yahoo.com
@4000000040a11e321d35af1c Net::SMTP=GLOB(0x824d7bc)<<< 250-AUTH LOGIN PLAIN
@4000000040a11e321d41f3bc Net::SMTP=GLOB(0x824d7bc)<<< 250-PIPELINING
@4000000040a11e321d551244 Net::SMTP=GLOB(0x824d7bc)<<< 250 8BITMIME
@4000000040a11e321f496064 Net::SMTP=GLOB(0x824d7e0)<<< 250-smtp812.mail.sc5.yahoo.com
@4000000040a11e321f58b244 Net::SMTP=GLOB(0x824d7e0)<<< 250-AUTH LOGIN PLAIN
@4000000040a11e321f64b094 Net::SMTP=GLOB(0x824d7e0)<<< 250-PIPELINING
@4000000040a11e321f70aee4 Net::SMTP=GLOB(0x824d7e0)<<< 250 8BITMIME
@4000000040a11e3226600344 Net::SMTP=GLOB(0x824d798)>>> AUTH LOGIN
@4000000040a11e32273e7494 Net::SMTP=GLOB(0x824d7bc)>>> AUTH LOGIN
@4000000040a11e3228d92934 Net::SMTP=GLOB(0x824d7e0)>>> AUTH LOGIN
@4000000040a11e322a87bbc4 Net::SMTP=GLOB(0x824d798)<<< 334 VXNlcm5hbWU6
@4000000040a11e322aa628d4 Net::SMTP=GLOB(0x824d798)>>> YXdvcnRoaW5Ac2JjZ2xvYmFsLm5ldA==
@4000000040a11e322b754c2c Net::SMTP=GLOB(0x824d7bc)<<< 334 VXNlcm5hbWU6
@4000000040a11e322b93346c Net::SMTP=GLOB(0x824d7bc)>>> YXdvcnRoaW5Ac2JjZ2xvYmFsLm5ldA==
@4000000040a11e322d0784ec Net::SMTP=GLOB(0x824d7e0)<<< 334 VXNlcm5hbWU6
@4000000040a11e322d283fd4 Net::SMTP=GLOB(0x824d7e0)>>> YXdvcnRoaW5Ac2JjZ2xvYmFsLm5ldA==
@4000000040a11e322eebbddc Net::SMTP=GLOB(0x824d798)<<< 334 UGFzc3dvcmQ6
@4000000040a11e322f090dc4 Net::SMTP=GLOB(0x824d798)>>> YkpUeDZ3Vg==
@4000000040a11e322fdc4fcc Net::SMTP=GLOB(0x824d7bc)<<< 334 UGFzc3dvcmQ6
@4000000040a11e322ff73684 Net::SMTP=GLOB(0x824d7bc)>>> YkpUeDZ3Vg==
@4000000040a11e323173c07c Net::SMTP=GLOB(0x824d7e0)<<< 334 UGFzc3dvcmQ6
@4000000040a11e32318dd444 Net::SMTP=GLOB(0x824d7e0)>>> YkpUeDZ3Vg==
@4000000040a11e3235079d6c Net::SMTP=GLOB(0x824d798)<<< 235 ok, go ahead (#2.0.0)
@4000000040a11e3235c5404c Net::SMTP=GLOB(0x824d7bc)<<< 235 ok, go ahead (#2.0.0)
@4000000040a11e3238c81c24 Net::SMTP=GLOB(0x824d7e0)<<< 535 authorization failed (#5.7.0)
@4000000040a11e3238ffd5c4 SMTP authentication with ISP server failed
@4000000040a11e32391a8d9c Net::SMTP=GLOB(0x824d7e0)>>> QUIT
@4000000040a11e3301b13c34 Net::SMTP=GLOB(0x824d7e0)<<< 221 smtp812.mail.sc5.yahoo.com

aworthin

qmail auth problem
« Reply #29 on: May 12, 2004, 04:00:14 AM »
I tried a few more emails and all of the ones I sent eventually went through.  I did not receive any more of the auth errors.

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Still with errors :(
« Reply #30 on: May 12, 2004, 01:47:08 PM »
I just reformat and install 6.01-01 contribs version.
And do upgrade for these pkgs:
[root@urso qmail]# ls /root/lixo/SMTP\ auth/
comandos                               perl-libnet-1.17-1.i386.rpm
e-smith-email-4.15.0-06.noarch.rpm     perl-Net-Server-0.85-1.i386.rpm
e-smith-lib-1.15.0-14.noarch.rpm       perl-perl-ldap-0.31-1.i386.rpm
e-smith-mailfront-1.5.0-02.noarch.rpm  proftpd-1.2.9-es3.i386.rpm
initscripts-6.67-1es26.i386.rpm        sortspam-1.1.0-05.i386.rpm
perl-Authen-SASL-2_06-1_i386.rpm


Executed these command:

[root@urso root]#
[root@urso root]# /sbin/e-smith/config setprop smtp-auth-proxy Userid jader31
[root@urso root]#
[root@urso root]# /sbin/e-smith/config setprop smtp-auth-proxy Passwd 1111111
[root@urso root]#
[root@urso root]# /sbin/e-smith/config setprop smtp-auth-proxy Debug enabled
[root@urso root]#
[root@urso root]# /sbin/e-smith/config setprop smtp-auth-proxy status enabled
[root@urso root]#
[root@urso root]#
[root@urso root]# /sbin/e-smith/signal-event email-update
[root@urso root]#
[root@urso root]#
[root@urso root]# /sbin/e-smith/config show smtp-auth-proxy
smtp-auth-proxy=service
    Debug=enabled
    Passwd=1111111
    Userid=jader31
    status=enabled
[root@urso root]#
[root@urso root]# /sbin/e-smith/config show SMTPSmartHost
SMTPSmartHost=smtp.terra.com.br



But I´m still getting errors:
4000000040a20c020cb257e4 delivery 2: deferral: 127.0.0.1_does_not_like_recipient./Remote_host_said:_450_<admin@abandonemicrosoft.net>:_Sender_address_rejected:_Domain_not_found/Giving_up_on_127.0.0.1./


Why I could to get these error messages ?




[root@urso smtp-auth-proxy]# ll
total 4
-rw-r--r--    1 smelog   nofiles      3030 May 12 08:35 current
-rw-------    1 smelog   nofiles         0 May 12 08:29 lock
-rw-r--r--    1 smelog   nofiles         0 May 12 08:29 state
[root@urso smtp-auth-proxy]# tail current
@4000000040a20bfd05a44084 Net::SMTP=GLOB(0x824d78c)>>> EHLO urso.abandonemicrosoft.net
@4000000040a20bfd06e6f9b4 Net::SMTP=GLOB(0x824d78c)<<< 250-estero.terra.com.br
@4000000040a20bfd06ea8bc4 Net::SMTP=GLOB(0x824d78c)<<< 250-PIPELINING
@4000000040a20bfd06ecd5b4 Net::SMTP=GLOB(0x824d78c)<<< 250-SIZE 25000000
@4000000040a20bfd06ef238c Net::SMTP=GLOB(0x824d78c)<<< 250-ETRN
@4000000040a20bfd06f16994 Net::SMTP=GLOB(0x824d78c)<<< 250-AUTH PLAIN LOGIN
@4000000040a20bfd06f3b76c Net::SMTP=GLOB(0x824d78c)<<< 250-XVERP
@4000000040a20bfd06f5fd74 Net::SMTP=GLOB(0x824d78c)<<< 250 8BITMIME
@4000000040a20bfd08377e24 Net::SMTP=GLOB(0x824d78c)>>> AUTH PLAIN amFkZXIzMQBqYWRlcjMxAGdhbmRhbGY=
@4000000040a20bfd0a88f004 Net::SMTP=GLOB(0x824d78c)<<< 235 Authentication successful
[root@urso smtp-auth-proxy]# cd ..
[root@urso log]# cd qmail/
[root@urso qmail]# ll
total 4
-rw-r--r--    1 qmaill   nofiles      1781 May 12 08:35 current
-rw-------    1 qmaill   nofiles         0 May 12 08:13 lock
-rw-r--r--    1 qmaill   nofiles         0 May 12 08:13 state
[root@urso qmail]# tail current
@4000000040a20bfc2da829ec status: local 2/10 remote 2/20
@4000000040a20bfc2da8398c delivery 1: success: forward:_qp_2858/did_0+0+1/
@4000000040a20bfc2da850fc status: local 1/10 remote 2/20
@4000000040a20bfc32a5f334 delivery 4: success: did_1+0+0/
@4000000040a20bfc32a61a44 status: local 0/10 remote 2/20
@4000000040a20bfc33dfd2c4 end msg 1354841
@4000000040a20c020cb257e4 delivery 2: deferral: 127.0.0.1_does_not_like_recipient./Remote_host_said:_450_<admin@abandonemicrosoft.net>:_Sender_address_rejected:_Domain_not_found/Giving_up_on_127.0.0.1./
@4000000040a20c020cb2b1bc status: local 0/10 remote 1/20
@4000000040a20c022360e474 delivery 3: deferral: 127.0.0.1_does_not_like_recipient./Remote_host_said:_450_<admin@abandonemicrosoft.net>:_Sender_address_rejected:_Domain_not_found/Giving_up_on_127.0.0.1./
@4000000040a20c0223613294 status: local 0/10 remote 0/20
[root@urso qmail]#
...

msoulier

Re: Still with errors :(
« Reply #31 on: May 21, 2004, 09:43:17 PM »
Quote from: "jader"

But I´m still getting errors:
4000000040a20c020cb257e4 delivery 2: deferral: 127.0.0.1_does_not_like_recipient./Remote_host_said:_450_<admin@abandonemicrosoft.net>:_Sender_address_rejected:_Domain_not_found/Giving_up_on_127.0.0.1./


Why I could to get these error messages ?


*sigh* This might have something to do with it.

[msoulier@sme60build download]$ host abandonemicrosoft.net
Host abandonemicrosoft.net not found: 3(NXDOMAIN)

The upstream mail server, rightly so, is rejecting your email because the sender domain does not exist.

Mike

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
IT'S WORKING!
« Reply #32 on: May 22, 2004, 03:40:19 AM »
I'm so sorry to have done a SO PRIMARY error!
I forgot to pay the renew tax to my test domain!

It's working worderfully now!

Michael , I sorry to be boring you with a problem that just myself created!

Your contrib is wonderful!
Thanks!

Jáder
...

Mark R

Heeeeelllllllppppppp
« Reply #33 on: June 22, 2004, 11:00:43 AM »
I have followed various instructions on how to auth smtp against my isp...(good old BT) but i am still unable to get any results... ie config show smtp-auth-proxy doesnt return any results....
any suggestions would be appreciated

thanks
mark

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
qmail auth problem
« Reply #34 on: July 07, 2004, 05:32:21 AM »
I am going nuts with this also. I have a server running SME 6.0-01at a customers location that is connected to a sbc-yahoo dsl line (PPOE)Everything I have tried will not let any email out. Checking mail logs says that it is not authenticating.

They are using my server as their pop server so they can have vertial domain mail accounts.

I have server with static IP also running SME 6.0-01.
I have tried to let them use my server as the smtp server, and I can receive email sent to me, but if the try to send it to a hotmail account, it bounces back with a message
Quote
my ip does not like recipient
Remote host said: 553 Sorry, that domain isn't in my list of allowed
rcpthosts


Guess I am lost. I tried to do what jader did, but the rpms don't seem to want to install. failed dependencies.

Any other ideas
If I need to add any info, please tell me what else you need to know

Thank

Bob
If you think you know whats going on, you obviously have no idea whats going on!

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
qmail auth problem
« Reply #35 on: July 07, 2004, 06:54:27 AM »
I did find a way arround my problem In another post I found.

Quote
/sbin/e-smith/config setprop smtpfront-qmail Proxy disabled
/sbin/e-smith/signal-event remoteaccess-update


Then in outlook express, I put the smtp address for the isp. Then in the settings for the outgoing mail server, I put the login and password for the isp mail account. All is well for now. Now I just have to change the rest of the workstations.

Bob
If you think you know whats going on, you obviously have no idea whats going on!

jamrich1

Update killed contribs
« Reply #36 on: February 11, 2005, 09:11:06 PM »
After updating the esmith-email package and setting up smtp auth, I receive the following error when making changes to Jesper Knudsen's spam filter configuration page.
 
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

The admin_error_log shows this:-

[Fri Feb 11 19:35:02 2005] spamfilter: ERROR: You cannot set a config record without a type.
[Fri Feb 11 19:35:02 2005] [error] [client 127.0.0.1] malformed header from script. Bad header=</pre>: /etc/e-smith/web/panels/manager/cgi-bin/spamfilter

Then I get a whole load of these:-

[Fri Feb 11 19:35:03 2005] [crit] (98)Address already in use: make_sock: could not bind to address 127.0.0.1 port 980

I get a similar error when trying to make changes to dungogs user-panel manager.

Any ideas why?

Thanks, James.