problem sending emails

Discussion in 'Server Operation' started by dannyrowe, Jul 5, 2008.

  1. dannyrowe

    dannyrowe New Member

    Another noob here....

    Hello guru's, sorry to be a pain,

    I have installed ISPConfig 3 BETA onto a Ubuntu server 8.0.4 machine. I followed the installation instructions that came with ISPConfig.

    I am having trouble sending emails through the new server, I can receive emails fine.

    I receive an undeliverable message that states "Relay access denied".

    I have seen from other threads that I would need to enable "My outgoing server (SMTP) requires authentication", however, once enabled I get another error message: "your email server rejected your login. Verify your username and password...."

    I use the same username and password that I use when receiving emails (username being the email address and password being what was set up in ISPConfig 3)

    I hope you can help,

    DR
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in your mail log and the auth.log?
     
  3. dannyrowe

    dannyrowe New Member

    Falko,

    Does this info help or do I need to publish more???


    [email protected]:/var/log# tail -f auth.log
    Jul 6 21:45:02 server CRON[18059]: pam_unix(cron:session): session closed for user root
    Jul 6 21:45:02 server CRON[18056]: pam_unix(cron:session): session closed for user getmail
    Jul 6 21:46:01 server CRON[18073]: pam_unix(cron:session): session opened for user root by (uid=0)
    Jul 6 21:46:01 server CRON[18073]: pam_unix(cron:session): session closed for user root
    Jul 6 21:47:01 server CRON[18082]: pam_unix(cron:session): session opened for user root by (uid=0)
    Jul 6 21:47:01 server CRON[18082]: pam_unix(cron:session): session closed for user root
    Jul 6 21:48:01 server CRON[18092]: pam_unix(cron:session): session opened for user root by (uid=0)
    Jul 6 21:48:01 server CRON[18092]: pam_unix(cron:session): session closed for user root
    Jul 6 21:49:01 server CRON[18102]: pam_unix(cron:session): session opened for user root by (uid=0)
    Jul 6 21:49:01 server CRON[18102]: pam_unix(cron:session): session closed for user root
    Jul 6 21:50:01 server CRON[18112]: pam_unix(cron:session): session opened for user getmail by (uid=0)
    Jul 6 21:50:01 server CRON[18115]: pam_unix(cron:session): session opened for user root by (uid=0)
    Jul 6 21:50:01 server CRON[18115]: pam_unix(cron:session): session closed for user root
    Jul 6 21:50:01 server CRON[18112]: pam_unix(cron:session): session closed for user getmail
    Jul 6 21:51:01 server CRON[18129]: pam_unix(cron:session): session opened for user root by (uid=0)
    Jul 6 21:51:01 server CRON[18129]: pam_unix(cron:session): session closed for user root

    [email protected]:/var/log# tail -f mail.log
    Jul 6 21:53:01 server amavis[17814]: (17814-17) switch_to_my_time 480 s, SMTP QUIT received
    Jul 6 21:53:01 server amavis[17814]: (17814-17) ESMTP> 221 2.0.0 [127.0.0.1] amavisd-new closing transmission channel
    Jul 6 21:53:01 server amavis[17814]: (17814-17) switch_to_client_time 480 s, smtp response sent
    Jul 6 21:53:01 server amavis[17814]: (17814-17) SMTP session over, timer stopped
    Jul 6 21:53:01 server amavis[17814]: (17814-17) exiting process_request
    Jul 6 21:53:01 server amavis[17814]: (17814-17) post_process_request_hook: timer was not running
    Jul 6 21:53:01 server amavis[17814]: (17814-17) idle_proc, bye: was busy, 4.5 ms, total idle 1549.561 s, busy 10.312 s
    Jul 6 21:53:01 server amavis[17814]: (17814-17) load: 1 %, total idle 1549.561 s, busy 10.312 s
    Jul 6 21:53:01 server postfix/local[17358]: 81AE49E1F0: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0.07, delays=0.02/0/0/0.05, dsn=2.0.0, status=sent (delivered to mailbox)
    Jul 6 21:53:01 server postfix/qmgr[5025]: 81AE49E1F0: removed

    Regards,

    DR
     
  4. falko

    falko Super Moderator ISPConfig Developer

    I don't see any errors here. Do you have some more lines (with errors)?
     
  5. dannyrowe

    dannyrowe New Member

    Sorry....I have found these lines in the mail.log:

    Jul 7 20:57:27 server postfix/smtpd[2067]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
    Jul 7 20:57:27 server postfix/smtpd[2067]: warning: ispdomain.com[ip.ip.ip.ip]: SASL LOGIN authentication failed: generic failure

    This looks straight forward but I would not know how to resolve :confused:

    Kind regards,

    DR
     
  6. dannyrowe

    dannyrowe New Member

    I have sorted this problem using another thread about SASL auth etc..:D

    Cheers, DR
     

Share This Page