You are not logged in.
Pages: 1
Hey,
i've been trying to find a way for a vitrual mail server setup but can't seem to find one that actually work, i've followed this guide completely:
https://wiki.archlinux.org/index.php/Postfix
and also tried https://wiki.archlinux.org/index.php/Si … ail_System
but neither one have seemed to work.
Offline
Sooooo, what's your question.........?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Nobody can help you without some information. Instead of saying it doesn't work, describe in detail the issues you have experienced while following the wiki guides.
https://wiki.archlinux.org/index.php/Fo … ow_to_Post is a good reference.
Offline
[root@eric certs]# mkpop3cert
bash: mkpop3cert: command not found
Offline
wiki typo - the command is mkpop3dcert, something you could easily have found out for yourself.
Please fix the wiki page.
Offline
Now everything is good, except now php can't send mail:
<?php
$to = 'eric1@ns.sympatico.ca';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: eric@ericglazebrook.in' . "\r\n" .
'Reply-To: eric@ericglazebrook.in' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>
doesn't send mail like it should.
Last edited by nighthawk (2011-03-09 18:38:18)
Offline
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
When i do the mail() function in php, and check that email it never comes threw. i was wondering why that would be,
Offline
Do you have an MTA installed and configured? What does /var/log/mail.log say about the message?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Mail.log says:
ar 10 11:40:16 ericglazebrook postfix/postfix-script[5246]: starting the Postf$
Mar 10 11:40:16 ericglazebrook authdaemond: modules="authmysql", daemons=5
Mar 10 11:40:16 ericglazebrook authdaemond: Installing libauthmysql
Mar 10 11:40:16 ericglazebrook authdaemond: Installation complete: authmysql
Mar 10 11:40:16 ericglazebrook postfix/master[5247]: daemon started -- version $
Mar 10 11:40:30 ericglazebrook postfix/pickup[5300]: 4BFB0376D05D: uid=33 from=$
Mar 10 11:40:30 ericglazebrook postfix/cleanup[15386]: 4BFB0376D05D: message-id$
Mar 10 11:40:30 ericglazebrook postfix/qmgr[5299]: 4BFB0376D05D: from=<http@eri$
Mar 10 11:40:30 ericglazebrook postfix/smtp[15423]: 4BFB0376D05D: to=<eric1@ns.$
Mar 10 11:40:30 ericglazebrook postfix/cleanup[15386]: 7F73E376D05E: message-id$
Mar 10 11:40:30 ericglazebrook postfix/qmgr[5299]: 7F73E376D05E: from=<>, size=$
Mar 10 11:40:30 ericglazebrook postfix/bounce[15443]: 4BFB0376D05D: sender non-$
Mar 10 11:40:30 ericglazebrook postfix/qmgr[5299]: 4BFB0376D05D: removed
Mar 10 11:40:30 ericglazebrook postfix/virtual[15452]: 7F73E376D05E: to=<http@e$
Mar 10 11:40:30 ericglazebrook postfix/qmgr[5299]: 7F73E376D05E: removed
Offline
OK, well those log entries are cut off, so all the useful information is missing...
From what I can see, it looks like it is being bounced:
postfix/bounce[15443]: 4BFB0376D05D: sender non-$
Why? There's nothing to indicate the reason.
You might be able to view the bounce message in /var/spool/mail/http
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
There is nothing in /var/sppol/mail/http it says no such file or folder.
but i managed to get a full log from mail.log
Mar 10 15:38:51 ericglazebrook postfix/pickup[27691]: 0C1E4376D06B: uid=33 from=<http>
Mar 10 15:38:51 ericglazebrook postfix/cleanup[9349]: 0C1E4376D06B: message-id=<20110310233851.0C1E4376D06B@eric.localdomain>
Mar 10 15:38:51 ericglazebrook postfix/qmgr[5299]: 0C1E4376D06B: from=<http@eric.localdomain>, size=345, nrcpt=1 (queue active)
Mar 10 15:38:51 ericglazebrook postfix/smtp[11693]: 0C1E4376D06B: to=<eric1@ns.sympatico.ca>, relay=mx.bellaliant.net[4.59.182.109]:25, delay=0.1, delays=0.02/0.01/0.06/0.02, dsn=5.0.0, status=bounced (host mx.bellaliant.net[4.59.182.109] said: 553 eric.localdomain does not exist (in reply to MAIL FROM command))
Mar 10 15:38:51 ericglazebrook postfix/cleanup[9349]: 26B3C376D06C: message-id=<20110310233851.26B3C376D06C@eric.localdomain>
Mar 10 15:38:51 ericglazebrook postfix/qmgr[5299]: 26B3C376D06C: from=<>, size=2232, nrcpt=1 (queue active)
Mar 10 15:38:51 ericglazebrook postfix/bounce[9382]: 0C1E4376D06B: sender non-delivery notification: 26B3C376D06C
Mar 10 15:38:51 ericglazebrook postfix/qmgr[5299]: 0C1E4376D06B: removed
Mar 10 15:38:51 ericglazebrook postfix/virtual[9365]: 26B3C376D06C: to=<http@eric.localdomain>, relay=virtual, delay=0.01, delays=0/0/0/0, dsn=5.1.1, status=bounced (unknown user: "http@eric.localdomain")
Mar 10 15:38:51 ericglazebrook postfix/qmgr[5299]: 26B3C376D06C: removed
Offline
status=bounced (host mx.bellaliant.net[4.59.182.109] said: 553 eric.localdomain does not exist (in reply to MAIL FROM command))
You are sending mail from "eric.localdomain" which isn't a valid domain outside your network. You need to setup Postfix to append the correct domain.
Last edited by fukawi2 (2011-03-11 05:03:03)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Pages: 1