cant send email from website - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: cant send email from website (/thread-9308.html) |
cant send email from website - hoangnam8484 - 01-21-2010 05:07 PM I cant send email from website, i watch file log: /var/log/mail.log Jan 21 10:42:00 webserver1 postfix/qmgr[30673]: 7FBC0DB826B: removedJan 21 10:42:28 webserver1 pop3d: Connection, ip=[::ffff:118.69.225.254]Jan 21 10:42:28 webserver1 pop3d: Disconnected, ip=[::ffff:118.69.225.254]Jan 21 10:42:28 webserver1 postfix/smtpd[29314]: warning: database /etc/aliases.db is older than source file /etc/aliases Jan 21 10:42:28 webserver1 imapd: Connection, ip=[::ffff:118.69.225.254]Jan 21 10:42:28 webserver1 imapd: Disconnected, ip=[::ffff:118.69.225.254], time=0Jan 21 10:42:28 webserver1 postfix/smtpd[29314]: connect from webserver1.domain.com.vn[118.69.225.254]Jan 21 10:42:28 webserver1 postfix/smtpd[29314]: lost connection after CONNECT from webserver1.domain.com.vn[118.69.225.254] Jan 21 10:42:28 webserver1 postfix/smtpd[29314]: disconnect from webserver1.domain.com.vn[118.69.225.254]Jan 21 10:42:28 webserver1 postfix/smtpd[29316]: warning: database /etc/aliases.db is older than source file /etc/aliases Jan 21 10:42:28 webserver1 postfix/smtpd[29316]: warning: No server certs available. TLS won't be enabled Jan 21 10:42:28 webserver1 postfix/smtpd[29316]: connect from webserver1.domain.com.vn[118.69.225.254]Jan 21 10:42:28 webserver1 postfix/smtpd[29316]: warning: Wrapper-mode request dropped from webserver1.domain.com.vn[118.69.225.254] for service smtps. TLS context initialization fa iled. For details see earlier warnings in your logs. ----------------------- Jan 21 10:56:21 webserver1 postfix/qmgr[30673]: D0203DB8267: removedJan 21 10:56:41 webserver1 postfix/pickup[29445]: 0DBF6DB8267: uid=2000 from=<webmaster@ssg.com.vn>Jan 21 10:56:41 webserver1 postfix/cleanup[29457]: 0DBF6DB8267: message-id=<20100121035641.0DBF6DB8267@webserer1>Jan 21 10:56:41 webserver1 postfix/qmgr[30673]: 0DBF6DB8267: from=<webmaster@domain.com.vn>, size=759, nrcpt=1 (queue active)Jan 21 10:56:41 webserver1 postfix/virtual[29459]: 0DBF6DB8267: to=<admin@domain.com.vn>, relay=virtual, delay=0.07, delays=0.06/0/0/0.01, dsn=2.0.0, status=sent (delivered to maildir) help me!!! RE: cant send email from website - kilburn - 01-21-2010 05:57 PM 1. Give format to your messages when posting. Specifically, use the <code>...</code> (replacing "<" by "[" and ">" by "]") so they are actually readable, line breaks don't get messed up, etc... 2. Execute the command "newaliases" as root to get rid of these warnings: Code: Jan 21 10:42:28 webserver1 postfix/smtpd[29314]: warning: database /etc/aliases.db is older than source file /etc/aliases 3. Looking at these lines: Code: Jan 21 10:56:41 webserver1 postfix/pickup[29445]: 0DBF6DB8267: uid=2000 from=<webmaster@ssg.com.vn> Where's the problem? RE: cant send email from website - hoangnam8484 - 01-21-2010 06:31 PM ok, i'm login in webmail so show error: ERROR Error opening ../data/default_pref Could not create initial preference file! ../data/ should be writable by user vu2000 Please contact your system administrator and report this error. help me!!! RE: cant send email from website - kilburn - 01-21-2010 06:38 PM execute "/var/www/ispcp/engine/setup/set-gui-permissions.sh" RE: cant send email from website - hoangnam8484 - 01-21-2010 07:21 PM ok, but the problem resolved complete! But, My child issues: file log: Jan 21 15:57:08 webserver1 postfix/virtual[6306]: 83BD9DB8340: to=<user@mydomain.com.vn>, orig_to=<webmaster@mydomain.com.vn>, relay=virtual, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "user@mydomain.com.vn") 1.I have a server mail, used domain: mydomain.com 2. webserver, i have hosting domain is mydomain.com when i'm send mail from my website to user@mydomain.com, show error unknown user. i want send to my mailserver, dont send to webserver. So I have to configure like? Thanks you? RE: cant send email from website - kilburn - 01-21-2010 07:34 PM Your postfix log must show warnings like the following: Code: warning: do not list domain mydomain.com.vn in BOTH mydestination and virtual_alias_domains This is because you have either "mydomain" or "myhostname" set to "mydomain.com.vn" in /etc/postfix/main.cf. Replace "mydomain.com.vn" by "mydomain.com.vn.local" in these domains and everything should start working as expected. |