Package: ssmtp
Version: 2.64-5build1
Severity: normal

Dear Maintainer,
/etc/ssmtp/revaliases supports setting mailhub for each alias, but does not 
support user/pass for same.

Adding this support should be a simple matter, to function revaliases() add, 
after the port has been set (if statem,ent ending line 420 in the copy I'm 
looking at).

Sorry no proper diff...


          if((p = strtok(NULL, " \t\r\n:"))) {
            if((auth_user = strdup(p)) == (char *)NULL) {
              die("revaliases() -- strdup() failed");
            }
            
            if((p = strtok(NULL, " \t\r\n:"))) {
              if((auth_pass = strdup(p)) == (char *)NULL) {
                die("revaliases() -- strdup() failed");
              }
            }
            
            if((p = strtok(NULL, " \t\r\n:"))) {
              if((auth_method = strdup(p)) == (char *)NULL) {
                die("revaliases() -- strdup() failed");
              }
            }
          }         
                    

-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-26-generic (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ssmtp depends on:
ii  debconf [debconf-2.0]  1.5.42ubuntu1
ii  libc6                  2.15-0ubuntu10.3
ii  libgnutls-openssl27    2.12.14-5ubuntu3.1

ssmtp recommends no packages.

ssmtp suggests no packages.

-- Configuration Files:
/etc/logcheck/ignore.d.server/ssmtp [Errno 13] Permission denied: 
u'/etc/logcheck/ignore.d.server/ssmtp'
/etc/ssmtp/revaliases changed [not included]

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to