Bug #2183

Fetchmail: allow email address as username for login

Added by Giacomo Sanchietti almost 8 years ago. Updated almost 8 years ago.

Status:CLOSEDStart date:09/05/2013
Priority:NormalDue date:09/16/2013
Assignee:-% Done:

100%

Category:nethserver-fetchmail
Target version:v6.4-beta2
Security class: Resolution:
Affected version:v6.4-beta1 NEEDINFO:No

Description

Currently the user can't configure an external mail address where remote server username is a valid mail address.

Expected behavior: username field should accept anything like simple unix username to mail address.


Related issues

Related to NethServer 6 - Enhancement #2087: Allow dot in user and group names CLOSED 11/14/2013 11/14/2013

Associated revisions

Revision c0d07fc9
Added by Giacomo Sanchietti almost 8 years ago

spec: add nethserver-mail-server dependency. Refs #2183

Revision 4f3e824c
Added by Giacomo Sanchietti almost 8 years ago

web ui: allow email address as username. Refs #2183

Revision 9c55413d
Added by Davide Principi almost 8 years ago

Fetchmail UI module: added download_Header translations. Refs #2183

History

#1 Updated by Giacomo Sanchietti almost 8 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20
  • Estimated time set to 0.50

#2 Updated by Giacomo Sanchietti almost 8 years ago

  • Status changed from TRIAGED to ON_DEV
  • % Done changed from 20 to 30

#3 Updated by Giacomo Sanchietti almost 8 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 30 to 60

New accounts are now automatic enabled: property active set to YES.

#4 Updated by Giacomo Sanchietti almost 8 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
New package in nethserver-testing:
  • nethserver-fetchmail-1.0.0-3.0git4f3e824c.ns6.noarch.rpm
Test case
  • Create an account where username is an email address
  • Check the new account is active (see /var/log/fetchmail.log)

#5 Updated by Davide Principi almost 8 years ago

  • Due date set to 09/16/2013
  • Status changed from ON_QA to VERIFIED
  • Start date set to 09/05/2013
  • % Done changed from 70 to 90

VERIFIED

The test case is passed, but I've noticed that in /home/fetchmail/fetchmailrc the mapping between remote and local user is based on the local username, thus does not always work

poll nethservice.nethesis.it proto imap:
 user "davidep2" with pass "XXX" is "dave@vboxnet0.tld" here smtphost 127.0.0.100 keep ssl

If pseudonym does not exist an error occurs. In /var/log/fetchmail.log:

fetchmail: awakened by User defined signal 1
fetchmail: 1 message for davidep2 at nethservice.nethesis.it.
fetchmail: reading message davidep2@nethservice.nethesis.it:1 of 1 (1651 header octets) (log message incomplete)
fetchmail: SMTP error: 550 5.1.1 <dave@vboxnet0.tld>: Recipient address rejected: User unknown in virtual mailbox table
fetchmail: can't even send to fetchmail!
fetchmail:  not flushed

Current fetchmail DB:

# db fetchmail show
davide.test@nethesis.it=fetchmail
    account=dave
    active=YES
    nokeep=NO
    password=XXX
    popserver=xyz.nethesis.it
    proto=imap
    ssl=YES
    username=davidep2

May be related to #2087

#6 Updated by Giacomo Sanchietti almost 8 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
In nethserver-updates:
  • nethserver-fetchmail-1.0.1-1.ns6.noarch.rpm

Also available in: Atom PDF