LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-27-2008, 08:53 AM   #1
dhanju
Member
 
Registered: Aug 2005
Location: bangalore
Posts: 47

Rep: Reputation: 18
Facing problem in Sendmail 3.13


Hi,

I configured the sendmail 3.11 to connect to realy server for sendmail the outgoing mails, it worked fine it is able to send mails throught relay server.

Output:
echo hai | mail -v -s wel user@abc.com
user@abc.com... Connecting to smtp.abc.com via relay...
220 smtp.abc.com ESMTP
>>> EHLO hostname.abc.com
250-smtp.abc.com
250-8BITMIME
250 SIZE 104857600
>>> MAIL From:<root@hostname.abc.com> SIZE=49
250 sender <root@hostname.abc.com> ok
>>> RCPT To:<user@abc.com>
250 recipient <user@abc.com> ok
>>> DATA
354 go ahead
>>> .
250 ok: Message 771735492 accepted
user@abc.com... Sent (ok: Message 771735492 accepted)
Closing connection to smtp.abc.com
>>> QUIT
221 smtp.abc.com


Same setup i followed to configure sendmail 3.13 to connect to relay server for sending outgoing mails, but it is connecting to the localhost instaed of relay server. (DS entry in sendmail.cf is exists)

output:
echo hai | mail -v -s wel user@abc.com
user@abc.com... Connecting to [127.0.0.1] via relay...
220 hostname.abc.comESMTP Sendmail 8.13.1/8.11.6; Fri, 21 Dec 2007 00:23:40 -0500
>>> EHLO hostname.abc.com
250-hostname.abc.com Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> MAIL From:<root@hostname.abc.com> SIZE=49 AUTH=root@hostname.abc.com250 2.1.0 <root@hostname.abc.com>... Sender ok
>>> RCPT To:<user@abc.com>
>>> DATA
250 2.1.5 <user@abc.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 lBL5Ne3e013137 Message accepted for delivery
user@abc.com... Sent (lBL5Ne3e013137 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 hostname.abc.com closing connection

So, how to configure sendmail 8.13 to connect to relay server for sendaing mails.

Thank In Advance

Dhanju
 
Old 03-27-2008, 09:10 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
The setup is the same just double check your cf file.
 
  


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
Facing problem regarding sound utkarshrawat Linux - Hardware 9 10-18-2007 02:54 AM
Please Help :: I am facing problem in rpmbuild as given here... amarjitsingh Fedora 1 06-10-2007 07:06 AM
facing problem on FC5 adnansanni Linux - Newbie 3 05-12-2006 12:03 PM
Facing a problem with procautostart safrout Linux - Software 3 12-24-2005 12:47 PM
facing problem with cronjobs manojthakkar Linux - General 7 12-09-2003 11:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:15 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