SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
sendmail-8.12.10-1.1.1
cyrus-sasl-2.1.15-6
openssl-0.9.7a-33.10
I want my mobile users to
In fact now i was able to connect but I am not able to send mail the sserver is rejecting the mail giving out this error message
config error: mail loops back to me (MX problem?)
554 5.3.5 Local configuration error
I just thought I'd mention that I've been viewing a number of sites trying to get my sendmail server to relay my local mail (all coming from one account)to gmail. There are a number of HOWTOs roaming the net out there, and almost all of them suggst a one-line authinfo file, which never worked for me. The key to success for me was using a two-line authinfo file as below:
i have a problem in sending mail through my server from outside of my local network
i have installed slackware 11 on the server and the same distro on my laptop
and now i'm at my girlfriends, trying to send mail through my smtp server
but it just wont accept my password
this is my output of the [/tmp/sendtmp]:
29259 >>> 220 x.rootservers.org ESMTP Sendmail 8.13.8/8.13.8; Sat, 6 Jan 2007 23:34:17 +0100
29259 <<< EHLO [192.168.2.111]
29259 >>> 250-x.rootservers.org Hello BSN-61-6-13.dial-up.dsl.siol.net [86.61.6.13], pleased to meet you
29259 >>> 250-ENHANCEDSTATUSCODES
29259 >>> 250-PIPELINING
29259 >>> 250-8BITMIME
29259 >>> 250-SIZE
29259 >>> 250-DSN
29259 >>> 250-ETRN
29259 >>> 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
29259 >>> 250-STARTTLS
29259 >>> 250-DELIVERBY
29259 >>> 250 HELP
29259 <<< STARTTLS
29259 >>> 220 2.0.0 Ready to start TLS
29259 <<< EHLO [192.168.2.111]
29259 >>> 250-x.rootservers.org Hello BSN-61-6-13.dial-up.dsl.siol.net [86.61.6.13], pleased to meet you
29259 >>> 250-ENHANCEDSTATUSCODES
29259 >>> 250-PIPELINING
29259 >>> 250-8BITMIME
29259 >>> 250-SIZE
29259 >>> 250-DSN
29259 >>> 250-ETRN
29259 >>> 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
29259 >>> 250-DELIVERBY
29259 >>> 250 HELP
29259 <<< AUTH CRAM-MD5
29259 >>> 334 PDM1MjM1MTc5MDQuMTA0OTUwNThAeC5yb290c2VydmVycy5vcmc+
29259 <<< YWRtaW4gYWQ4Y2I4ZTQxZDVhOGU0NzBiMzAxYjM3Mjk5YjQ4MWE=
29259 >>> 535 5.7.0 authentication failed
29259 <<< AUTH PLAIN AGFkbWluAHNzVDVmbzE5dXZubQ==
29259 >>> 535 5.7.0 authentication failed
29259 <<< AUTH LOGIN
29259 >>> 334 VXNlcm5hbWU6
29259 <<< YWRtaW4=
29259 >>> 334 UGFzc3dvcmQ6
29259 <<< c3NUNWZvMTl1dm5t
29259 >>> 535 5.7.0 authentication failed
29259 <<< [EOF]
29259 >>> 421 4.4.1 x.rootservers.org Lost input channel from BSN-61-6-13.dial-up.dsl.siol.net [86.61. 6.13]
so, x.rootservers.org is the server
86.61.6.13 is my current IP at my girlfriends
and...192.168.2.111 is the local IP at my girlfriends cuz we're using an wireless router here
the password is correct 1000% sure
edit: fixed
edit2: allways post how you solved the problem, you never know when you'll be stuck at the same problem
wish i would reported how i solved it back then
Well or something along those lines? I am just trying to point you inm the right direction, (of course this may not be what you want.) I haven't seen a sendmail FEATURE/etc that does this... but I could definitely be wrong. It may be something specific to the compile?
And beyond that I am not sure how to extract the info you need to add if using procmail..
there is more to it (procmail wise) so look here for a good example: linuxmafia.com
Last edited by bonecrusher; 05-10-2007 at 02:19 PM.
I'm referring to insertion of that header in the MTA during delivery. I don't use Procmail here (Cyrus). Well, it could be done, with a lot of effort, but I think the right place to do it is in the *.mc
Ok, I have a little problem. I did this little tutorial for SMTP AUTH. I got tls working. However this server is in my dorm room now, and if I connect to my ISP mail server from home from my dorm I get a message sent back to me saying:
Code:
----- Transcript of session follows -----
... while talking to myhomeISP.net.:
>>> DATA
<<< 591 mail from non-client IP addresses prohibited without authentication.. No mail will be accepted
554 5.0.0 Service unavailable
<<< 554 no valid RCPT address specified
I was curious if there is a way to do this through some other source, such as gmail or something of the like? Does it HAVE to be through your current ISP's mail server?
Thank you for your time,
DragonM15
P.S. This error message only comes to me when I am trying to send messages to the outside world. If I email another account on my server all is well.
You can use any remote SMTP server to where you have access/sending rights. If you have a registered username on gmail then you can use it. But gmail can be a beotch because they use SSL and don't accept normal connections and this tutorial doesn't cover that.
The problem is that you didn't authenticate properly, contact your ISP what kind of authentication do they use, if they use plain text passwords or md5 encrypted ones or any other and then edit you /etc/mail/authinfo and hash it then just like it says in this great tutorial.
My ISP usess plain text passwords so my authinfo looks like that:
AuthInfo:mail.*.net "U:myUserName" "P:myPassword" "M:PLAIN"
AuthInfo: "U:myUserName" "P:myPassword" "M:PLAIN"
Note that the second line must still exist in that file for some reason which I forgot, but it's well explained in this tutorial.
So, 2 questions... is it normal for AUTH=LOGIN to be in there twice? The 2nd time its in there it has the list of authentications it supports correct? 'LOGIN PLAIN CRAM-MD5 DIGEST-MD5'? I will try changing my authentication protocol to LOGIN and see if that fixes the problem.
Ok, update. I changed my authinfo file to include LOGIN PLAIN CRAM-MD5 or DIGEST-MD5 and they all came back with the same error message. I know for a fact that my username and password are correct. My formatting is correct as well, as shown here:
Try droping the brackets:
dnl define(`SMART_HOST',`mail.siol.net')
And make sure that your ISP demands username with hostname(user@host).
Maybe it just needs the username without the hostname(user)
I mean in authinfo "U:u@h" try "U:u"
Try droping the brackets:
dnl define(`SMART_HOST',`mail.siol.net')
And make sure that your ISP demands username with hostname(user@host).
Maybe it just needs the username without the hostname(user)
I mean in authinfo "U:u@h" try "U:u"
I tried dropping the brackets, and I ma sure that my isp demands user@host because one ISP bought out the other, and so they have 2 domains for their mailserver (If that makes sense). But I tried it without the hostname just in case, and it still gives me the same error. Also, I tried all the AUTH protocols that my ISP supports.
I did notice one thing when I telnet into my ISP's mail server. When I run the command: 'ehlo myisp.net' it returns a line that kinda confused me:
Code:
$ telnet mail.myisp.net 25
Trying 10.10.10.10...
Connected to mail.myisp.net.
Escape character is '^]'.
220 ispthatboughtoutmyisp.com ESMTP. You are not authenticated.
ehlo mail.myisp.net
250-ispthatboughtoutmyisp.com your name is not mail.myisp.net
250-HELP
250-PIPELINING
250-ETRN
250-DSN
250-TURN
250-ATRN
250-SIZE 20971520
250-AUTH=LOGIN
250-AUTH LOGIN PLAIN CRAM-MD5 DIGEST-MD5
250-8BITMIME
250 EHLO
so if I try 'ehlo ispthatboughtoutmyisp.com' it returns:
Code:
250-ispthatboughtoutmyisp.com your name is not ispthatboughtoutmyisp.com
250-HELP
250-PIPELINING
250-ETRN
250-DSN
250-TURN
250-ATRN
250-SIZE 20971520
250-AUTH=LOGIN
250-AUTH LOGIN PLAIN CRAM-MD5 DIGEST-MD5
250-8BITMIME
250 EHLO
I am trying to get this to work in my dorm. The mail server that I am trying to relay through is my ISP at home (not the dorms). But it should still work, shouldn't it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.