View Full Version : MailLog message
happz
21st September 2008, 05:35
My maillog has this entry- Sep 20 22:14:51 websrv1 postfix/smtp[8791]: warning: database /etc/postfix/sasl_passwd.db is older than source file /etc/postfix/sasl_passwd
__________________________________________________ ________
How do i resolve this message or problem?
Also, if i may ask question #2.
I can send and receive emails to all i.e. yahoo, msn, aol..you name it...i have config. outlook to do this. So all is good there but my actual websites that run php script sites such as, well, v Bulletin...that ability to send users a message from within the website administration or another example is when a user signs up...they should be receiving an email that they can click a link for to authenticate them but it never shows up. Can anyone explain how i fix this?
till
21st September 2008, 11:25
How do i resolve this message or problem?
This file is not used by ISPConfig.
Also, if i may ask question #2.
Do you run your server behind a dsl line with dynamic IP?
happz
21st September 2008, 15:03
Till,
to send and receive emails it took me a long time to figure out how to use my ISP for smtp but now i can send/rec emails using outlook. i use pop3 of my centos server via perfect server config and i use my isp setting for smtp. all will work but internal websites like my forum sites and youtube clones will not send any email at all.
thanks
happz
till
21st September 2008, 15:09
Please answer my question from above:
Do you run your server behind a dsl line with dynamic IP?
We can not help you if you dont answer the questions :)
happz
21st September 2008, 15:52
Sorry Till but my title was the answer in the previous response but you are right...i forgot some info. the answer is yes, i am running server behind dsl and i have a static IP.
thank you.
happz
falko
22nd September 2008, 14:11
Most dynamic IP addresses are blacklisted nowadays (see http://mxtoolbox.com/blacklists.aspx ) so that's most likely the reason why you can't send emails. To overcome this, you can relay your emails through another mailserver: http://www.howtoforge.com/postfix_relaying_through_another_mailserver
happz
22nd September 2008, 14:15
if anyone can help, this is the last major problem i need to get through in order to close down my godaddy VPS. None of my php sites will send mail such as when a user signs up on my site...they should receive a welcome email....but nope...not getting it.
thanks
happz
happz
22nd September 2008, 18:44
Most dynamic IP addresses are blacklisted nowadays (see http://mxtoolbox.com/blacklists.aspx ) so that's most likely the reason why you can't send emails. To overcome this, you can relay your emails through another mailserver: http://www.howtoforge.com/postfix_relaying_through_another_mailserver
I can send/receive emails because i am relaying them. My problem is with my websites (all are php just like this one, howtoforge) but no messages will work...say you forget your password, click forgot password and nothing will go. that is my problem now.
happz
falko
23rd September 2008, 21:57
What's in your mail log when a PHP app tries to send a mail?
happz
24th September 2008, 05:52
i did an invite and here is the log, i did remove some personal info from the log----
__________________________________________________ _____________
Sep 23 22:39:21 websrv1 sendmail[1713]: m8O2dLB8001713: from=apache, size=711, class=0, nrcpts=2, msgid=<200809240239.m8O2dLB8001713@websrv1.myhiddendomain .com>, relay=apache@localhost
Sep 23 22:39:21 websrv1 postfix/smtpd[1714]: connect from localhost.localdomain[127.0.0.1]
Sep 23 22:39:21 websrv1 postfix/smtpd[1714]: setting up TLS connection from localhost.localdomain[127.0.0.1]
Sep 23 22:39:21 websrv1 sendmail[1713]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Sep 23 22:39:21 websrv1 postfix/smtpd[1714]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Sep 23 22:39:21 websrv1 postfix/smtpd[1714]: B7BCB34D07EB: client=localhost.localdomain[127.0.0.1], sasl_sender=apache@websrv1.myhiddendomain.com
Sep 23 22:39:21 websrv1 postfix/cleanup[1717]: B7BCB34D07EB: message-id=<200809240239.m8O2dLB8001713@websrv1.myhiddendomain .com>
Sep 23 22:39:21 websrv1 sendmail[1713]: m8O2dLB8001713: to=joe.joe@lpnq.com,noreply@somenameimadeup.com, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60711, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as B7BCB34D07EB)
Sep 23 22:39:21 websrv1 postfix/qmgr[986]: B7BCB34D07EB: from=<apache@websrv1.myhiddendomain.com>, size=1192, nrcpt=2 (queue active)
Sep 23 22:39:21 websrv1 postfix/smtpd[1714]: disconnect from localhost.localdomain[127.0.0.1]
Sep 23 22:39:21 websrv1 postfix/qmgr[986]: B7BCB34D07EB: to=<hiddenname@hd.net>, relay=none, delay=0.09, delays=0.05/0.04/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to fmailhost.isp.att.net[204.127.217.18]: Connection timed out)
Sep 23 22:39:21 websrv1 postfix/cleanup[1717]: CE90A34D07EC: message-id=<200809240239.m8O2dLB8001713@websrv1.myhiddendomain .com>
Sep 23 22:39:21 websrv1 postfix/local[1719]: B7BCB34D07EB: to=<web11_noreply@websrv1.myhiddendomain.com>, orig_to=<noreply@somenameimadeup.com>, relay=local, delay=0.11, delays=0.05/0.05/0/0, dsn=2.0.0, status=sent (forwarded as CE90A34D07EC)
Sep 23 22:39:21 websrv1 postfix/qmgr[986]: CE90A34D07EC: from=<apache@websrv1.myhiddendomain.com>, size=1362, nrcpt=1 (queue active)
Sep 23 22:39:21 websrv1 postfix/qmgr[986]: CE90A34D07EC: to=<aname@something.com>, orig_to=<noreply@somenameimadeup.com>, relay=none, delay=0.01, delays=0/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to fmailhost.isp.att.net[204.127.221.14]: Connection timed out)
[root@websrv1 log]#
__________________________________________________ ______________
here is another log----Sep 23 22:00:39 websrv1 postfix/smtpd[32363]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Sep 23 22:00:39 websrv1 postfix/smtpd[32363]: 3C72834D07E6: client=localhost.localdomain[127.0.0.1], sasl_sender=apache@websrv1.myhiddendomain.com
Sep 23 22:00:39 websrv1 postfix/smtpd[32363]: 3C72834D07E6: reject: RCPT from localhost.localdomain[127.0.0.1]: 550 5.1.1 <noreply@somenameimadeup.com>: Recipient address rejected: User unknown in local recipient table; from=<apache@websrv1.myhiddendomain.com> to=<noreply@somenameimadeup.com> proto=ESMTP helo=<websrv1.myhiddendomain.com>
Sep 23 22:00:39 websrv1 sendmail[32362]: m8O20cGm032362: to=noreply@somenameimadeup.com, ctladdr=apache (48/48), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=60706, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Sep 23 22:00:39 websrv1 postfix/cleanup[32366]: 3C72834D07E6: message-id=<200809240200.m8O20cGm032362@websrv1.myhiddendomain .com>
Sep 23 22:00:39 websrv1 postfix/qmgr[3861]: 3C72834D07E6: from=<apache@websrv1.myhiddendomain.com>, size=1218, nrcpt=1 (queue active)
Sep 23 22:00:39 websrv1 sendmail[32362]: m8O20cGm032362: to=nonono@msn.com, ctladdr=apache (48/48), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=60706, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 3C72834D07E6)
Sep 23 22:00:39 websrv1 sendmail[32362]: m8O20cGm032362: m8O20cGn032362: DSN: User unknown
Sep 23 22:00:39 websrv1 postfix/qmgr[3861]: 3C72834D07E6: to=<nonono@msn.com>, relay=none, delay=0.07, delays=0.06/0.01/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to fmailhost.isp.att.net[204.127.217.18]: Connection timed out)
Sep 23 22:00:39 websrv1 postfix/smtpd[32363]: 4C08F34D07E7: client=localhost.localdomain[127.0.0.1]
Sep 23 22:00:39 websrv1 postfix/cleanup[32366]: 4C08F34D07E7: message-id=<200809240200.m8O20cGn032362@websrv1.myhiddendomain .com>
Sep 23 22:00:39 websrv1 postfix/qmgr[3861]: 4C08F34D07E7: from=<>, size=3226, nrcpt=1 (queue active)
Sep 23 22:00:39 websrv1 sendmail[32362]: m8O20cGn032362: to=apache, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31730, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 4C08F34D07E7)
Sep 23 22:00:39 websrv1 postfix/smtpd[32363]: disconnect from localhost.localdomain[127.0.0.1]
Sep 23 22:00:39 websrv1 postfix/local[32368]: 4C08F34D07E7: to=<root@websrv1.myhiddendomain.com>, orig_to=<apache@websrv1.myhiddendomain.com>, relay=local, delay=0.09, delays=0.05/0.04/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 23 22:00:39 websrv1 postfix/qmgr[3861]: 4C08F34D07E7: removed
You have new mail in /var/spool/mail/root
__________________________________________________ _____________-
So any ideas?
till
24th September 2008, 09:41
Please make sure that you set the from header in the mail function of your php scripts to an existing email address.
happz
26th September 2008, 23:37
here is my recent mail log when i clicked on one of my sites for lost password.::::::
Sep 26 16:26:53 websrv1 postfix/smtpd[19731]: setting up TLS connection from localhost.localdomain[127.0.0.1]
Sep 26 16:26:53 websrv1 sendmail[19730]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Sep 26 16:26:53 websrv1 postfix/smtpd[19731]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Sep 26 16:26:53 websrv1 postfix/smtpd[19731]: B458334D07D5: client=localhost.localdomain[127.0.0.1], sasl_sender=apache@websrv1.myCENTOSispserver.com
Sep 26 16:26:53 websrv1 postfix/cleanup[19734]: B458334D07D5: message-id=<200809262026.m8QKQrE0019730@websrv1.myCENTOSispser ver.com>
Sep 26 16:26:53 websrv1 sendmail[19730]: m8QKQrE0019730: to=my@personalemail.com, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30795, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as B458334D07D5)
Sep 26 16:26:53 websrv1 postfix/qmgr[27421]: B458334D07D5: from=<apache@websrv1.myCENTOSispserver.com>, size=1329, nrcpt=1 (queue active)
Sep 26 16:26:54 websrv1 postfix/smtpd[19731]: disconnect from localhost.localdomain[127.0.0.1]
Sep 26 16:26:54 websrv1 postfix/qmgr[27421]: B458334D07D5: to=<my@personalemail.com>, relay=none, delay=0.31, delays=0.26/0.05/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to fmailhost.isp.att.net[111.111.111.111]: Connection timed out)
Now till, i heard what you asked me to do but i have not ever had to make any code changes on my other forum installs or any other site with godaddy. anything you can learn from this log? oh and i changed the real ip of isp to 111.111.111.111 and the server names...
happz
falko
27th September 2008, 14:50
Is fmailhost.isp.att.net the relay server?
Does websrv1.myCENTOSispserver.com exist in DNS?
happz
27th September 2008, 22:25
Yes, fmailhost.isp.att.net is my relay server. Now websvr1.domainserver.com is what i named the server in like one of the first steps in Perfect Server CENTOS 5.2 configuration so i don't know how to answer the question. the name is the name of my server. is that what you need to know?
thanks till and falko...i'll wait to hear back!
happz
falko
28th September 2008, 14:54
Yes, but does your server name exist in DNS? Do you get an ANSWER section when you run
dig websrv1.myCENTOSispserver.com?
happz
28th September 2008, 16:26
; <<>> DiG 9.3.4-P1 <<>> websrv1.myCENTOSsrv.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 10151
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;websrv1.myCENTOSsrv.com. IN A
;; AUTHORITY SECTION:
myCENTOSsrv.com. 10800 IN SOA ns57.domaincontrol.com. dns.jomax.net. 2008091200 28800 7200 604800 86400
;; Query time: 119 msec
;; SERVER: 205.152.37.23#53(205.152.37.23)
;; WHEN: Sun Sep 28 08:19:46 2008
;; MSG SIZE rcvd: 115
[root@websrv1 ~]#::::::
Now, when i followed the instructions on "prefect server" in the very begining you had example of server1.example.com i think, so i made up websrv1 for HOST and then used (exampleonly) myCENTOSsrv.com and then continued on...so my server became websrv1.myCENTOSsrv.com (ex only). Now i actually own domain name of [myCENTOSsrv.com] (hidden actual name here) but made up the websrv1 because i wasn't sure of how this played out. Please advice...thanks
falko
29th September 2008, 18:41
Ok, please create an A record for websrv1.myCENTOSispserver.com.
happz
2nd October 2008, 01:41
when installing ispconfig i answered the questions during installation this way... host:www Domain:mydomainongodaddy.com :::::: then in ispconfig i created the first site as www.mydomainongodaddy.com (http://www.mydomainongodaddy.com) i.e. web1_mydomain so where i may be going wrong is trying to figure out where i manage that domain since it is the domain that my ispconfig is working from. you see, i can go into godaddy and add A records and mx records and it seems that the changes do go but then i think, why am i admin'ing so much within godaddy when i installed ispconfig to get me away from godaddy....so then i decided that maybe if because my centos server called websrv1.mydomainongodaddy.com is running dns, mail, ns and so on that maybe i could just take a couple of sites that i own and within godaddy just point them to ns1.mydomainongodaddy.com and ns2.mydomainongodaddy.com....well, when i pointed the first one to the ns it seemed to be okay...my emails would still go back and forth...i did another one...same thing..all looked good but then a little later i found that they cannot be opened with browser anymore. This is a lot of infomation but falko and or till and the rest, if you can make sense of this i would be so so very happy and it might help many others.... now, falko you asked me to create an A record for my server name websrv1.my...., where should this be done, on ispconfig or godaddy and what do i do about my main site which is also what ispconfig uses to functionn...
happz...so it is so long but this may help many others i hope...
falko
2nd October 2008, 16:50
where should this be done, on ispconfig or godaddy and what do i do about my main site which is also what ispconfig uses to functionn...
This must be done in GoDaddy because currently GoDaddy is running the authoritative name servers for that domain.
If oyu want to run your own name servers, take a look here:
http://www.howtoforge.com/ispconfig_dns_godaddy
http://www.howtoforge.com/ispconfig_dns_providerdomain_schlund
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.