Forward problem

Discussion in 'Installation/Configuration' started by itti, Feb 16, 2008.

  1. itti

    itti New Member

    I've a strange problem,
    I tried to set a forward from info@domain1 to info@domain2 but something is going wrong. The situation is that:
    if I set a forward from info@domain1 to my email on that machine, it works;
    if I set a forward from info@domain1 to info@domain2 nothing happens (no mail error back, no new mail at info@domain2);
    if I write directly to info@domain2 it works

    After a bit of searching, I found into the maillog that in the configuration 2 (with the forward set from info@domain1 to info@domain2) the system rewrites the to_addr to root@servername instead of web8_info that is the correct recipient for info@domain2.

    Has someone any hints ? Where can I take a look ?

    Thank you,
    Massimo
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's in /etc/aliases and /etc/postfix/virtusertable?
     
  3. itti

    itti New Member

    Dear Falko,

    I attach the aliases file (aliases.txt) and the lines in virtusertable related to my question where I substituded the customer's real domains with domain1 and domain2 where I expect to see mail sent to info@domain1 forwarded to info@domain2.

    Have you some hints ?

    Massimo
     

    Attached Files:

  4. falko

    falko Super Moderator Howtoforge Staff

    Please comment out or remove the line
    Code:
    info:                postmaster
    from /etc/aliases, then run
    Code:
    newaliases
    /etc/init.d/postfix restart
     
  5. itti

    itti New Member

    Dear Falko,
    it works but ...

    why did it influence only that "info" account ?
    why was that line there ?

    Thank you,
    Massimo

     
  6. falko

    falko Super Moderator Howtoforge Staff

    It was probably added by some package that created the user info.
     

Share This Page