Results 1 to 3 of 3
Am having difficulties in using sendmail to send a test mail to Hotmail via SpamArrest.
smtp<dot>spamarrest<dot>xxx uses port 587. Added the following two lines to sendmail.mc
Code:
define(`RELAY_MAILER_ARGS', `TCP $h ...
- 06-21-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 2
sendmail configuration
Am having difficulties in using sendmail to send a test mail to Hotmail via SpamArrest.
smtp<dot>spamarrest<dot>xxx uses port 587. Added the following two lines to sendmail.mc
I then run "make", and "service sendmail restart", then got the following when I attempted to send mail.Code:define(`RELAY_MAILER_ARGS', `TCP $h 587')dfl define(`ESMTP_MAILER_ARGS', `TCP $h 587')dfl
Code:Jun 20 02:36:54 devsvr sendmail[3298]: o5JIasDR003298: from=root, size=232, class=0, nrcpts=1, msgid=<201006191836<dot>o5JIasDR003298<at>devsvr<dot>xxx>, relay=root<at>localhost Jun 20 02:36:54 devsvr sendmail[3300]: o5JIasVX003300: from=<root<at>devsvr<dot>xxx>, size=491, class=0, nrcpts=1, msgid=<201006191836<dot>o5JIasDR003298<at>devsvr<dot>xxx>, proto=ESMTP, daemon=MTA, relay=localhost<dot>localdomain [127.0.0.1] Jun 20 02:36:54 devsvr sendmail[3298]: o5JIasDR003298: to=xxxx<at>hotmail<dot>xxx, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30232, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o5JIasVX003300 Message accepted for delivery) Jun 20 02:36:55 devsvr sendmail[3302]: STARTTLS=client, relay=smtp<dot>spamarrest<dot>xxx., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256 Jun 20 02:36:56 devsvr sendmail[3302]: o5JIasVX003300: to=<xxxx<at>hotmail<dot>xxx>, ctladdr=<root<at>devsvr<dot>xxx> (0/0), delay=00:00:02, xdelay=00:00:02, mailer=relay, pri=120491, relay=smtp<dot>spamarrest<dot>xxx. [67.228.25.94], dsn=5.0.0, stat=Service unavailable Jun 20 02:36:56 devsvr sendmail[3302]: o5JIasVX003300: o5JIauVX003302: DSN: Service unavailable Jun 20 02:36:56 devsvr sendmail[3302]: o5JIauVX003302: to=<root<at>devsvr<dot>xxx>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31741, dsn=2.0.0, stat=Sent
This is from /var/spool/mail/root upon sending the mail.
Anyone has a clue of what I need to do? I'm lost!Code:----- The following addresses had permanent fatal errors ----- <xxxx<at>hotmail<dot>xxx> (reason: 554 <xxxx<at>hotmail<dot>xxx>: Relay access denied) ----- Transcript of session follows ----- ... while talking to smtp<dot>spamarrest<dot>xxx: >>> DATA <<< 554 <xxxx<at>hotmail<dot>xxx>: Relay access denied 554 5.0.0 Service unavailable <<< 554 Error: no valid recipients --o5K3dpRR002582<dot>1277005191/devsvr<dot>xxx Content-Type: message/delivery-status
- 06-23-2010 #2
You can try to add your domain in to /etc/mail/relay-domains file. if it doesn't exist. you can create it.
- 06-23-2010 #3Just Joined!
- Join Date
- Jun 2010
- Posts
- 2
Based on your suggestions, I found this site (the best explanation so far on sendmail).
www<dot>linux homenetworking<dot com>/wiki/index<dot php>/Quick_HOWTO_:_Ch21_:_Configuring_Linux_Mail_Server s]Quick HOWTO : Ch21 : Configuring Linux Mail Servers - Linux Home Networking
However, despite having set all these resolv.conf, and hosts files, it still doesn't work. It does, however, stop putting a mail in my /var/spool/mail/root saying relay access denied.
The /var/log/maillog prints out that it is simply timing out with smtp.spamarrest.com. Then when I typed "mailq" I see each of the mail I tried to sent without success. Not sure what's wrong.
I tried to "telnet smtp.spamarrest.com 587" and it returns a message saying ESMTP so it works.


Reply With Quote