Results 1 to 4 of 4
Hello All,
I have a php contact form used in a website on my server (using apache2). I have postfix installed and running but I am getting this error:
postfix/sendmail[20252]: ...
- 01-17-2012 #1Just Joined!
- Join Date
- Jan 2012
- Posts
- 3
Postfix error on Ubuntu 10.04 Server
Hello All,
I have a php contact form used in a website on my server (using apache2). I have postfix installed and running but I am getting this error:
postfix/sendmail[20252]: fatal: Recipient addresses must be specified on the command line or via the -t option
Any ideas on how to fix this issue? I am new to linux and server config in general...so be gentle
- 01-17-2012 #2Just Joined!
- Join Date
- Jan 2012
- Posts
- 3
I fixed this error by passing the -t option to the sendmail path in the php.ini file. However I am still unable to successfully send a message from the contact form. The site's mx records are hosted on a remote server. I don't know if that makes any difference but thought I would mention it just in case.
How can I make this damn form work?! Would really appreciate some insight into how to set this up.
- 01-17-2012 #3Linux Guru
- Join Date
- May 2011
- Posts
- 1,855
Post whatever new errors you are encountering (i.e., cut-and-paste from logs/browser, etc.). We're not mind readers!
- 01-18-2012 #4Just Joined!
- Join Date
- Jan 2012
- Posts
- 3
What?! I thought you all had a third eye!

Anyways. Here are the new errors I am getting although for some reason they do not appear in mail.error, only mail.log:
Jan 18 03:36:11 thehostghost postfix/pickup[4091]: 0395480472: uid=33 from=<www-data>
Jan 18 03:36:11 thehostghost postfix/cleanup[7475]: 0395480472: message-id=<20120118033611.0395480472@thehostghost.thehost ghost.com>
Jan 18 03:36:11 thehostghost postfix/qmgr[21788]: 0395480472: from=<www-data@thehostghost.thehostghost.com>, size=415, nrcpt=1 (queue active)
Jan 18 03:36:11 thehostghost postfix/smtp[7478]: 0395480472: to=<worm@christianburkhart.com>, relay=mx.christianburkhart.com[66.96.142.51]:25, delay=0.7, delays=0.07/0.03/0.49/0.1, dsn=5.1.0, status=bounced (host mx.christianburkhart.com[66.96.142.51] said: 550 5.1.0 error: R4.1: 50.56.226.72 (in reply to MAIL FROM command))
Jan 18 03:36:11 thehostghost postfix/cleanup[7475]: A96F08048C: message-id=<20120118033611.A96F08048C@thehostghost.thehost ghost.com>
Jan 18 03:36:11 thehostghost postfix/bounce[7479]: 0395480472: sender non-delivery notification: A96F08048C
Jan 18 03:36:11 thehostghost postfix/qmgr[21788]: A96F08048C: from=<>, size=2492, nrcpt=1 (queue active)
Jan 18 03:36:11 thehostghost postfix/qmgr[21788]: 0395480472: removed
Jan 18 03:36:11 thehostghost postfix/smtp[7478]: A96F08048C: to=<www-data@thehostghost.thehostghost.com>, relay=none, delay=0.07, delays=0/0/0.06/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=thehostghost.thehostghost.com type=A: Host not found)
Jan 18 03:36:11 thehostghost postfix/qmgr[21788]: A96F08048C: removed
UPDATE: I changed the postfix setting myhostname to localhost and have the following configuration now:
myhostname = localhost
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
I now get the following error:
Jan 18 07:48:11 thehostghost postfix/qmgr[1322]: 1BBA08048C: from=<www-data@localhost>, size=375, nrcpt=1 (queue active)
Jan 18 07:48:11 thehostghost postfix/smtp[4630]: 1BBA08048C: lost connection with mx.christianburkhart.com[66.96.142.50] while performing the HELO handshake
Jan 18 07:48:11 thehostghost postfix/smtp[4630]: 1BBA08048C: lost connection with mx.christianburkhart.com[66.96.142.52] while performing the HELO handshake
Jan 18 07:48:11 thehostghost postfix/smtp[4630]: 1BBA08048C: to=<worm@christianburkhart.com>, relay=mx.christianburkhart.com[66.96.142.51]:25, delay=4772, delays=4771/0.02/0.57/0, dsn=4.4.2, status=deferred (lost connection with mx.christianburkhart.com[66.96.142.51] while performing the HELO handshake)Last edited by jiblett1000; 01-18-2012 at 06:53 AM.


Reply With Quote
