loops back to myself

Discussion in 'Installation/Configuration' started by iceman42, Nov 17, 2006.

  1. iceman42

    iceman42 New Member

    I know what your thinking add your domain to the /etc/postfix/local-host-names file. If it were only that easy.

    My problem is that when I try to send email through to local ([email protected]) or remote email address ([email protected]) I get the dredded bounce message.

    If I re-queue the message, using webmin, I the messages go fine. If I send these emails originally from the server itself, i.e. using webmins webmail or just sending an email from the shell it goes fine.

     
  2. falko

    falko Super Moderator Howtoforge Staff

    Please add mail.mydomain.com to the bottom of /etc/postfix/local-host-names and restart Postfix.
    http://www.howtoforge.com/forums/showthread.php?t=7022&highlight=loops+back
    http://www.howtoforge.com/forums/showthread.php?t=8138&highlight=loops+back
     
  3. iceman42

    iceman42 New Member

    That was already added. I actually just added it twice. But no thats not it.
     

    Attached Files:

    Last edited: Nov 18, 2006
  4. iceman42

    iceman42 New Member

    I can requeue the soft bounced messages and they go from the webmin
    side of things, or if I send the email from the shell they go out
    without a hassel, however if I issue the postqueue or send from a
    client they give me that problem.
     
  5. iceman42

    iceman42 New Member

    So as a temp fix i am requeuing everything and then issuing postsuper -r ALL from a cron job.
     
  6. iceman42

    iceman42 New Member

    Got it, I think.

    -o content_filter=smtp-amavis

    should be

    -o content_filter=smtp-amavis:[127.0.0.1]:10024
     
  7. falko

    falko Super Moderator Howtoforge Staff

    So is it working now? If not, what's the output of
    Code:
    postconf -n|grep mydestination
    ?
     
  8. iceman42

    iceman42 New Member

    It is working now. Hurray!
     

Share This Page