-   Linux - Networking (
-   -   Postfix Help - Sending via third party smtp (

scarstens 01-27-2004 02:26 PM

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 anyone that has a 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=<>,[###.###.###.###], delay=17, status=bounced (host[###.###.###.##] said: 553 <>... Not server for

What am I missing?

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

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

frodo = hostname

Linux_in_NH 01-27-2004 03:30 PM

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.

scarstens 01-27-2004 05:51 PM


I took out one setting "relayhost =" 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.

Linux_in_NH 01-27-2004 05:55 PM

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.

All times are GMT -5. The time now is 07:43 AM.