0p3nS0urc3
February 18th, 2016, 09:22 PM
Hi guys
i have searched on previous threads but havenīt found any with a clear ansewer/solution type to solve my issue i will try to explain it briefly
first things first:
1- I have installed a specific machine at our company running ubuntu-server 14xx explicit running for e-mail server (setup ISPconfig + Postfix + squirrelmail) for future webhosts, but ATM only using it as our E-mail server with POP3/IMAP etc.etc.
2- All our desktop workstations running with windows Outlook connected via POP3 + SMTP etc.etc. working great i can send and receive mails send outgoing for other mail providers and receive back.
3- We have another physical machine running as our webserver with apache2 etc.... on this machine the new website i am building uses a Contact form "This is where all my problems start" i have setup the contact form and on the contact.php i have edited and placed one of our e-mails to test receiving the conctact data.
and ofcourse it never reached.
4- so with php.ini i have checked that mail php is enabled, that means that apt-get install sendmail was issued prior and installed correctly.
5- my var log is showing me the following errors
Feb 18 16:29:31 mydomain sendmail[1590]: u1IJTV2q001590: from=www-data, size=129, class=0, nrcpts=1, msgid=<201602181929.u1IJTV2q001590@mydomain.com>, relay=www-data@localhost
Feb 18 16:29:31 mydomain sm-mta[1591]: u1IJTVKB001591: <dude1@mydomain.com>... User unknown
Feb 18 16:29:31 mydomain sendmail[1590]: u1IJTV2q001590: to=dude1@mydomain.com, ctladdr=www-data (33/33), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30129, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Feb 18 16:29:31 mydomain sm-mta[1591]: u1IJTVKB001591: from=<www-data@mydomain.com>, size=129, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Feb 18 16:29:31 mydomain sendmail[1590]: u1IJTV2q001590: u1IJTV2r001590: DSN: User unknown
Feb 18 16:29:31 mydomain sm-mta[1591]: u1IJTVKD001591: from=<>, size=2172, class=0, nrcpts=1, msgid=<201602181929.u1IJTV2r001590@mydomain.com>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Feb 18 16:29:31 mydomain sendmail[1590]: u1IJTV2r001590: to=www-data, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31153, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u1IJTVKD001591 Message accepted for delivery)
Feb 18 16:29:31 mydomain sm-mta[1592]: u1IJTVKD001591: to=<www-data@mydomain.com>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32394, dsn=2.0.0, stat=Sent
Feb 18 16:29:33 mydomain sendmail[1595]: u1IJTXI5001595: from=www-data, size=129, class=0, nrcpts=1, msgid=<201602181929.u1IJTXI5001595@mydomain.com>, relay=www-data@localhost
Feb 18 16:29:33 mydomain sm-mta[1596]: u1IJTXW0001596: <dude1@mydomain.com>... User unknown
Feb 18 16:29:33 mydomain sendmail[1595]: u1IJTXI5001595: to=dude1@mydomain.com, ctladdr=www-data (33/33), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30129, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Feb 18 16:29:33 mydomain sm-mta[1596]: u1IJTXW0001596: from=<www-data@mydomain.com>, size=129, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Feb 18 16:29:33 mydomain sendmail[1595]: u1IJTXI5001595: u1IJTXI6001595: DSN: User unknown
Feb 18 16:29:33 mydomain sm-mta[1596]: u1IJTXW2001596: from=<>, size=2172, class=0, nrcpts=1, msgid=<201602181929.u1IJTXI6001595@mydomain.com>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Feb 18 16:29:33 mydomain sendmail[1595]: u1IJTXI6001595: to=www-data, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31153, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u1IJTXW2001596 Message accepted for delivery)
Feb 18 16:29:33 mydomain sm-mta[1597]: u1IJTXW2001596: to=<www-data@mydomain.com>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32394, dsn=2.0.0, stat=Sent
Feb 18 16:30:01 mydomain sm-mta[1628]: u1IJU1E8001628: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4
Feb 18 16:35:01 mydomain sm-mta[1730]: u1IJZ1w8001730: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4
Feb 18 16:36:06 mydomain sendmail[1779]: u1IJa6kL001779: from=www-data, size=129, class=0, nrcpts=1, msgid=<201602181936.u1IJa6kL001779@mydomain.com>, relay=www-data@localhost
Feb 18 16:36:06 mydomain sm-mta[1780]: u1IJa6dB001780: <dude1@mydomain.com>... User unknown
Feb 18 16:36:06 mydomain sendmail[1779]: u1IJa6kL001779: to=dude1@mydomain.com, ctladdr=www-data (33/33), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30129, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Feb 18 16:36:06 mydomain sm-mta[1780]: u1IJa6dB001780: from=<www-data@mydomain.com>, size=129, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Feb 18 16:36:06 mydomain sendmail[1779]: u1IJa6kL001779: u1IJa6kM001779: DSN: User unknown
Feb 18 16:36:06 mydomain sm-mta[1780]: u1IJa6dD001780: from=<>, size=2172, class=0, nrcpts=1, msgid=<201602181936.u1IJa6kM001779@mydomain.com>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Feb 18 16:36:06 mydomain sendmail[1779]: u1IJa6kM001779: to=www-data, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31153, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u1IJa6dD001780 Message accepted for delivery)
Feb 18 16:36:06 mydomain sm-mta[1782]: u1IJa6dD001780: to=<www-data@mydomain.com>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32394, dsn=2.0.0, stat=Sent
Feb 18 16:40:01 mydomain sm-mta[1881]: u1IJe1cn001881: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4
on the sendmail config folder i have the
local-host-names
localhost
mydomain.con
Any hints and advises will be appreciated as so far i have not been able to fix it, as i still have some doubts of how the system fully works
from what i understood for security reasons the contact form gets submited locally to a database where the data gets stored right?
then sendmail collects this data and sends it to my external mail.domainservername? together with the destination e-mail address from my external mail.domainservername right?
so for now i am still not sure of the message in var/log DSN=5.1.1. USER unknown
Edit1 = BTW i have removed from local-host-names in sendmail config my mydomain.com and left only localhost, but still getting the same error.
i have searched on previous threads but havenīt found any with a clear ansewer/solution type to solve my issue i will try to explain it briefly
first things first:
1- I have installed a specific machine at our company running ubuntu-server 14xx explicit running for e-mail server (setup ISPconfig + Postfix + squirrelmail) for future webhosts, but ATM only using it as our E-mail server with POP3/IMAP etc.etc.
2- All our desktop workstations running with windows Outlook connected via POP3 + SMTP etc.etc. working great i can send and receive mails send outgoing for other mail providers and receive back.
3- We have another physical machine running as our webserver with apache2 etc.... on this machine the new website i am building uses a Contact form "This is where all my problems start" i have setup the contact form and on the contact.php i have edited and placed one of our e-mails to test receiving the conctact data.
and ofcourse it never reached.
4- so with php.ini i have checked that mail php is enabled, that means that apt-get install sendmail was issued prior and installed correctly.
5- my var log is showing me the following errors
Feb 18 16:29:31 mydomain sendmail[1590]: u1IJTV2q001590: from=www-data, size=129, class=0, nrcpts=1, msgid=<201602181929.u1IJTV2q001590@mydomain.com>, relay=www-data@localhost
Feb 18 16:29:31 mydomain sm-mta[1591]: u1IJTVKB001591: <dude1@mydomain.com>... User unknown
Feb 18 16:29:31 mydomain sendmail[1590]: u1IJTV2q001590: to=dude1@mydomain.com, ctladdr=www-data (33/33), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30129, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Feb 18 16:29:31 mydomain sm-mta[1591]: u1IJTVKB001591: from=<www-data@mydomain.com>, size=129, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Feb 18 16:29:31 mydomain sendmail[1590]: u1IJTV2q001590: u1IJTV2r001590: DSN: User unknown
Feb 18 16:29:31 mydomain sm-mta[1591]: u1IJTVKD001591: from=<>, size=2172, class=0, nrcpts=1, msgid=<201602181929.u1IJTV2r001590@mydomain.com>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Feb 18 16:29:31 mydomain sendmail[1590]: u1IJTV2r001590: to=www-data, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31153, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u1IJTVKD001591 Message accepted for delivery)
Feb 18 16:29:31 mydomain sm-mta[1592]: u1IJTVKD001591: to=<www-data@mydomain.com>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32394, dsn=2.0.0, stat=Sent
Feb 18 16:29:33 mydomain sendmail[1595]: u1IJTXI5001595: from=www-data, size=129, class=0, nrcpts=1, msgid=<201602181929.u1IJTXI5001595@mydomain.com>, relay=www-data@localhost
Feb 18 16:29:33 mydomain sm-mta[1596]: u1IJTXW0001596: <dude1@mydomain.com>... User unknown
Feb 18 16:29:33 mydomain sendmail[1595]: u1IJTXI5001595: to=dude1@mydomain.com, ctladdr=www-data (33/33), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30129, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Feb 18 16:29:33 mydomain sm-mta[1596]: u1IJTXW0001596: from=<www-data@mydomain.com>, size=129, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Feb 18 16:29:33 mydomain sendmail[1595]: u1IJTXI5001595: u1IJTXI6001595: DSN: User unknown
Feb 18 16:29:33 mydomain sm-mta[1596]: u1IJTXW2001596: from=<>, size=2172, class=0, nrcpts=1, msgid=<201602181929.u1IJTXI6001595@mydomain.com>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Feb 18 16:29:33 mydomain sendmail[1595]: u1IJTXI6001595: to=www-data, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31153, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u1IJTXW2001596 Message accepted for delivery)
Feb 18 16:29:33 mydomain sm-mta[1597]: u1IJTXW2001596: to=<www-data@mydomain.com>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32394, dsn=2.0.0, stat=Sent
Feb 18 16:30:01 mydomain sm-mta[1628]: u1IJU1E8001628: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4
Feb 18 16:35:01 mydomain sm-mta[1730]: u1IJZ1w8001730: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4
Feb 18 16:36:06 mydomain sendmail[1779]: u1IJa6kL001779: from=www-data, size=129, class=0, nrcpts=1, msgid=<201602181936.u1IJa6kL001779@mydomain.com>, relay=www-data@localhost
Feb 18 16:36:06 mydomain sm-mta[1780]: u1IJa6dB001780: <dude1@mydomain.com>... User unknown
Feb 18 16:36:06 mydomain sendmail[1779]: u1IJa6kL001779: to=dude1@mydomain.com, ctladdr=www-data (33/33), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30129, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Feb 18 16:36:06 mydomain sm-mta[1780]: u1IJa6dB001780: from=<www-data@mydomain.com>, size=129, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Feb 18 16:36:06 mydomain sendmail[1779]: u1IJa6kL001779: u1IJa6kM001779: DSN: User unknown
Feb 18 16:36:06 mydomain sm-mta[1780]: u1IJa6dD001780: from=<>, size=2172, class=0, nrcpts=1, msgid=<201602181936.u1IJa6kM001779@mydomain.com>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Feb 18 16:36:06 mydomain sendmail[1779]: u1IJa6kM001779: to=www-data, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31153, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u1IJa6dD001780 Message accepted for delivery)
Feb 18 16:36:06 mydomain sm-mta[1782]: u1IJa6dD001780: to=<www-data@mydomain.com>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32394, dsn=2.0.0, stat=Sent
Feb 18 16:40:01 mydomain sm-mta[1881]: u1IJe1cn001881: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4
on the sendmail config folder i have the
local-host-names
localhost
mydomain.con
Any hints and advises will be appreciated as so far i have not been able to fix it, as i still have some doubts of how the system fully works
from what i understood for security reasons the contact form gets submited locally to a database where the data gets stored right?
then sendmail collects this data and sends it to my external mail.domainservername? together with the destination e-mail address from my external mail.domainservername right?
so for now i am still not sure of the message in var/log DSN=5.1.1. USER unknown
Edit1 = BTW i have removed from local-host-names in sendmail config my mydomain.com and left only localhost, but still getting the same error.