LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-23-2008, 05:08 PM   #1
DavidWilliamson
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
Can't send using sendmail via my ISP's relay service


I am trying to send emails from my Linux server via my ISP's relay service.

They're not coming through when I send to one of my own email accounts and try to collect it via my POP client.

If I run this command:
sendmail -bv test@mydomain.net

Obviously I'm using a real email address.

Then I get this returned...

test@mydomain.net... deliverable: mailer relay, host relay.gradwell.net., user test@mydomain.net

Looks promising as relay.gradwell.net is the service that I want to use.

However, when I use this command:
sendmail -X ~/sendmail.log test@mydomain.net

Then here is the content of the generated log file. What's suspicious about this is that the only server that it mentions is my local one. There's no mention of the relay. Why?

31262 <<< adf
31262 <<< .
31262 === CONNECT [127.0.0.1]
31262 <<< 220 linux.varilink.co.uk ESMTP Sendmail 8.12.10/8.12.10/SuSE Linux 0.7; Sun, 23 Mar 2008 20:41:28 GMT^M
31262 >>> EHLO linux.varilink.co.uk
31262 <<< 250-linux.varilink.co.uk Hello localhost [127.0.0.1], pleased to meet you^M
31262 <<< 250-ENHANCEDSTATUSCODES^M
31262 <<< 250-PIPELINING^M
31262 <<< 250-8BITMIME^M
31262 <<< 250-SIZE^M
31262 <<< 250-DSN^M
31262 <<< 250-ETRN^M
31262 <<< 250-AUTH LOGIN^M
31262 <<< 250-DELIVERBY^M
31262 <<< 250 HELP^M
31262 >>> MAIL From:<root@linux.varilink.co.uk> SIZE=4 AUTH=root@linux.varilink.co.uk
31262 <<< 250 2.1.0 <root@linux.varilink.co.uk>... Sender ok^M
31262 >>> RCPT To:<test@mydomain.net>
31262 >>> DATA
31262 <<< 250 2.1.5 <test@mydomain.net>... Recipient ok^M
31262 <<< 354 Enter mail, end with "." on a line by itself^M
31262 >>> Received: (from root@localhost)
31262 >>> by linux.varilink.co.uk (8.12.10/8.12.10/Submit) id m2NKfQKB031262
31262 >>> for test@mydomain.net; Sun, 23 Mar 2008 20:41:26 GMT
31262 >>> Date: Sun, 23 Mar 2008 20:41:26 GMT
31262 >>> From: root <root@linux.varilink.co.uk>
31262 >>> Message-Id: <200803232041.m2NKfQKB031262@linux.varilink.co.uk>
31262 >>>
31262 >>> adf
31262 >>> .
31262 <<< 250 2.0.0 m2NKfSaC031263 Message accepted for delivery^M
31262 >>> QUIT
31262 <<< 221 2.0.0 linux.varilink.co.uk closing connection^M
 
Old 03-24-2008, 08:09 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
You need to look at the actual log file on how sendmail delivers the message, this is just your smtp conversation with your own sendmail instance which should first accept the message then deliver it via your relay server.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup sendmail to send outgoing mail to relay server markdjones82 Linux - Enterprise 2 01-31-2008 02:46 AM
how to send emails through ISP's smtp server coontie Linux - Software 14 06-07-2006 02:20 PM
HELP?!?!?! I can't send mail through my ISP's server. Wolfy Red Hat 2 08-19-2004 06:26 PM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM
SENDMAIL as an SMTP RELAY SERVER that can send email to internet. how? kublador Linux - Software 7 10-25-2003 08:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration