Mail with attachments

Discussion in 'General' started by mphayesuk, Nov 13, 2005.

  1. mphayesuk

    mphayesuk Member HowtoForge Supporter

    Ok I can send mail to and from my email account with just text in the messages, but when I send a message with attchements the message does not come through I have waited over ten minutes for a 100K attachment to come through.... I sent another plain message through while I was waiting and it came through almost stright away.....

    I have checked through the mail log file and everything looks fine.

    Can anyone shed some light on this......
     
  2. mphayesuk

    mphayesuk Member HowtoForge Supporter

    Ok tested it again I sent 3 messages to the account, first one "test" second one "had attachment" thrid one was "after attachment" and only the third one has got through.

    Here is the relevent part of the mail log

    Nov 13 16:38:16 T1-01 pop3d: LOGIN, user=mhayes1, ip=[::ffff:127.0.0.1]
    Nov 13 16:38:16 T1-01 pop3d: LOGOUT, user=mhayes1, ip=[::ffff:127.0.0.1], top=8115, retr=0, time=0
    Nov 13 16:38:19 T1-01 postfix/smtpd[22842]: warning: connect to private/tlsmgr: No such file or directory
    Nov 13 16:38:21 T1-01 postfix/smtpd[22842]: warning: connect to private/tlsmgr: No such file or directory
    Nov 13 16:38:21 T1-01 postfix/smtpd[22842]: warning: problem talking to server private/tlsmgr: No such file or directory
    Nov 13 16:38:21 T1-01 postfix/smtpd[22842]: warning: no entropy for TLS key generation: disabling TLS support
    Nov 13 16:38:21 T1-01 postfix/smtpd[22842]: connect from fuzznuts.plus.net[212.159.14.133]
    Nov 13 16:38:21 T1-01 postfix/smtpd[22842]: warning: support for restriction "check_relay_domains" will be removed from Postfix; use "reject_unauth_destination" instead
    Nov 13 16:38:21 T1-01 postfix/smtpd[22842]: 4D09877E26: client=fuzznuts.plus.net[212.159.14.133]
    Nov 13 16:38:21 T1-01 postfix/cleanup[22846]: 4D09877E26: message-id=<!&!AAAAAAAAAAAYAAAAAAAAACMRtkYEJ2JJsY4Oj57J7iHCgAAAEAAAAAIrO4OL9mVIuT49Go9TjCoBAAAAAA==@touchone.co.uk>
    Nov 13 16:38:21 T1-01 postfix/qmgr[7545]: 4D09877E26: from=<[email protected]>, size=3882, nrcpt=1 (queue active)
    Nov 13 16:38:21 T1-01 postfix/pickup[19459]: 7D6BB77E27: uid=10004 from=<mhayes1>
    Nov 13 16:38:21 T1-01 postfix/cleanup[22846]: 7D6BB77E27: message-id=<[email protected]>
    Nov 13 16:38:21 T1-01 postfix/local[22847]: 4D09877E26: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Nov 13 16:38:21 T1-01 postfix/qmgr[7545]: 4D09877E26: removed
    Nov 13 16:38:21 T1-01 postfix/qmgr[7545]: 7D6BB77E27: from=<[email protected]>, size=372, nrcpt=1 (queue active)
    Nov 13 16:38:21 T1-01 postfix/local[22847]: 7D6BB77E27: to=<[email protected]>, orig_to=<admispconfig@localhost>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Nov 13 16:38:21 T1-01 postfix/qmgr[7545]: 7D6BB77E27: removed
    Nov 13 16:38:21 T1-01 postfix/smtpd[22842]: disconnect from fuzznuts.plus.net[212.159.14.133]
    Nov 13 16:38:46 T1-01 pop3d: Connection, ip=[::ffff:127.0.0.1]
    Nov 13 16:38:46 T1-01 pop3d: LOGIN, user=mhayes1, ip=[::ffff:127.0.0.1]
    Nov 13 16:38:47 T1-01 pop3d: LOGOUT, user=mhayes1, ip=[::ffff:127.0.0.1], top=9295, retr=0, time=1
    Nov 13 16:39:36 T1-01 pop3d: Connection, ip=[::ffff:127.0.0.1]
    Nov 13 16:39:36 T1-01 pop3d: LOGIN, user=mhayes1, ip=[::ffff:127.0.0.1]
    Nov 13 16:39:37 T1-01 pop3d: LOGOUT, user=mhayes1, ip=[::ffff:127.0.0.1], top=9295, retr=0, time=1
    Nov 13 16:39:53 T1-01 pop3d: Connection, ip=[::ffff:127.0.0.1]
    Nov 13 16:39:54 T1-01 pop3d: LOGIN, user=mhayes1, ip=[::ffff:127.0.0.1]
    Nov 13 16:39:54 T1-01 pop3d: LOGOUT, user=mhayes1, ip=[::ffff:127.0.0.1], top=9295, retr=0, time=0

    Thanks
     
  3. falko

    falko Super Moderator Howtoforge Staff

    Disable "Mailscan" in ISPConfig for the account in question and try again.

    http://www.howtoforge.com/forums/showthread.php?t=563

    Replace check_relay_domains with reject_unauth_destination in /etc/postfix/main.cf and restart Postfix.
     
  4. mphayesuk

    mphayesuk Member HowtoForge Supporter

    Thank you very much.... its all working now.... the trouble is a changed two things so not sure which one needed changing.....

    Just one more thing does the mailbox size limit in the main.cf get overriden by ispconfig, if in ispconfig the mailbox size is unlimited..... so basicly which one will be right ispconfig or main.cf.


    But thanks for the answer.....
     
  5. falko

    falko Super Moderator Howtoforge Staff

    No, ISPConfig does not change /etc/postfix/main.cf, so the mailbox size limit won't be overwritten.
     

Share This Page