mail problem - authentication (postfix,ISPconfig)

Discussion in 'General' started by marclar, Jun 9, 2006.

  1. marclar

    marclar New Member

    Hehe, true, works now. Thank you very much for that!:D

    You probably think the main.cf file?
    There is a path to /etc/aliases.
    And here is it's content:

    Strange content I know.. But I didn't change anything there :confused:
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Can you post the real email addresses here? Also, what's in /etc/postfix/virtusertable?
     
  3. marclar

    marclar New Member

    e-mail that works now, is [email protected], though marclar is just an username, and e-mail should be [email protected]..

    Now I added new user (info) under emanuel.si site, and I got the same error again, no matter if I enter [email protected] or [email protected]...
    Something still ain't right here :(

    virtusertable: (i added the last line manualy, couse [email protected] wont work)
    the isp setting under "root":
    [​IMG]

    [​IMG]


    [​IMG]


    so, [email protected] works, [email protected] and [email protected] doesn't work....
    Should i restart something after adding a new user maybe?
     
    Last edited: Jun 16, 2006
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    First, do not edit the virtusertable manually, it wont solve your problem because ISPConfig wil override it!

    I guess you problem is, that you did not add a co-domain emanuel.si (with empty host) to the website www.emanuel.si.
     
  5. marclar

    marclar New Member

    I did that before:

    [​IMG]
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Please post /etc/postfix/main.cf here (please strip out the comments).
     
  7. marclar

    marclar New Member

    main.cf :
     
  8. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /root/ispconfig
    ?

    Does it work when you run
    Code:
    postmap /etc/postfix/virtusertable
    and restart Postfix?
     
  9. marclar

    marclar New Member

    Authentication with info username is still rejected ...

    Just look at this picture please, the answers are there!

    click here

    what do you think about that duplicate error, should i delete one entry manually?
     
    Last edited: Jun 17, 2006
  10. edge

    edge Active Member Moderator

    I had exactly the same problem, and I did use the perfect setup for Debian

    The problem (for me) is the:
    smtpd_sasl_local_domain = $myhostname

    When I did the install (today) the $myhostname part was missing, but as it was showing in the example, I added it by hand!

    I was just trying to send an email, and I had the same problem as you.

    I removed the $myhostname, and emails are now send!

    So now that line looks like this:
    smtpd_sasl_local_domain =

    Not sure if it's good or bad!
     
    Last edited: Jun 18, 2006
  11. marclar

    marclar New Member

    in my main.cf, this line is already empty!
    So this couldn't be a problem :confused:
     
  12. falko

    falko Super Moderator ISPConfig Developer

    Why do you have [email protected] twice in virtusertable? It should be there only once!

    What's the output of
    Code:
    netstat -tap
    ?
     
  13. edge

    edge Active Member Moderator

    sorry to 'hijack' this thread, but Falko me removing the $myhostname from smtpd_sasl_local_domain = $myhostname is this okay?

    This is a.t.m. the only way for me to get the mail to work.
     
  14. marclar

    marclar New Member

    Im not sure, why is there twice. Should i delete one manually?
    here is the output of netstat -tap:
    [​IMG]
     
    Last edited: Jun 18, 2006
  15. falko

    falko Super Moderator ISPConfig Developer

    That's ok. If you compare some of the "Perfect Setups", you'll realize that I used both solutions because one worked for one distribution and the other for another distribution. :)
     
  16. falko

    falko Super Moderator ISPConfig Developer

    This won't help much because ISPConfig will overwrite your changes... The email address must somehow be twice in ISPConfig... :confused:
    Did you enable Maildir in ISPConfig under Management -> Server -> Settings -> Email?
     
  17. marclar

    marclar New Member

    Yes of course I did that...
    I think the problem is, that ISPConfig doesn't write the new e-mail's, in virtusertable. There are only 2 there, ([email protected] and another one). And these two work fine. If I add another e-mail account, it simply doesn't appear in virtusertable. And there is probably the catch. How can I "force" ISPConfig to write new accounts in that file?? :confused: :confused:
     
  18. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /root/ispconfig
    ?
    What's the output of
    Code:
    strace /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
    ?
     
  19. marclar

    marclar New Member

    You can se the output of ls -la /root/ispconfig here!
    [​IMG]

    Output of strace /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php is very long (about 10 pages?), and you can see just part of it HERE

    Tnx;)
     
  20. marclar

    marclar New Member

    Hmm. Lots of changes, were made since that command!!

    Virtusertable is full of entries now!
    All users at all domains.. But [email protected] still doestn't work..
     
    Last edited: Jun 21, 2006

Share This Page