LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Howto configure Sendmail (https://www.linuxquestions.org/questions/linux-newbie-8/howto-configure-sendmail-258528/)

@ngelot 11-23-2004 05:42 PM

Howto configure Sendmail
 
Running debian with no GUI and sendmail with ADSL and dyndns.org so that my dynamic IP are updated and connected to my domain - angelot.homeftp.org.

When sending mail to some domains I have no problems - the mail is recived and I get no error message. In the 'from-section', my address is admin@angelot.homeftp.org.

To mail accounts at hotmail.com (and some others) I get this error-message in mail.log:

Code:

Nov 24 00:24:36 debian sm-mta[5433]: iANAnk2W002675: to=<whatever@hotmail.com>, ctladdr=<admin@angelot.homeftp.org> (1000/1000), delay=12:35:11, xdelay=00:00:00, mailer=esmtp, pri=7050373, relay=hotmail.com., dsn=4.0.0, stat=Deferred: Connection refused by hotmail.com
If anyone, out of this, can see what I'm doing wrong please respond!

Thanks,

@ngelot

Tinkster 11-23-2004 06:03 PM

Chances are there's nothing wrong with your setup.
Many organisations will refuse mail from machines
where the reverse-lookup fails ... if you're on DynDNS
dns changes most likely don't propagate fast enough
for the reverse lookup to work for you for up to 3 days
(if it gets propagated at all). So, after an IP change
mailing such domains may not work for up to 3 days,
or (depending on what exactly dyndns provides) not
at all ... the only solution in that case would be to get
a static IP.


Cheers,
Tink

@ngelot 11-23-2004 06:08 PM

But I've had the same dynamic dns for the last three weeks?

I've been running my apache httpd-server without any problems, and my router (updates dyndns) has been up all the time...

acid_kewpie 11-23-2004 06:13 PM

you should hopefully find that your ISP has an SMTP server available to you that will relay any mail within the ISP's client network. AOL etc... should then accept teh mail in the big wide world as it will have been sent by a big fat static smtp server, not your dynamic client server.

Peacedog 11-23-2004 06:18 PM

I'm not sure if this helps or not, but, microsoft in recent months restricted use of hotmail accounts to even windows users. Our office runs office 97, (except me, I'm using open office), and the users can no longer access hotmail accounts via outlook or outlook express. There is more info here.

http://help.msn.com/EN_US/frameset_u...HotmailPIM_FAQ

Again, I'm not sure if it would make a difference or not in this situation, I just thought this may be pertinent info.
good luck.

@ngelot 11-23-2004 07:01 PM

I did a relay-test with telnet:
Code:

HELO angelot.homeftp.org
250 angelot.homeftp.org Hello, [...] please to meet you
MAIL FROM:<admn@angelot.homeftp.org>
250 admin@angelot.homeftp.org    Sender OK
RCPT TO:<angelot@hotmail.com>
550 angelot@hotmail.com  Relaying denied. Proper authentication required.

This is where it ended...

Does this help in any way?

@ngelot

@ngelot 11-24-2004 03:32 AM

I can't send mail to admin@angelot.homeftp.org either...

When trying to send mail form an external comp I get this return:
Code:

Your message has encountered delivery problems
to the following recipient(s):

admin@angelot.homeftp.org
Delivery failed
553 5.1.8 <obur@obur.no>... Domain of sender address obur@obur.no does not exist

Sent:        MAIL FROM:<obur@obur.no> SIZE=5646
Received:553 5.1.8 <obur@obur.no>... Domain of sender address obur@obur.no does not exist

With this details.txt attached:
Code:

Reporting-MTA: dns; mailengine3.web2000.activeisp.com
Received-From-MTA: dns; kontor (unverified [139.98.1.249])
Arrival-Date: Wed, 24 Nov 2004 10:17:49 +0100

Final-Recipient: rfc822; admin@angelot.homeftp.org
Action: failed
Status: 5.1.8 (Permanent failure - addressing: bad sender's system address)
Remote-MTA: dns; angelot.homeftp.org
Diagnostic-Code: smtp; 553 5.1.8 <obur@obur.no>... Domain of sender address obur@obur.no does not exist

Does this have anything to do with the error I get when trying to send mail to ex. homail-addresses with sendmail from my linux-box?

Please help - I'm stuck!

@ngelot

monroetech 11-27-2004 12:31 AM

I'm going to start off by saying, I can't help you with the sendmail problem, I feel it has to do with reverse lookup not matching your headers.....

First, make sure that POP3 and SMTP are open ports for you, Most ISP's block them unless you have a Buisness Connection...

Second, If they are not blocked - DELETE SENDMAIL from your system..... sendmail has been natorious for years as being flawed and junk!

Install Qmail - It's a very Secure and FAST email server......
It's also very simple to install... I have included a link below to the Qmail Toaster -- It will install Qmail and WebMail using SquirrelMail

http://www.shupp.org/toaster/

JB
http://www.monroetech.net

@ngelot 11-27-2004 02:49 AM

Thanks everybody!

I gave up on Sendmail - removed it and installed exim again. Everything works fine after some tuning....


@ngelot

mark_bj 09-26-2006 06:56 AM

Quote:

Originally Posted by @ngelot
I did a relay-test with telnet:
Code:

HELO angelot.homeftp.org
250 angelot.homeftp.org Hello, [...] please to meet you
MAIL FROM:<admn@angelot.homeftp.org>
250 admin@angelot.homeftp.org    Sender OK
RCPT TO:<angelot@hotmail.com>
550 angelot@hotmail.com  Relaying denied. Proper authentication required.

This is where it ended...

Does this help in any way?

@ngelot

I am cliam the same issues, but edit the /etc/mail/access
add the domain in
xxx.com RELAY
is ok..
i am stuck in fail to login

[root@spare7 mail]# telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
+OK spare7 Cyrus POP3 v2.2.12-Invoca-RPM-2.2.12-3.RHEL4.1 server ready <2916381462.1159271732@spare7>
USER user
+OK Name is a valid mailbox
PASS p@ss
-ERR [AUTH] Invalid login
Pls help


All times are GMT -5. The time now is 12:14 AM.