On 10/3/2012 1:28 PM, Alumno Etsii wrote:
> 2012/10/2 Dennis Guhl <li...@dguhl.org <mailto:li...@dguhl.org>>
> 
>     On Tue, Oct 02, 2012 at 09:54:02AM +0100, Alumno Etsii wrote:
>     > Hi list!
>     >
>     > Yesterday I was experimenting with the DNS registries assigned
>     to my mail
>     > server.
> 
>     [..]
> 
>     > But yesterday I changed this registry:
>     >
>     > devels.es <http://devels.es>.              13325   IN      A  
>         91.215.158.237
>     >
>     > To:
>     >
>     > devels.es <http://devels.es>.              13325   IN      A  
>         85.155.102.33
>     >
>     > So the A record would point to my machine too, and I started
>     to get this
>     > message each time I wanted to send/receive a mail:
>     >
>     > Oct  1 22:37:00 mail postfix/smtp[1850]: D01AD101534: to=<
>     > todos.somos...@gmail.com <mailto:todos.somos...@gmail.com>>,
>     relay=devels.es <http://devels.es>[85.155.102.33]:25, delay=0.35,
>     > delays=0.14/0.06/0.15/0, dsn=5.4.6, status=bounced (mail for
>     [devels.es <http://devels.es>]
>     > loops back to myself)
> 
>     [..]
> 
>     > Below is my postconf -n.
> 
>     [..]
> 
>     > relayhost = [devels.es <http://devels.es>]
> 
>     Here, after you changed the DNS, you tell your Mailserver to
>     relay to
>     himself. Obviously no good idea.
> 
>     Dennis
> 
> 
> Thanx for the response. I changed relayhost to:
> 
> relayhost = devels.es <http://devels.es>

devels.es is your own server, so postfix reports a loop.

Where should outgoing mail be delivered?
Directly to the receiver's MX?  relayhost should be empty.
To your ISP for delivery?  relayhost should point to their smtp server.
An internal mailhub/smarthost?  use the IP of the internal hub.



  -- Noel Jones

Reply via email to