smtp using postfix

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kkonline
Forum Contributor
Posts: 251
Joined: Thu Aug 16, 2007 12:54 am

smtp using postfix

Post by kkonline »

Hi ,
I am working on a vps serverb having debian as OS.
Have installed postfix for sending mails...
but i cannot ping localhost 25

basically I want to send mail using smtp functionality and swiftmailer. for that what shoulld be configured apart from general postfix installtion apt-get postfix?
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: smtp using postfix

Post by alex.barylski »

Probabbly best in the Linux forum but...

Have you made sure that postfix is properly installed and is running?

When you ps -aux do you see the postfix daemons?

There should be several, such as:

Code: Select all

postfix   9799  0.0  0.4  4632 1576 ?        S    10:15   0:00 pickup -l -t fifo
postfix   9822  0.0  0.4  4696 1652 ?        S    10:25   0:00 cleanup -z -t uni
postfix   9823  0.0  0.4  4640 1556 ?        S    10:25   0:00 trivial-rewrite -
postfix   9824  0.0  0.4  4764 1764 ?        S    10:25   0:00 smtp -t unix -u -
postfix   9825  0.0  0.4  4660 1632 ?        S    10:25   0:00 bounce -z -t unix
postfix   9826  0.0  0.4  4660 1580 ?        S    10:25   0:00 bounce -z -t
kkonline
Forum Contributor
Posts: 251
Joined: Thu Aug 16, 2007 12:54 am

Re: smtp using postfix

Post by kkonline »

Hockey wrote:Probabbly best in the Linux forum but...

Have you made sure that postfix is properly installed and is running?

When you ps -aux do you see the postfix daemons?

There should be several, such as:

Code: Select all

postfix   9799  0.0  0.4  4632 1576 ?        S    10:15   0:00 pickup -l -t fifo
postfix   9822  0.0  0.4  4696 1652 ?        S    10:25   0:00 cleanup -z -t uni
postfix   9823  0.0  0.4  4640 1556 ?        S    10:25   0:00 trivial-rewrite -
postfix   9824  0.0  0.4  4764 1764 ?        S    10:25   0:00 smtp -t unix -u -
postfix   9825  0.0  0.4  4660 1632 ?        S    10:25   0:00 bounce -z -t unix
postfix   9826  0.0  0.4  4660 1580 ?        S    10:25   0:00 bounce -z -t

i get only
root 14870 0.0 0.1 19620 2044 ? Ss Aug06 0:00 /usr/lib/postfix/master
postfix 14873 0.0 0.1 20688 2024 ? S Aug06 0:00 qmgr -l -t fifo -u
postfix 16016 0.0 0.1 20652 1980 ? S 02:07 0:00 pickup -l -t fifo -u -c

what elso do i have to install or configure; during it's installation i mentioned the mail name as mydomain.org (example) and clicked on online site during installation?
Post Reply