Setup GMX email with SSMTP

7,905

Change your config to match this:

# /etc/ssmtp/ssmtp.conf
[email protected]
mailhub=mail.gmx.com:587
rewriteDomain=gmx.com
hostname=gmx.com
FromLineOverride=YES
[email protected]
AuthPass=yourpassword
UseSTARTTLS=YES

Source:
https://help.gmx.com/en/applications/pop3.html

Share:
7,905

Related videos on Youtube

Sepero
Author by

Sepero

Updated on September 18, 2022

Comments

  • Sepero
    Sepero over 1 year

    I setup the simplest outgoing email server possible with ssmtp. It is giving me the error Authorization failed (535 Authentication credentials invalid). Here is my configuration without comments:

    # /etc/ssmtp/ssmtp.conf
    [email protected]
    mailhub=mail.gmx.com:465
    rewriteDomain=gmx.com
    hostname=HP-Q101
    rewriteDomain=gmx.com
    FromLineOverride=YES
    [email protected]
    AuthPass=my@super&secret*pa$$word
    UseTLS=YES
    

    Running output:

    ~$ ssmtp -vvv [email protected] < msg
    [<-] 220 gmx.com (mrgmxus001) Nemesis ESMTP Service ready
    [->] EHLO ASUS-N53SM
    [<-] 250 AUTH LOGIN PLAIN
    [->] AUTH LOGIN
    [<-] 334 VXNlcm5hbWU6
    [->] c3VwZXZvMZExZGdteZ3jb33=
    [<-] 334 ZZFzc3dvcmZ3
    [<-] 535 Authentication credentials invalid
    ssmtp: Authorization failed (535 Authentication credentials invalid)
    

    I understand that this implies a wrong username or password, but I have confirmed the password by copying it directly from my password manager. I also tried setting my user name to only myemail.

    • Anyone have luck setting up a GMX account?
    • If the problem isn't username/password, what could it possibly be?
    • fkraiem
      fkraiem almost 10 years
      Maybe you need STARTTLS?
  • Fabiano Rodrigues Ferreira
    Fabiano Rodrigues Ferreira over 6 years
    Dead link. Also what's the point of having twice the rewriteDomain setting?
  • Rucent88
    Rucent88 over 6 years
    There is no point of having it twice. I have corrected the typo