when i try to send an email to [email protected] using php mail function i have this Code: Nov 19 14:20:41 localhost postfix/master[9308]: daemon started -- version 2.1.5 Nov 19 15:32:34 localhost postfix/pickup[9310]: 68A7586C0C1: uid=33 from=<www-data> Nov 19 15:32:34 localhost postfix/cleanup[13247]: 68A7586C0C1: message-id=<[email protected]> Nov 19 15:32:34 localhost postfix/qmgr[9311]: 68A7586C0C1: from=<[email protected]>, size=1398, nrcpt=1 (queue active) Nov 19 15:32:34 localhost postfix/smtp[13249]: 68A7586C0C1: to=<[email protected]>, orig_to=<[email protected]>, relay=redirect.ovh.net[213.186.33.5], delay=0, status=bounced (host redirect.ovh.net[213.186.33.5] said: 550 sorry, no mailbox here by that name (#5.1.1) (in reply to RCPT TO command)) Nov 19 15:32:34 localhost postfix/cleanup[13247]: BD88A86C0C3: message-id=<[email protected]> Nov 19 15:32:34 localhost postfix/qmgr[9311]: BD88A86C0C3: from=<>, size=3400, nrcpt=1 (queue active) Nov 19 15:32:34 localhost postfix/qmgr[9311]: 68A7586C0C1: removed Nov 19 15:32:35 localhost postfix/smtp[13249]: BD88A86C0C3: to=<[email protected]>, relay=redirect.ovh.net[213.186.33.5], delay=1, status=bounced (host redirect.ovh.net[213.186.33.5] said: 550 sorry, no mailbox here by that name (#5.1.1) (in reply to RCPT TO command)) Nov 19 15:32:35 localhost postfix/qmgr[9311]: BD88A86C0C3: removed I don t know how to fix :/
Hi, It seems to me that the email address is incorrect, it says no mailbox there by that name. Try to send a mail to you own mail address the see what's happening Csarlee
I don t want to use local webmail i prefer to use my registar mx servers that s why i don t set mx dns when i create my website on ispconfig. When i send the mail using php mail() function i have all these error and it perturbs me :/ Please someone can help me ?
Please make sure that you have set mailserver to external in the website sexyflash.org AND all co-domains of this site!
Create MX-DNS isn t checked and in option, Mailserver is set to Mailserver Distant. I don t understand why it don t work
Now i have this but i dont receive the mail Code: Nov 20 12:37:37 localhost postfix/cleanup[6402]: 74B4086C0CF: message-id=<[email protected]> Nov 20 12:37:37 localhost postfix/qmgr[2275]: 74B4086C0CF: from=<[email protected]>, size=1418, nrcpt=1 (queue active) Nov 20 12:37:37 localhost postfix/local[6404]: warning: database /etc/aliases.db is older than source file /etc/aliases Nov 20 12:37:37 localhost postfix/pickup[2274]: 8C08886C0D0: uid=10002 from=<sexyflash> Nov 20 12:37:37 localhost postfix/cleanup[6402]: 8C08886C0D0: message-id=<[email protected]> Nov 20 12:37:37 localhost postfix/local[6404]: 74B4086C0CF: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-) Nov 20 12:37:37 localhost postfix/qmgr[2275]: 74B4086C0CF: removed Nov 20 12:37:37 localhost postfix/qmgr[2275]: 8C08886C0D0: from=<[email protected]>, size=366, nrcpt=1 (queue active) Nov 20 12:37:37 localhost postfix/local[6404]: 8C08886C0D0: to=<admispconfig@localhost>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-) Nov 20 12:37:37 localhost postfix/qmgr[2275]: 8C08886C0D0: removed
Ok, so mails to [email protected] are sent to a remote server (q1.netfirms.com), but that server doesn't know that mail account. What's the output of Code: grep [email protected] /etc/postfix/virtusertable ?
I have this, jhd@sd-334:~$ grep [email protected] /etc/postfix/virtusertable [email protected] sexyflash
This means that mails for [email protected] stay on the server instead of being sent to the actual mailserver for sexyflash.org. Please go to the sexyflash.org domain in ISPConfig (probably on the Co-Domains tab) and set mailserver to external.