how to configre to posfix +phplist

Discussions that don't fit elsewhere & discussions not related to phpList (This does not mean spam is allowed).

how to configre to posfix +phplist

Postby Rituranjan » 9:59am, Mon 21 May, 2012

i am working on ubuntu 10.04
(i am succesfull installed
(1) phplist
(2) postfix mail server
both are working
when i send mail to any email id (ubuntu command line message is send root@astrohq.astrohq.com) to with
how to configure this mail send using phplist
Rituranjan
PL Nut
 
Posts: 18
Joined: 9:54am, Fri 18 May, 2012

Re: how to configre to posfix +phplist

Postby duncanc » 11:04am, Mon 21 May, 2012

You want to configure php, not phplist, to use postfix. And that, I think, should be automatic as postfix should install itself as an alias of sendmail.

What happens when you send a message from phplist?
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: how to configre to posfix +phplist

Postby Rituranjan » 7:09am, Tue 22 May, 2012

it say
Mailer Error:


my setting is

define("PHPMAILERHOST",'smtp.astrohq.com');
$phpmailer_smtpuser=ritturanjan@astrohq.com';
$phpmailer_smtppassword = '*****';


i am using ubuntu operating System
when i send command line message is send
mail -s "test message" rituranjan.gupta2@gmail.com
Rituranjan
PL Nut
 
Posts: 18
Joined: 9:54am, Fri 18 May, 2012

Re: how to configre to posfix +phplist

Postby duncanc » 8:38am, Tue 22 May, 2012

Why have you specified an smtp server if you want to use postfix to send mail?

Change the line back to the initial value so that phplist will use the php mail() function to send mail.
Code: Select all
define("PHPMAILERHOST",'');

That will then use the sendmail command, which postfix should have installed. You can check that by looking at the output of php -i from a command line.

Code: Select all
duncan@cobh:~$ php -i | grep mail
mail.add_x_header => On => On
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i  => /usr/sbin/sendmail -t -i
Path to sendmail => /usr/sbin/sendmail -t -i
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: how to configre to posfix +phplist

Postby Rituranjan » 11:32am, Tue 22 May, 2012

Thank you very much
Rituranjan
PL Nut
 
Posts: 18
Joined: 9:54am, Fri 18 May, 2012

Re: how to configre to posfix +phplist

Postby Rituranjan » 12:46pm, Tue 22 May, 2012

Thanks
how to configure Bounces mail in postfix configuration
my configuration



$message_envelope = 'astrosage@astrohq.com' ;
$bounce_protocol = 'pop';


define ("MANUALLY_PROCESS_BOUNCES",0);

# when the protocol is pop, specify these three

$bounce_mailbox_host = 'astrohq.astrohq.com';

$bounce_mailbox_user = 'astrosage@astrohq.com';
$bounce_mailbox_password = 'itzmyblog11';
Rituranjan
PL Nut
 
Posts: 18
Joined: 9:54am, Fri 18 May, 2012


Return to Other

Who is online

Users browsing this forum: No registered users and 1 guest

cron