postfix and user

Discussion in 'Installation/Configuration' started by carlainz, May 7, 2006.

  1. carlainz

    carlainz New Member

    Hi all

    I have installed postfix in fc5 x86_64 with this howto http://www.howtoforge.com/perfect_setup_fedora_core_5_p5
    and i have installed also ispconfig

    i have test whit telnet localhost 25 and work fine ...

    but i have one question.
    where i can create my email user ?

    thanks , i'm a newbies of postfix ....
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. carlainz

    carlainz New Member

    Hi,
    Thanks for your answer , i have created user in tab "User & Email" and work ( i have tested whit SquirrelMail ) i can log in with my new user web2_carlainz ( email [email protected] ) but if i send email doesn't arrive at destination .
    the same is i send email ( from gmail) doesn't arrive in my new postbox [email protected] ...

    Thanks:)
     
  4. carlainz

    carlainz New Member

    after some minute after i have try to send a email from my new postbox , i receve this :

    Return-Path: <>
    X-Original-To: [email protected]ldomain
    Delivered-To: [email protected]ldomain
    Received: by localhost.localdomain (Postfix)
    id 156E11CA035E; Sun, 7 May 2006 18:43:54 +0200 (CEST)
    Date: Sun, 7 May 2006 18:43:54 +0200 (CEST)
    From: [email protected]ldomain (Mail Delivery System)
    Subject: Undelivered Mail Returned to Sender
    To: [email protected]ldomain
    MIME-Version: 1.0
    Content-Type: multipart/report; report-type=delivery-status;
    boundary="8559F1CA035C.1147020234/localhost.localdomain"
    Content-Transfer-Encoding: 8bit
    Message-Id: <[email protected]>


    This is the Postfix program at host localhost.localdomain.

    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to <postmaster>

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The Postfix program

    <[email protected]>: host xxxgw3.xxx.com[192.127.252.xxx] said: 553 5.1.8
    <[email protected]>... Domain of sender address
    [email protected]ldomain does not exist (in reply to
    RCPT TO command)
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Make sure the MX record for mydomain.com points to your server.

    Why are you trying to send to web2_carlainz@localhost.localhost.localdomain?
     
  6. carlainz

    carlainz New Member

    Make sure the MX record for mydomain.com points to your server.

    Yes , today my maintainer change and now the MX record points at my server ip.

    Why are you trying to send to [email protected]ldomain?

    now i have change my /etc/hosts from

    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost

    to

    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    80.150.x.x mydomain.it mydomain

    and my etc/sysconfig/network

    from

    NETWORKING=yes
    HOSTNAME=localhost.localdomain

    to

    NETWORKING=yes
    HOSTNAME=mydomain.com

    Now when i send a email arrive with this address [email protected]

    where I can change in [email protected] ?

    I have try from gmail , hotmail , myoffice to send a email at [email protected] or [email protected] but it does not arrive .........

    Thanks
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Is localhost.mydomain.com in /etc/postfix/local-host-names? If not, add it at the bottom of that file and restart Postfix.
     
  8. carlainz

    carlainz New Member

    yes i have localhost.mydomain.com , this is my file

    ###################################
    #
    # ISPConfig local-host-names Configuration File
    # Version 1.0
    #
    ###################################
    localhost
    mydomain.com
    localhost.mydomain.com
    localhost.com
    www.mydomain.com
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####


    Thanks
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Do the emails arrive when you send to [email protected]?
    Any errors in your mail log?
     
  10. carlainz

    carlainz New Member

    This is my /var/log/maillog

    May 9 16:30:01 mydomain dovecot: pop3-login: Disconnected: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    May 9 17:00:01 mydomain dovecot: pop3-login: Disconnected: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    May 9 17:31:01 mydomain dovecot: pop3-login: Disconnected: Inactivity: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    May 9 17:42:34 mydomain dovecot: imap-login: Login: user=<web2_carlainz>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    May 9 17:42:35 mydomain dovecot: imap-login: Login: user=<web2_carlainz>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    May 9 17:43:35 mydomain dovecot: imap-login: Disconnected: Inactivity: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    May 9 17:44:35 mydomain dovecot: imap-login: Disconnected: Inactivity: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    May 9 17:50:04 mydomain dovecot: imap-login: Disconnected: Inactivity: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    May 9 17:50:04 mydomain dovecot: imap-login: Login: user=<web2_carlainz>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    May 9 18:01:01 mydomain dovecot: pop3-login: Disconnected: Inactivity: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    May 9 18:31:01 mydomain dovecot: pop3-login: Disconnected: Inactivity: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    May 9 19:01:01 mydomain dovecot: pop3-login: Disconnected: Inactivity: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    May 9 19:31:01 mydomain dovecot: pop3-login: Disconnected: Inactivity: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    May 9 20:01:01 mydomain dovecot: pop3-login: Disconnected: Inactivity: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    May 9 20:31:01 mydomain dovecot: pop3-login: Disconnected: Inactivity: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured

    Thanks for your help ...

    Cheers
     
  11. carlainz

    carlainz New Member

    if from my gmail account send a email at [email protected] after some hours i receve this :

    X-Gmail-Received: 615fd346eb1a35ad0f58390e0c6ae9a42d47c870
    Delivered-To: [email protected]
    Received: by 10.70.126.18 with SMTP id y18cs190215wxc;
    Tue, 9 May 2006 11:27:09 -0700 (PDT)
    Received: by 10.70.28.7 with SMTP id b7mr4304944wxb;
    Tue, 09 May 2006 11:26:43 -0700 (PDT)
    Return-Path: <>
    Received: by 10.70.28.7 with SMTP id b7mr5624847wxb;
    Tue, 09 May 2006 11:26:43 -0700 (PDT)
    From: Mail Delivery Subsystem <[email protected]>
    To: [email protected]
    Subject: Delivery Status Notification (Delay)
    Date: Tue, 09 May 2006 11:26:43 -0700 (PDT)

    This is an automatically generated Delivery Status Notification

    THIS IS A WARNING MESSAGE ONLY.

    YOU DO NOT NEED TO RESEND YOUR MESSAGE.

    Delivery to the following recipient has been delayed:

    [email protected]

    Message will be retried for 1 more day(s)

    Technical details of temporary failure:
    TEMP_FAILURE: Could not initiate SMTP conversation with any hosts:
    [80.150.x.x.mydomain. (0): Destination address required]

    ----- Message header follows -----

    Received: by 10.70.28.7 with SMTP id b7mr1426131wxb;
    Sun, 07 May 2006 10:44:20 -0700 (PDT)
    Received: by 10.70.126.18 with HTTP; Sun, 7 May 2006 10:44:20 -0700 (PDT)
    Message-ID: <[email protected]>
    Date: Sun, 7 May 2006 19:44:20 +0200
    From: "Carlainz" <[email protected]>
    To: [email protected]
    Subject: 8888888888888
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="----=_Part_32850_922990.1147023860192"

    ----- Message body suppressed -----
     
  12. falko

    falko Super Moderator Howtoforge Staff

    You didn't post the important parts from your mail log, just some imao login attempts, but nothing about Postfix...

    Can you post your real domain name here?
     
  13. carlainz

    carlainz New Member

    hi this is my /var/log/maillog

    cheers:) :)
     

    Attached Files:

  14. falko

    falko Super Moderator Howtoforge Staff

    The problem is this:
    Code:
    dig mx softhelp.it
    
    ; <<>> DiG 9.2.1 <<>> mx softhelp.it
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39667
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;softhelp.it.                   IN      MX
    
    ;; ANSWER SECTION:
    [B][COLOR="Red"]softhelp.it.            14400   IN      MX      0 82.156.64.66.softhelp.it.[/COLOR][/B]
    
    ;; Query time: 53 msec
    ;; SERVER: 81.169.163.104#53(81.169.163.104)
    ;; WHEN: Wed May 10 15:49:25 2006
    ;; MSG SIZE  rcvd: 58
    The mailserver for softhelp.it is 82.156.64.66.softhelp.it, but 82.156.64.66.softhelp.it doesn't exist:

    Code:
    dig 82.156.64.66.softhelp.it
    
    ; <<>> DiG 9.2.1 <<>> 82.156.64.66.softhelp.it
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 23303
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;82.156.64.66.softhelp.it.      IN      A
    
    ;; AUTHORITY SECTION:
    softhelp.it.            10800   IN      SOA     ns1.pegasohosting.net. info.pegasohosting.net. 2006020103 14400 7200 3600000 86400
    
    ;; Query time: 60 msec
    ;; SERVER: 81.169.163.104#53(81.169.163.104)
    ;; WHEN: Wed May 10 15:49:34 2006
    ;; MSG SIZE  rcvd: 104
    Please change the MX record for softhelp.it.
     
  15. carlainz

    carlainz New Member

    sorry ,

    where is the mx record file conf ?
    I have try to find in ispconfig but i never see a possibility to change .
    Also i have try in mamed.conf .....

    Thanks:)
     
  16. falko

    falko Super Moderator Howtoforge Staff

    You must change the MX record on the authoritative name servers for softhelp.it. They are ns1.pegasohosting.net and ns2.pegasohosting.net.
     
  17. carlainz

    carlainz New Member

    Hi,
    I have send a email at my maintainer and now the MX record it's correct

    I have try

    dig mx softhelp.it

    ; <<>> DiG 9.3.2 <<>> mx softhelp.it
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7120
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;softhelp.it. IN MX

    ;; ANSWER SECTION:
    softhelp.it. 13807 IN MX 0 softhelp.it.

    ;; Query time: 11 msec
    ;; SERVER: 192.168.100.254#53(192.168.100.254)
    ;; WHEN: Thu May 11 19:20:49 2006
    ;; MSG SIZE rcvd: 45


    but not yet if i send a email at [email protected] or [email protected]
    from my gmail or other account arrive at destination ...

    Thanks:)
     
  18. falko

    falko Super Moderator Howtoforge Staff

    It can take up to 72 hours until DNS changes propagate. So you must be a little patient. :)
     
  19. carlainz

    carlainz New Member

    58 hours and not jet work ...:(
    i hope i the last 14 hours ....

    Cheers
     
  20. falko

    falko Super Moderator Howtoforge Staff

    But the records look ok. :)
     

Share This Page