Can't receive mail

Discussion in 'Installation/Configuration' started by burtathis, Mar 19, 2006.

  1. burtathis

    burtathis New Member

    Hello Doc !

    I have some mail troubles :
    I can login to uebimiau :)
    i can send mail with uebimiau :)
    i can't receive any mail :(
    when i use a mail client like os x Mail on mac, i can't use "petiteboitesansfond.net" as smtp server. :(

    this is an output of netstat -tap :

    Code:
    Connexions Internet actives (serveurs et établies)
    Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat       PID/Program name   
    tcp        0      0 localhost.localdo:mysql *:*                     LISTEN     3723/mysqld         
    tcp        0      0 *:81                    *:*                     LISTEN     3925/ispconfig_http 
    tcp        0      0 *:ftp                   *:*                     LISTEN     5314/proftpd: (acce 
    tcp        0      0 *:smtp                  *:*                     LISTEN     19591/master        
    tcp6       0      0 *:imaps                 *:*                     LISTEN     3633/couriertcpd    
    tcp6       0      0 *:pop3s                 *:*                     LISTEN     3668/couriertcpd    
    tcp6       0      0 *:pop3                  *:*                     LISTEN     3648/couriertcpd    
    tcp6       0      0 *:imap2                 *:*                     LISTEN     3608/couriertcpd    
    tcp6       0      0 *:www                   *:*                     LISTEN     11053/apache2       
    tcp6       0      0 *:ssh                   *:*                     LISTEN     3863/sshd           
    tcp6       0      0 *:https                 *:*                     LISTEN     11053/apache2       
    tcp6       0      0 ::ffff:192.168.0.:imap2 atm91-1-82-227-0-:50176 ESTABLISHED22777/imapd         
    tcp6       0   1584 ::ffff:192.168.0.5:ssh  atm91-1-82-227-0-:49633 ESTABLISHED15351/0

    this is my /etc/postfix/main.cf :

    Code:
    # See /usr/share/postfix/main.cf.dist for a commented, more complete version
    
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    biff = no
    
    # appending .domain is the MUA's job.
    append_dot_mydomain = no
    
    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h
    
    myhostname = petiteboitesansfond.net
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    #mydestination = chocobox, localhost.localdomain, localhost.localdomain, localhost
    relayhost =
    mynetworks = 127.0.0.0/8
    mailbox_size_limit = +
    recipient_delimiter = +
    inet_interfaces = all
    mailbox_command =
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtpd_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    home_mailbox = Maildir/
    
    virtual_maps = hash:/etc/postfix/virtusertable
    
    mydestination = /etc/postfix/local-host-names
    

    did i forgot something ?


    Thanks in advance !
     
    Last edited: Mar 19, 2006
  2. burtathis

    burtathis New Member

    One more thing : This is a piece of my /var/log/mail.log :


    Code:
    Mar 19 15:01:23 localhost postfix/master[19591]: warning: process /usr/lib/postfix/local pid 22907 exit status 1
    Mar 19 15:01:23 localhost postfix/master[19591]: warning: /usr/lib/postfix/local: bad command startup -- throttling
    Mar 19 15:02:23 localhost postfix/local[22920]: fatal: bad numerical configuration: mailbox_size_limit = +
    Mar 19 15:02:24 localhost postfix/master[19591]: warning: process /usr/lib/postfix/local pid 22920 exit status 1
    Mar 19 15:02:24 localhost postfix/master[19591]: warning: /usr/lib/postfix/local: bad command startup -- throttling
    Mar 19 15:03:24 localhost postfix/local[22933]: fatal: bad numerical configuration: mailbox_size_limit = +
    Mar 19 15:03:25 localhost postfix/master[19591]: warning: process /usr/lib/postfix/local pid 22933 exit status 1
    Mar 19 15:03:25 localhost postfix/master[19591]: warning: /usr/lib/postfix/local: bad command startup -- throttling
    Mar 19 15:03:37 localhost imaplogin: Connection, ip=[::ffff:82.227.0.130]
    Mar 19 15:03:37 localhost imaplogin: LOGIN, user=ursula, ip=[::ffff:82.227.0.130], protocol=IMAP
    Mar 19 15:03:37 localhost imaplogin: LOGOUT, user=ursula, ip=[::ffff:82.227.0.130], headers=0, body=0, time=299
    Mar 19 15:03:55 localhost courierpop3login: Connection, ip=[::ffff:127.0.0.1]
    Mar 19 15:03:55 localhost courierpop3login: LOGIN, user=ursula, ip=[::ffff:127.0.0.1]
    Mar 19 15:03:55 localhost courierpop3login: LOGOUT, user=ursula, ip=[::ffff:127.0.0.1], top=0, retr=0, time=0
    Mar 19 15:04:25 localhost postfix/local[22956]: fatal: bad numerical configuration: mailbox_size_limit = +
    Mar 19 15:04:26 localhost postfix/master[19591]: warning: process /usr/lib/postfix/local pid 22956 exit status 1
    Mar 19 15:04:26 localhost postfix/master[19591]: warning: /usr/lib/postfix/local: bad command startup -- throttling
    Mar 19 15:05:26 localhost postfix/local[22969]: fatal: bad numerical configuration: mailbox_size_limit = +
    Mar 19 15:05:27 localhost postfix/master[19591]: warning: process /usr/lib/postfix/local pid 22969 exit status 1
    Mar 19 15:05:27 localhost postfix/master[19591]: warning: /usr/lib/postfix/local: bad command startup -- throttling
    Mar 19 15:06:27 localhost postfix/local[22982]: fatal: bad numerical configuration: mailbox_size_limit = +
    Mar 19 15:06:28 localhost postfix/master[19591]: warning: process /usr/lib/postfix/local pid 22982 exit status 1
    Mar 19 15:06:28 localhost postfix/master[19591]: warning: /usr/lib/postfix/local: bad command startup -- throttling
    Mar 19 15:07:28 localhost postfix/local[22995]: fatal: bad numerical configuration: mailbox_size_limit = +
    Mar 19 15:07:29 localhost postfix/master[19591]: warning: process /usr/lib/postfix/local pid 22995 exit status 1
    Mar 19 15:07:29 localhost postfix/master[19591]: warning: /usr/lib/postfix/local: bad command startup -- throttling
    Mar 19 15:08:29 localhost postfix/local[23011]: fatal: bad numerical configuration: mailbox_size_limit = +
    Mar 19 15:08:30 localhost postfix/master[19591]: warning: process /usr/lib/postfix/local pid 23011 exit status 1
    Mar 19 15:08:30 localhost postfix/master[19591]: warning: /usr/lib/postfix/local: bad command startup -- throttling
    Mar 19 15:08:36 localhost imaplogin: Connection, ip=[::ffff:82.227.0.130]
    Mar 19 15:08:36 localhost imaplogin: LOGIN, user=ursula, ip=[::ffff:82.227.0.130], protocol=IMAP
    Mar 19 15:08:36 localhost imaplogin: LOGOUT, user=ursula, ip=[::ffff:82.227.0.130], headers=0, body=0, time=299
    Mar 19 15:09:30 localhost postfix/local[23047]: fatal: bad numerical configuration: mailbox_size_limit = +
    Mar 19 15:09:31 localhost postfix/master[19591]: warning: process /usr/lib/postfix/local pid 23047 exit status 1
    Mar 19 15:09:31 localhost postfix/master[19591]: warning: /usr/lib/postfix/local: bad command startup -- throttling
    Mar 19 15:10:31 localhost postfix/local[23060]: fatal: bad numerical configuration: mailbox_size_limit = +
    Mar 19 15:10:32 localhost postfix/master[19591]: warning: process /usr/lib/postfix/local pid 23060 exit status 1
    Mar 19 15:10:32 localhost postfix/master[19591]: warning: /usr/lib/postfix/local: bad command startup -- throttling
    Mar 19 15:11:32 localhost postfix/local[23074]: fatal: bad numerical configuration: mailbox_size_limit = +
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Change the line:

    mailbox_size_limit = +

    to e.g.:

    mailbox_size_limit = 20000000

    and then restart postfix:

    /etx/init.d/postfix restart
     
  4. burtathis

    burtathis New Member

    Yep ! i changed mailbox_size_limit to 20000000 and restart.

    Now i receive mail but in uebimiau when i send a mail, it seems stucked !
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Any errors in the mail log? Did you get an error message in UebiMiau?
     
  6. burtathis

    burtathis New Member

    Good morning,

    There is nothing special in mail.log but if i wait the uebimiau's page refresh, i have :
    Code:
    It was not possible to send this e-mail
    SMTP Error: Recipient not accepted. Verify your relay rules
    any idea ?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you try to send to an internal or external email address. have you changed anything in the mail setings of your php.ini?
     
  8. burtathis

    burtathis New Member

    I try to send to a mail account with another domain name and to another acount with the same domain : same result, same message.

    No, i don't changed anything to php.ini

    I follow my googleing...
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Does the recipient address exist?
    Does this also happen if you send to someone else?
    Does it work with an email client like Thunderbird or Outlook?
     
  10. burtathis

    burtathis New Member

    Hi Falco,

    Yes, the recipient addresses exists : it's my office mail and my private mail.
    I tested also another user in the same domain ([email protected]) but nothing.

    In Thunderbird and Apple Mail, same thing : "can't connect smtp server gastfall.org"

    Its look like my smtp server isn't well configured.
     
  11. falko

    falko Super Moderator Howtoforge Staff

    I can connect to gastfall.org.
    Maybe a problem with the DNS servers your client PCs use?
     
  12. burtathis

    burtathis New Member

    In fact, i can send mails with my smtp server but only inside my network.
    It still not connect from outside and in webmail too.

    My router works well with the nat for port 25.

    I feel a little bit looser today...:cool:
     
  13. falko

    falko Super Moderator Howtoforge Staff

    Is gastfall.org really your smtp server? Because I can connect to it...
     
  14. burtathis

    burtathis New Member

    Ya ! it works !!!

    I'm sorry to waist your time but at my office we have a weird network...

    The last thing, uebimiau doesn't send my mails anywhere i try :
    it insist with : "SMTP Error: Recipient not accepted. Verify your relay rules"...

    PS : Your new howto with xen seems great!!!
     
  15. falko

    falko Super Moderator Howtoforge Staff

    Do you send to a domain that is on the server, or to an external domain?
     
  16. burtathis

    burtathis New Member

    both : i tried another domain in my server and a domain outside
     
  17. falko

    falko Super Moderator Howtoforge Staff

    And Uebimiau refuses to send to both?
    Is there nothing in the mail log?
     
  18. burtathis

    burtathis New Member

    solved

    hi,

    I think its solved !

    In fact, i added this :
    $smtp_server = "localhost";
    in my /home/admispconfig/ispconfig/web/webmail/config.php

    I don't know if i do good but it works now .

    I was wondering if there is a website of uebimiau because i didn't found any ?
     
  19. falko

    falko Super Moderator Howtoforge Staff

Share This Page