Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20th January 2006, 12:55 PM
Swaytech Offline
Registered User
 
Join Date: Aug 2005
Posts: 41
mailing out

I've got the server setup and its running quite sweet, but I've run into a problem


I've been emailing out the logwatch to a hotmail addy all succesfully, but when a change it to an isp addy for example ntlworld.com it errors and get it sent back to the root

(reason: 553 xx.xx.xx does not exist)... now its true this does not exist as its only a test server.

But i do have access to the company smtp server mail.xx.com

I have tried changing a few settings but only succeded to make it worse, its now back to original install config

So how do I configure sendmail to use the companies smtp

Thanks for any help
  #2  
Old 21st January 2006, 05:23 AM
gavinw6662 Offline
Registered User
 
Join Date: Feb 2005
Age: 34
Posts: 1,281
if you are trying to use a company e-mail server to send your message that is called smart hosting. And that is an option at the top of the sendmail config. What that does, is typically you use it to designate your isp's mail server, so you send the message to your ISP's mail server to process it. Rather that process it on your mailserver. Hope that helps.
__________________
I read your e-mail
  #3  
Old 23rd January 2006, 08:54 AM
Swaytech Offline
Registered User
 
Join Date: Aug 2005
Posts: 41
Right I've done the following:-

Sevice sendmail stop

Edited vi /etc/mail/sendmail.mc
Removed dnl from infront of smart host and put in the host name of the mail server which I can ping and it resolves to an ip.

dnl #
define(`SMART_HOST',`xxx.xxxxxxxx.xxx)
dnl #

Closed and saved

installed sendmail-cf via yum

run

make -C /etc/mail

to generate a new

/etc/mail/sendmail.cf

Checked to see if the mail server is in there

vi /etc/mail/sendmail.cf

# "Smart" relay host (may be null)
DSxxx.xxxxxxxx.xxx

which it is

I still get errors when sending

(reason: 550-Verification failed for <root@test.server.org>) which is name of the server......

I'd like to change it so that appears to come from gateway@ourcompany.com I Take it I use the masquarade function... any pointers

Sorry sendmail newbie
  #4  
Old 23rd January 2006, 09:42 AM
Omega Blue's Avatar
Omega Blue Offline
Registered User
 
Join Date: Apr 2005
Location: Fragrant Harbour
Posts: 1,344
I think your company server needs to be configured as well. Open relaying is a thing of the past.
  #5  
Old 23rd January 2006, 10:13 AM
Swaytech Offline
Registered User
 
Join Date: Aug 2005
Posts: 41
Well I can create a user "gateway"

so his address would be gateway@ourcompany.com I could then forward any return email addy to my own box...

I'll set it up in a mo, but still need to set up the MASQUERADE
  #6  
Old 23rd January 2006, 02:13 PM
Swaytech Offline
Registered User
 
Join Date: Aug 2005
Posts: 41
I'm trying to use the following tutorial:-

http://cri.ch/linux/docs/sk0009.html

I'm not creating the

FEATURE(authinfo)dnl in the sendmail.mc

and not creating

etc/mail/authinfo
or
etc/mail/authinfo.db

as I do not require smtp autentication with this smtp server

Then

/etc/mail/userdb
gateway:root gateway@mydomain.com

makemap btree /etc/mail/userdb.db < /etc/mail/userdb

then restart sendmail

running
/usr/sbin/sendmail -bv root@localhost

gives
root@localhost... deliverable: mailer local, user root

running
/usr/sbin/sendmail -bv gateway@mydomain.com

gives
gateway@mydomain.com... deliverable: mailer relay, host mail.mydomain.com, user gateway@mydomain.com

So it says it works but mailing out the logwatch to either an external on now hotmail doesn't work.....

anyideas
  #7  
Old 23rd January 2006, 03:12 PM
smfinley's Avatar
smfinley Offline
Retired Community Manager
 
Join Date: Jul 2004
Posts: 1,335
See the "Special note on configuring sendmail for PHP using your email provider's SMTP (simple mail transport protocol)" in the PHP and Perl section of Fedora Core 4 Installation Notes.
__________________
Stanton Finley
stanton-finley.net
Closed Thread

Tags
mailing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailing external IP apechimp Using Fedora 4 26th August 2007 08:17 PM
Mailing Lists landoncz Servers & Networking 0 13th June 2007 03:35 PM


Current GMT-time: 15:30 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat