Results 1 to 8 of 8

Thread: telnet postfix (localhost) no output, but postfix is runnig

  1. #1
    Join Date
    Apr 2013
    Location
    Modra, Slovakia
    Posts
    265

    Default telnet postfix (localhost) no output, but postfix is runnig

    Code:
    linux-clui:~ # ps -ef| grep "postfix"
    postfix   2571 31498  0 Feb09 ?        00:00:00 pickup -l -t fifo -u
    postfix   3992 31498  0 Feb09 ?        00:00:00 cleanup -z -t unix -u
    postfix   4909 31498  0 Feb09 ?        00:00:00 cleanup -z -t unix -u
    postfix   7578 31498  0 Feb09 ?        00:00:00 cleanup -z -t unix -u
    postfix   9774 31498  0 08:17 ?        00:00:00 qmgr -l -t fifo -u
    robert   30877  1678  0 Feb09 ?        00:00:07 /usr/bin/okular /var/run/media/robert/data/robert/Public/postfix_the_definitive_guide.pdf --icon okular -caption Okular                                                                                                                                     
    root     31498     1  0 Feb09 ?        00:00:00 /usr/lib/postfix/master
    Code:
    linux-clui:~ # netstat -tupln | grep "25"
    tcp        8      0 127.0.0.1:25            0.0.0.0:*               LISTEN      31498/master
    so postfix is running as expected
    Code:
    telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    but telnet hangs up here : escape char is....
    13.2 KDE 64bit tumbleweed
    Lenovo G500s, Thinkpad R500

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: telnet postfix (localhost) no output, but postfix is runnig

    On 2014-02-10 08:56, roberto68 wrote:

    > so postfix is running as expected


    Code:
    
    > cer@minas-tirith:~> ps afxu | grep postf
    > cer       1287  0.0  0.0  10520   928 pts/9    S+   10:30   0:00                  |   |   \_ grep --color=auto postf
    > root      3491  0.0  0.0  21520  1440 ?        Ss   Feb08   0:00 /usr/lib/postfix/master
    > postfix   3507  0.0  0.0  23756  1488 ?        S    Feb08   0:00  \_ qmgr -l -t fifo -u
    > postfix   9406  0.0  0.0  34508  2416 ?        S    Feb09   0:00  \_ tlsmgr -l -t unix -u
    > postfix    419  0.0  0.0  23376  1452 ?        S    09:47   0:00  \_ pickup -l -t fifo -u
    > postfix   1238  0.0  0.0  43892  3956 ?        S    10:29   0:00  \_ smtpd -n smtp -t inet -u -o stress= -s 3
    > postfix   1239  0.0  0.0  23372  1452 ?        S    10:29   0:00  \_ proxymap -t unix -u
    > cer@minas-tirith:~>

    Why don't you simply use YaST to set up postfix?

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  3. #3
    Join Date
    Apr 2013
    Location
    Modra, Slovakia
    Posts
    265

    Default Re: telnet postfix (localhost) no output, but postfix is runnig

    thanks, it didn't occurre to me
    13.2 KDE 64bit tumbleweed
    Lenovo G500s, Thinkpad R500

  4. #4
    Join Date
    Apr 2013
    Location
    Modra, Slovakia
    Posts
    265

    Default Re: telnet postfix (localhost) no output, but postfix is runnig

    and actually you mean network services->mail server it asks me something about LDAP and certificates ...??
    13.2 KDE 64bit tumbleweed
    Lenovo G500s, Thinkpad R500

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: telnet postfix (localhost) no output, but postfix is runnig

    On 2014-02-10 11:36, roberto68 wrote:
    >
    > and actually you mean network services->mail server it asks me
    > something about LDAP and certificates ...??


    That's because you went to the advanced mode. You don't need that -
    unless you really do. A certificate, perhaps.

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: telnet postfix (localhost) no output, but postfix is runnig

    On 2014-02-10 12:48, Carlos E. R. wrote:
    > On 2014-02-10 11:36, roberto68 wrote:
    >>
    >> and actually you mean network services->mail server it asks me
    >> something about LDAP and certificates ...??

    >
    > That's because you went to the advanced mode. You don't need that -
    > unless you really do. A certificate, perhaps.


    I have seen a manual for this. But I can't locate it now. :-(

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  7. #7
    Join Date
    Apr 2013
    Location
    Modra, Slovakia
    Posts
    265

    Default Re: telnet postfix (localhost) no output, but postfix is runnig

    I've everything working (and as I've created virtual users and domains ), I don't know if I want to edit this mail server thorugh yast (e.g I've not seen option for multiple users ...) but my only question is password encryption and many password for different users, i.e.
    Code:
    /etc/postfix/mysql_mailbox.cf
    looks like that
    Code:
     user=mail 
    password=mailPASSWORD 
    dbname=maildb 
    table=users 
    select_field=maildir 
    where_field=id 
    hosts=127.0.0.1 
    additional_conditions = and enabled = 1
    but I want multiple users so there'd be different values for different users in table : users ->field : pass but in that file /mailbox.cf there's only one.

    and that passwd encryption .. would it be OK to do it like that
    Code:
    INSERT INTO users (pass) VALUES (AES_ENCRYPT('text',SHA2('password',512)));
    pretty clear but what about that value text ?
    13.2 KDE 64bit tumbleweed
    Lenovo G500s, Thinkpad R500

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: telnet postfix (localhost) no output, but postfix is runnig

    On 2014-02-11 11:36, roberto68 wrote:
    >
    > I've everything working (and as I've created virtual users and domains
    > ), I don't know if I want to edit this mail server thorugh yast


    Change in /etc/sysconfig/mail:

    MAIL_CREATE_CONFIG="no"


    > (e.g
    > I've not seen option for multiple users ...)


    Of course you can use many users, unless I misunderstood your question.
    But I'm not familiar with using postfix with mysql, that means a large
    system.

    Maybe you should be asking instead in the postfix mail list. Your
    questions are too specific.

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •