Problem with postfix (only local messages)

Discussion in 'HOWTO-Related Questions' started by cibles, Feb 17, 2014.

  1. cibles

    cibles New Member

    [solved] Problem with postfix (only local messages)

    Hello Falko,

    I installed a seveur by following this procedure: The Perfect Server - Debian Wheezy (Apache2, BIND, Dovecot, ISPConfig 3)

    Sending messages works very well to domains present on other servers.

    However, sending messages to the one currently present on the domain server does not work ...


    box1@localdomain to box1@externaldomain works


    box1@localdomain to box2@localdomain does not work

    [localdomain] is the affected server
    [externaldomain] is on another server
    Last edited: Feb 18, 2014
  2. cibles

    cibles New Member

    The logs

    dovecot: imap-login: Login: user=<box1>, method=PLAIN, rip=, lip=, mpid=2460, secured, session=<rRVZN6nylgB/AAAB>
    postfix/pickup[2390]: E4A03B00066: uid=33 from=<box1@localhost>
    postfix/cleanup[2463]: E4A03B00066: message-id=<>
    postfix/qmgr[2391]: E4A03B00066: from=<>, size=557, nrcpt=1 (queue active)
    dovecot: imap( Disconnected: Logged out in=479 out=517
    postfix/smtpd[2470]: connect from[]
    [COLOR="Red"]postfix/trivial-rewrite[2465]: warning: do not list domain in BOTH mydestination and virtual_mailbox_domains[/COLOR]
    postfix/smtpd[2470]: 51362B00062:[]
    postfix/cleanup[2463]: 51362B00062: message-id=<>
    postfix/qmgr[2391]: 51362B00062: from=<>, size=1210, nrcpt=1 (queue active)
    postfix/smtpd[2470]: disconnect from[]
    [COLOR="Red"]postfix/trivial-rewrite[2465]: warning: do not list domain in BOTH mydestination and virtual_mailbox_domains[/COLOR]
    amavis[27256]: (27256-10) Passed CLEAN {RelayedInbound}, <> -> <>, Message-ID: <>, mail_id: xToRIskxOKZB, Hits: 1.178, size: 557, queued_as: 51362B00062, 367 ms
    postfix/smtp[2467]: E4A03B00066: to=<>, relay=[]:10024, delay=0.54, delays=0.17/0.01/0/0.37, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[]:10025): 250 2.0.0 Ok: queued as 51362B00062)
    postfix/qmgr[2391]: E4A03B00066: removed
    postfix/local[2473]: 51362B00062: to=<>, relay=local, delay=0.09, delays=0.04/0.01/0/0.04, dsn=5.1.1, status=bounced (unknown user: "box2")
    postfix/cleanup[2463]: 682A7B00068: message-id=<>
    postfix/bounce[2474]: 51362B00062: sender non-delivery notification: 682A7B00068
    postfix/qmgr[2391]: 682A7B00068: from=<>, size=3087, nrcpt=1 (queue active)
    postfix/qmgr[2391]: 51362B00062: removed
    postfix/smtp[2475]: 682A7B00068: to=<>, relay=none, delay=0.06, delays=0.05/0.01/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for type=AAAA: Host not found)
    postfix/qmgr[2391]: 682A7B00068: removed
    Last edited: Feb 18, 2014
  3. cibles

    cibles New Member

    Solution !!!

    In /etc/, I had :

    [I]mydestination[/I] =, localhost, localhost.localdomain
    I replaced by :

    [I]mydestination[/I] = localhost, localhost.localdomain
    because is already called by the parameter virtual_mailbox_domains

    And now, It works !

Share This Page