You are not logged in.

#1 2012-08-21 10:25:31

Swarfega
Member
Registered: 2011-08-19
Posts: 100

[SOLVED] Sendmail / Apache

I run some forums from an Arch Virtual Machine however I cannot get mail to work.  I have installed postfix just to get hold of the sendmail program.  When I run a test my forums suggest it went well but nothing is received.

SMTP:	localhost
sendmail_from:	None
sendmail_path:	/usr/sbin/sendmail -t -i

Help Results
No errors were returned while attempting to send the email. Check me@example.com shortly to confirm you've received the email. If you don't receive the email, try sending the test to a different address. If that fails, check your mail server's configuration.

If I look in mail.log I see this...

Aug 21 10:19:53 localhost postfix/postdrop[1597]: warning: unable to look up public/pickup: No such file or directory

Ideas? hmm

Last edited by Swarfega (2012-08-21 13:20:09)

Offline

#2 2012-08-21 12:26:14

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: [SOLVED] Sendmail / Apache

does /var/spool/postfix/public/pickup exist?

Offline

#3 2012-08-21 12:27:09

Swarfega
Member
Registered: 2011-08-19
Posts: 100

Re: [SOLVED] Sendmail / Apache

pickup is missing, the rest is there though.

Offline

#4 2012-08-21 12:36:53

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: [SOLVED] Sendmail / Apache

open
/etc/postfix/master.cf
check for this line. it should be there and NOT commented (no # at the beginning of the line)

pickup    fifo  n       -       n       60      1       pickup

then /etc/rc.d/postfix restart

Last edited by hussam (2012-08-21 12:37:40)

Offline

#5 2012-08-21 13:05:57

Swarfega
Member
Registered: 2011-08-19
Posts: 100

Re: [SOLVED] Sendmail / Apache

pickup    fifo  n       -       n       60      1       pickup

Already in this state.  I haven't rebooted since the install of postfix.  Worth a go?

Offline

#6 2012-08-21 13:11:04

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: [SOLVED] Sendmail / Apache

have you done /etc/rc.d/postfix restart?
it will create the pickup file if it doesn't exist.

Offline

#7 2012-08-21 13:19:55

Swarfega
Member
Registered: 2011-08-19
Posts: 100

Re: [SOLVED] Sendmail / Apache

hussam you are the man!

/etc/rc.d/postfix restart
:: Stopping postfix daemon                                               [FAIL]
:: Starting postfix daemon                                               [DONE]

seconds later the mail came though.  I presumed that once installed that postfix was running.  Cheers man!

Offline

#8 2012-08-21 14:21:55

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: [SOLVED] Sendmail / Apache

postfix wasn't even running then...

Offline

#9 2012-08-22 12:03:16

Swarfega
Member
Registered: 2011-08-19
Posts: 100

Re: [SOLVED] Sendmail / Apache

Indeed sad

Offline

Board footer

Powered by FluxBB