Postfix and ISPConfig

Discussion in 'Installation/Configuration' started by virtus, Feb 13, 2013.

  1. virtus

    virtus New Member

    Hallo

    I have a problem.
    We have ISPCOnfig on a CentOS 6.3-Server.
    We have added email-domains and made the mailboxes.
    If I send a mail, it were bounce because they don’t know the user

    Code:
    Feb 13 14:43:29 h1976438 postfix/smtp[17808]: 3593E252C3B9: to=<------>, relay=none, delay=0.22, delays=0.16/0/0.06/0, dsn=5.4.6, status=bounced (mail for ----- loops back to myself)
    Feb 13 14:43:29 h1976438 postfix/cleanup[17807]: 5D8E7252C55F: message-id=<[email protected]>
    Feb 13 14:43:29 h1976438 postfix/qmgr[25933]: 5D8E7252C55F: from=<>, size=16389, nrcpt=1 (queue active)
    Feb 13 14:43:29 h1976438 postfix/bounce[17809]: 3593E252C3B9: sender non-delivery notification: 5D8E7252C55F
    
    or

    Code:
    Feb 13 14:45:13 h1976438 postfix/smtp[17971]: 8132D252C3B9: to=<---------->, relay=none, delay=0.44, delays=0.22/0.02/0.2/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=----------- type=AAAA: Host not found)
    Feb 13 14:45:13 h1976438 postfix/cleanup[17970]: D8BE9252C55F: message-id=<2-------- q------->
    Feb 13 14:45:13 h1976438 postfix/qmgr[25933]: D8BE9252C55F: from=<>, size=16483, nrcpt=1 (queue active)
    Feb 13 14:45:13 h1976438 postfix/bounce[17973]: 8132D252C3B9: sender non-delivery notification: D8BE9252C55F
    
    but when I send to the FQDN from the ISPConfig-Server, they accept the mail
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. virtus

    virtus New Member

    Nothing change after I add the domain to mydestination.
    If I send the mail from the ISPConfig:

    Code:
    skisp01:~ # mail -s " testas" --@---- < perfect_server.sh
    skisp01:~ # Feb 13 15:15:35 skisp01 postfix/pickup[11784]: 751842406FF: uid=0 from=<root>
    Feb 13 15:15:35 skisp01 postfix/cleanup[12914]: 751842406FF: message-id=<[email protected]>
    Feb 13 15:15:35 skisp01 postfix/qmgr[11785]: 751842406FF: from=<----->, size=5337, nrcpt=1 (queue active)
    Feb 13 15:15:35 skisp01 postfix/virtual[12922]: 751842406FF: to=<----->, relay=virtual, delay=0.09, delays=0.06/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to maildir)
    Feb 13 15:15:35 skisp01 postfix/qmgr[11785]: 751842406FF: removed
    
    /var/vmail:
    Code:
    skisp01:/var # ls -all | grep vmail
    drwxr-xr-x  5 vmail vmail 4096 Feb 13 14:06 vmail
    
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The solution I posted is for ispconfig 2 as you posted here in the ispconfig 2 forum but ispconfig 2 has no user vmail. A vmail users exists only in ispconfig 3 which uses a completely different email setup so the solution I posted will not apply to a ispconfig 3 system. So which ispconfig version do you use??
     
  5. virtus

    virtus New Member

    ohhhh...
    Sorry about that. :rolleyes:
    You are right, we use ISPConfig 3.

    My first problem is solved.
    I don’t have set the dns…
    If I send to a forward-email:
    Code:
    Feb 13 16:13:38 skisp01 postfix/virtual[20891]: 3FB002406DE: to=<[email protected]>, relay=virtual, delay=0.09, delays=0.06/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "[email protected]")
    
    and when I send to a mailbox
    Code:
    Feb 13 16:14:48 skisp01 postfix/virtual[20891]: 65FA42406DE: to=<[email protected]>, relay=virtual, delay=0.08, delays=0.05/0/0/0.03, dsn=2.0.0, status=sent (delivered to maildir)
    
    I see your post:
    http://www.howtoforge.com/forums/showthread.php?t=35191

    But it doesn’t help

    How I can send to the forward-Mail?
     
  6. virtus

    virtus New Member

    Machen wir uns es ein bisschen einfacher….

    In erster Linie, entschuldige mein sehr schlechtes Englisch.

    Folgendes Problem.
    Die Weiterleitung von Emails (bzw. Alias) funktioniert nicht. Die Mails werden Gebounced mit der Meldung, dass der Benutzer nicht vorhanden sei.
    Alles wurde korrekt im ISPConfig gesetzt und postfix scheint auch (einigermaßen) richtig konfiguriert zu sein.
    Das Senden an vollständige Mailkonten funktioniert allerdings.
    Log vom ISPConfig-Server:
    Code:
    Feb 13 16:46:13 skisp01 postfix/cleanup[24913]: 00D4A2406E7: message-id=<[email protected]>
    Feb 13 16:46:13 skisp01 postfix/qmgr[19503]: 00D4A2406E7: from=<[email protected]>, size=434, nrcpt=1 (queue active)
    Feb 13 16:46:13 skisp01 postfix/virtual[24923]: 00D4A2406E7: to=<[email protected]>, relay=virtual, delay=0.1, delays=0.06/0.01/0/0.03, dsn=5.1.1, status=bounced (unknown user: "[email protected]")
    Feb 13 16:46:13 skisp01 postfix/cleanup[24913]: 123F12406E8: message-id=<[email protected]>
    Feb 13 16:46:13 skisp01 postfix/bounce[24925]: 00D4A2406E7: sender non-delivery notification: 123F12406E8
    Feb 13 16:46:13 skisp01 postfix/qmgr[19503]: 123F12406E8: from=<>, size=2221, nrcpt=1 (queue active)
    Feb 13 16:46:13 skisp01 postfix/qmgr[19503]: 00D4A2406E7: removed
    Feb 13 16:46:13 skisp01 postfix/local[24929]: 123F12406E8: to=<[email protected]>, relay=local, delay=0.06, delays=0.03/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
    Feb 13 16:46:13 skisp01 postfix/qmgr[19503]: 123F12406E8: removed
    
    Log beim Senden zu einer Mailbox:
    Code:
    skisp01:/var # Feb 13 16:46:52 skisp01 postfix/pickup[19502]: 1E8362406E7: uid=0 from=<root>
    Feb 13 16:46:52 skisp01 postfix/cleanup[24913]: 1E8362406E7: message-id=<[email protected]>
    Feb 13 16:46:52 skisp01 postfix/qmgr[19503]: 1E8362406E7: from=<[email protected]>, size=435, nrcpt=1 (queue active)
    Feb 13 16:46:52 skisp01 postfix/virtual[24923]: 1E8362406E7: to=<[email protected]>, relay=virtual, delay=0.07, delays=0.04/0/0/0.03, dsn=2.0.0, status=sent (delivered to maildir)
    Feb 13 16:46:52 skisp01 postfix/qmgr[19503]: 1E8362406E7: removed
    
    Wie könnte der Fehler liegen?
    Desweiter muss ich zugeben das ich im Bereich ISPConfig und Mails kaum Erfahrung habe.
     
    Last edited: Feb 13, 2013

Share This Page