LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-27-2004, 03:26 PM   #1
scarstens
LQ Newbie
 
Registered: Jan 2004
Location: MD
Distribution: RH 9.0
Posts: 6

Rep: Reputation: 0
Postfix Help - Sending via third party smtp


I've been trying for days now to get a new RH 9.0 server to send emails via our companies (third party) smtp server. I first tried sendmail - yeah that sucked.

Switched to postfix! I can get emails to send to anyone with an email address from our domain. So assume my domain is 123.com anyone that has a 123.com email address will receive emails I send from this server.

When I try sending to someone outside the domain (which will be a very common occurance since this server will host our companies knowledge base) I get the following...

postfix/smtp[17500]: 84DDF38C051: to=<email@att.net>, relay=XXX.com[###.###.###.###], delay=17, status=bounced (host XXX.com[###.###.###.##] said: 553 <email@att.net>... Not server for att.net)

What am I missing?

An email to someone in my domain returns this...

Jan 27 11:22:31 frodo sendmail[17667]: i0RGMVFk017667: to=XXX@mydoamin.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30041, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 2BFC738C051)
Jan 27 11:22:31 frodo postfix/nqmgr[17242]: 2BFC738C051: from=<root@mydoamin.com>, size=487, nrcpt=1 (queue active)
Jan 27 11:22:31 frodo postfix/smtpd[17669]: disconnect from localhost[127.0.0.1]
Jan 27 11:22:33 frodo postfix/smtp[17672]: 2BFC738C051: to=<XXX@mydomain.com>, relay=XXX.com[###.###.###.###], delay=2, status=sent (250 LAA06317 Message accepted for delivery)


frodo = hostname
 
Old 01-27-2004, 04:30 PM   #2
Linux_in_NH
Member
 
Registered: Jan 2004
Location: NH
Distribution: Mandrake, Geentoo, Ubuntu
Posts: 105

Rep: Reputation: 15
sounds like your relay server does not want to accept messages from you to relay. Does not sounds like a problem on the postfix system. You could try to modify postfix to not use a relay_host and see if that gets you around the problem for now.
 
Old 01-27-2004, 06:51 PM   #3
scarstens
LQ Newbie
 
Registered: Jan 2004
Location: MD
Distribution: RH 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
Smile

THANK YOU Linux_in_NH

I took out one setting "relayhost = smtp.mydomain.com" and it worked!!

I don't know why this was in there in the first place - I guess since I have been trying everything for several days now...

What do you use the relayhost settings for anyway?

Since it appears to work fine now (sent several emails to three different domains and they all arrived - where before only my domain worked) is there any thing else I should double check?

Thanks again.
 
Old 01-27-2004, 06:55 PM   #4
Linux_in_NH
Member
 
Registered: Jan 2004
Location: NH
Distribution: Mandrake, Geentoo, Ubuntu
Posts: 105

Rep: Reputation: 15
glad to help..... :-) (what?!? no aferro?) anyway, the relayhost is used if you need all of your email to another system before it 'leaves the building'. Like if you have an internal mail server that handles all of your companies messages, but it does not have direct access to the internet (firewalls and suchnot). In that case, you send non-local messages to a relayhost, that has access to the Internet, and let it take care of it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
smtp 0x800ccc0f error sending mail to postfix Corsari Linux - Networking 4 09-22-2008 11:51 AM
sending through IMAP (not SMTP)? Moebius Linux - Networking 6 10-03-2005 04:29 PM
Simple SMTP Mail Sending? usulsuspct Linux - Software 3 01-27-2005 04:11 PM
sending smtp mail the-chains Linux - General 0 12-08-2004 08:44 PM
Sending email to a smtp address through sendmail guilmetrp Linux - General 0 02-27-2004 09:02 PM


All times are GMT -5. The time now is 06:44 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration