Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 6 of 6
  1. #1
    spooner25 Guest

    Default Email trough extern SMTP smart relay

    Hello,

    how can I send email from OX trough extern SMTP smart relay host (like web.de) ?
    Where can I place email aliases ( user_here is user_there@web.de ).
    Where can I save the login user and password for smtp.web.de ?

    Thanks

    Thomas

  2. #2
    Gertjan Guest

    Default

    Your first question:
    In main.cf (in /etc/postfix on OpenSUSE) you have to add the line
    Code:
    relayhost = <yourexternalhost>
    And restart postfix.

    Your second question:
    In /etc/aliases
    (run newaliases afterwards)

    Your third question:
    I don't know. But maybe on some Postfix forum you can find the answer.

  3. #3
    sedeke Guest

    Default

    Email trough extern SMTP smart relay

    If you use a normal Mail Server as SmartHost, it is very simple.
    Add or modify in your main.cf the relayhost line, like gertjan describe. On the most systems it is recommended to connect with a user and SSL. For that you will need to add following lines to your main.cf.
    Code:
    smtp_sasl_auth_enable = yes
    smtp_sasl_security_options = noanonymous
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
    Now you need to create a password file where you identify the user with password witch will connect to the smtp server of your provider/mail server.
    Just create the file /etc/postfix/sasl_password with following content:
    Code:
    your.smarthost.de username:yourSecretPasswortThere
    Now you have to create the database password file.
    Code:
    postmap /etc/postfix/sasl_password
    Don't forget to restart your postfix service!
    The path of the password file can be different. It's your choose.

  4. #4
    Crumplerdude Guest

    Default Thanks

    I tried this configuration and it works fine.

  5. #5
    Joey Link Guest

    Default

    Quote Originally Posted by sedeke View Post
    Email trough extern SMTP smart relay

    If you use a normal Mail Server as SmartHost, it is very simple.
    Add or modify in your main.cf the relayhost line, like gertjan describe. On the most systems it is recommended to connect with a user and SSL. For that you will need to add following lines to your main.cf.
    Code:
    smtp_sasl_auth_enable = yes
    smtp_sasl_security_options = noanonymous
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
    Now you need to create a password file where you identify the user with password witch will connect to the smtp server of your provider/mail server.
    Just create the file /etc/postfix/sasl_password with following content:
    Code:
    your.smarthost.de username:yourSecretPasswortThere
    Now you have to create the database password file.
    Code:
    postmap /etc/postfix/sasl_password
    Don't forget to restart your postfix service!
    The path of the password file can be different. It's your choose.

    This is exactly how I have mine setup, but when I go to send an email through the OX console as a user I get:

    "Error code: There was an issue in authenticating your E-Mail password. This may be because of a recent password change. To continue please logout now and then log back in with your most current password. (server=localhost, user=8, context=1)"

    Any ideas?

  6. #6
    Crumplerdude Guest

    Default

    Did you enter:
    Code:
    relayhost = <yourexternalhost>
    Also, maybe you have to create a password map from the file sasl_passwd: That's what I did, too:
    Code:
    postmap hash:/etc/postfix/sasl_passwd
    If that don't help:
    I am no Linux nor Postfix expert, but I can compare your main.cf with mine, if that would help. Just post it here leaving out confidentials.

Bookmarks

Posting Permissions

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