Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Fetchmail Authentication Issues

Posted on 2009-07-15
3
Medium Priority
?
919 Views
Last Modified: 2013-11-29
We've just moved our email hosting in-house to a virtual Ubuntu server running Postfix and Courier. After the move, a fetchmail script I wrote for Request Tracker tickets has stopped working, Whenever I run fetchmail, it appends the POP3 server's hostname to the username when authenticating. Obviously, this fails. How can I make it accept just the email address as the username when authenticating to POP3?
The .fetchmail.rc file:
root@host:~# cat /opt/rt3/etc/fetchmailrc
poll mail.domain.com proto pop3:
user "support@domain.com"             password 123456abcdef   mda "/opt/rt3/bin/rt-mailgate --url http://support.domain.com:81 --queue Support --action correspond" sslproto ssl123
user "support-comment@domain.com"     password 123456abcdef   mda "/opt/rt3/bin/rt-mailgate --url http://support.domain.com:81 --queue Support --action comment" sslproto ssl123
user "projects@domain.com"            password 123456abcdef   mda "/opt/rt3/bin/rt-mailgate --url http://support.domain.com:81 --queue Projects --action correspond" sslproto ssl123
user "projects-comment@domain.com"    password 123456abcdef   mda "/opt/rt3/bin/rt-mailgate --url http://support.domain.com:81 --queue Projects --action comment" sslproto ssl123
 
Output when run:
root@host:~# fetchmail -f /opt/rt3/etc/fetchmailrc
fetchmail: WARNING: Running as root is discouraged.
fetchmail: Authorization failure on support@domain.com@mail.domain.com
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: Authorization failure on support-comment@domain.com@mail.domain.com
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: Authorization failure on projects@domain.com@mail.domain.com
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: Authorization failure on projects-comment@domain.com@mail.domain.com
fetchmail: Query status=3 (AUTHFAIL)

Open in new window

0
Comment
Question by:drbill1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
kevin_u earned 1500 total points
ID: 24866794
my initial reaction is that it only appends @mail.domain.com when it already failed without it, but then the messages prints with it.  You might want to check whether the pop server is only requiring "support" rather than "support@domain.com".


Another suggestion: rather than polling, you might want to switch your configuration to use procmail, and use procmailrc to redirect the delivery.  You will eliminate polling delays.

0
 

Author Closing Comment

by:drbill1
ID: 31603878
I get my Darwin award for today; the accounts didn't have a maildir yet on the server because they had yet to receive an email (we didn't go live yet on the new server, so nothing had arrived). My fault, but your suggestion did prompt me to look deeper. Thanks!
0
 

Author Comment

by:drbill1
ID: 24909316
I get my Darwin award for today; the accounts didn't have a maildir yet on the server because they had yet to receive an email (we didn't go live yet on the new server, so nothing had arrived). My fault, but your suggestion did prompt me to look deeper. Thanks!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Pop culture is prime bait for hackers seeking to infect user’s computers and mobile devices with malicious malware. Hackers know exactly what the latest trends are online and know how to use them to their advantage.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question