Sponsored Content
Top Forums UNIX for Dummies Questions & Answers problem with character @ inside username to use pop3 with nail Post 302420699 by chemi on Thursday 13th of May 2010 04:27:45 AM
Old 05-13-2010
problem with character @ inside username to use pop3 with nail

Thanks zaxxon. I knew this article and I tried it. The article says:

"set folder=imaps://shell-monkey@imap.web.de

The folder option tells Nail where to get the mail from. The string starts with the protocol used to fetch your mail. Possible values beside imaps are imap, pop3, and pop3s. The rest of the folder string consists of your login name and server address."

My case:
Username is developers@afinformatica.com;
server is mail.afinformatica.com

then I have configured the following:

set folder=pop3://developers@afinformatica.com@mail.afinformatica.com

but, obviously, this's wrong. I also tried:

set folder=pop3://developers@mail.afinformatica.com

then, nail tried to read but pop3 returns

informix@linux:~> nail -f myisp
POP3 error: -ERR Login failed.
Password:

My pop3 server doesn't know username "developers". I think that I need to configurate my domain in somewhere but ¿where?


Thanks again

---------- Post updated at 04:46 PM ---------- Previous update was at 03:33 PM ----------

In this page http://linux.die.net/man/1/nail says

“If user contains special characters, in particular '/' or '%', they must be escaped in URL notation, as '%2F' or '%25'.”

Then I have tried:

set folder=pop3://developers%40afinformatica.com@mail.afinformatica.com

where %40 is @ in url notation

but this doesn't work Smilie


Any idea?




---------- Post updated 13-05-10 at 10:27 AM ---------- Previous update was 12-05-10 at 04:46 PM ----------

Hi

I got that pop3 works.

Problem was the nail version. I have tried with another version and it works:

the solution:

developers\@afinformatica.com@mail.afinformatica.com


Thanks for all Smilie
 

10 More Discussions You Might Find Interesting

1. Red Hat

Pop3 server problem

hi frnds Unable to connect to POP server mit.com. Error sending password: -ERR Bad login i m getting this problem in Ximain .I m using Redhat Enterprise 3. mit (1 Reply)
Discussion started by: naik_mit
1 Replies

2. Linux

pop3 and imap problem

Hi all I have a Redhat 8 box running sendmail-8.12.8-9.80. I use both imap and pop3 for clients to donwlaod mails. imap is used by some application related stuff. The users use opp3 to download their mails. The problem started a yesterday when 1 user complained that he was not able to... (2 Replies)
Discussion started by: skotapal
2 Replies

3. AIX

check for a particular character inside a file and substitute with a given character?

i am a newbie to shell script,so i want a kshell script in which i need to check for a particular character inside a file through conditional looping(like if ,case,while)and if that character exists ,then substitute a given character to that character. consider a file test.txt,inside the file... (1 Reply)
Discussion started by: karthikprasathk
1 Replies

4. UNIX for Dummies Questions & Answers

check if a character is inside a variable

Good morning forums. Ive been trying all weekend to do this with no luck, so i have come to the forums for help. What i want to do is check if an inputed character is inside a variable. for example, if var=1 2 3 4 5 6 7 8 9 0 i would like to see if a newly inputed number is already... (5 Replies)
Discussion started by: strasner
5 Replies

5. BSD

Problem userdir ~username on apache

i have problem user cannot add or edit file on their directory i mean /home/user/public_html i have httpd.conf like this : ................ # UserDir Include etc/apache22/extra/httpd-userdir.conf and httpd-userdir.conf ................ # UserDir public_html UserDir disabled... (2 Replies)
Discussion started by: moslemovic
2 Replies

6. UNIX for Advanced & Expert Users

couting occurences of a character inside a string and assigning it to a variable

echo "hello123" | tr -dc '' | wc -c using this command i can count the no of times a number from 0-9 occurs in the string "hello123" but how do i save this result inside a variable? if i do x= echo "hello123" | tr -dc '' | wc -c that does not work...plz suggest..thanks (3 Replies)
Discussion started by: arindamlive
3 Replies

7. Shell Programming and Scripting

Preserve extented ascii character when run echo comand inside bash script

Hi everyone, I'm echo some text with extended ascii characters as below: echo -e "Pr\xE9sentation du spectacle" > output or echo -e "Présentation du spectacle" > outputIf I open the file created I see this text Présentation du spectacleThe text is shown correctly in this created file when... (7 Replies)
Discussion started by: Ophiuchus
7 Replies

8. Shell Programming and Scripting

Remove \n <newline> character inside the records.

Hi, In my file, I have '\n' characters inside a single record. Because of this, a single records appears in many lines and looks like multiple records. In the below file. File 1 ==== 1,nmae,lctn,da\n t 2,ghjik,o\n ut,de\n fk Expected output after the \n removed File 2 =====... (5 Replies)
Discussion started by: machomaddy
5 Replies

9. Shell Programming and Scripting

Problem with character by character reading

Hi friend, i have the following problem: when i am writting the below command on the command prompt , its working. while read -n 1 ch; do echo "$ch" ; echo "$ch" ; done<file_name.out. but when i am executing it after saving it in a ksh file, its not working. Please helppppppppp .. thankss... (18 Replies)
Discussion started by: neelmani
18 Replies

10. Shell Programming and Scripting

Passing username and password to a script running inside "expect" script

Hi I'm trying to run a script " abc.sh" which triggers "use.sh" . abc.sh is nothing but a "expect" script which provides username and password automatically to the use.sh script. Please find below the scripts: #abc.sh #!/usr/bin/expect -f exec /root/use.sh expect "*name*" send... (1 Reply)
Discussion started by: baddykam
1 Replies
XLASSIE(1x)							   User Commands						       XLASSIE(1x)

NAME
xlassie - mailbox counter for X SYNOPSIS
xlassie [options] DESCRIPTION
The xlassie program is a replacement for the standard X mail notification tool, XBiff. It has several useful enhancements over XBiff. * Counts the number of new messages you have * Can query remote mail on a POP3 server or on an IMAP server * Can count local mail with an mbox or a maildir style spool * Uses less memory than XBiff (or any other X mail checker) * Can run a command when clicked on, and/or when new mail arrives * Can toggle an LED indicating availability of mail * Supports both the KDE and the WindowMaker applet protocols * Runs as a standard X application When the count is 0 (no mail) it is displayed in a less obtrusive color. When mail arrives a beep is emitted, and the updated unread mes- sage count is displayed. When xlassie is running, the following interactive commands are available: q Quit gracefully. mouse click Spawn '-command' (if any), otherwise update mail count. xlassie 1.8 OPTIONS
-h, -help Print usage and exit -v, -version Print version and exit -V, -verbose Chatter on about this and that -name <name> Set application class name (default: xlassie) -bg <color> Background color (default: White) -fg <color> Foreground color (default: Black) -hilight [<color>] Use a different foreground color when there is non-zero mail (default: Red) -update <number> Check mail every <number> seconds (default: 5 sec local, 60 sec remote) -bell Ring bell when count increases from zero -led [<number>] Light-up keyboard LED <number> if mail exists (default: 1) -fn <fontname> Font for the new mail count -display <displayname> X server to connect to -geometry <geometry> Window geometry -shape Use a shaped window -spool <filename> File to use for mail spool or maildir directory -mailcommand <command> Command to execute on new mail arrival -clickcommand <command> Command to execute when clicked upon (default: CHECK_MAILBOX) -offset <number> Mail display count offset (for debugging) -pop3 <server> Connect to pop3 server rather than local mail spool -apop3 <server> Like -pop3, but uses a different method. Use when -pop3 doesn't find the correct number -imap <server> Use the IMAP protocol instead of pop3 -imapfolder <folder> Use this folder instead of INBOX -username <name> Username for pop3/imap server, when different from local username -password <password> Password to use on pop3/imap server. Use the password 'ask' to be prompted for the password on stdin. -offline Don't exit when the server is unreachable -wmaker, -kde Do stuff to get swallowed into the WindowMaker or KDE dock. Normally unneeded: WindowMaker and KDE should be autodetected. -nokde, -nowmaker Don't do the stuff to get swallowed ENVIRONMENT
If set MAIL is the mail spool or maildir directory to use, unless otherwise specified on the command line. X RESOURCES
When reading X resources, two class names xlassie and xbiff are recognized (in that order) unless the -name is used. The class name xbiff allows resources common to both xbiff and xlassie to be easily configured, while the class name xlassie allows resources unique to this program. If no resources are specified, suitable defaults will be used. Command-line arguments can be used to override resource settings. The following resources are allowed (e.g, "xlassie.RESOURCE"): name: name Use the specified name as a class name for this application (default: xlassie). background: color Use the specified color as this application's background color. The 'bg' resource is also recognized (default: White). foreground: color Use the specified color as this application's foreground color. The 'fg' resource is also recognized (default: Black). hightlight: color Use the specified color as this application's foreground color when there is non-zero mail. The 'hilight' resource is also recog- nized (default: Red). update: number Use the specified number to note how many seconds should be used to check mail every (default: 5 seconds local, 60 seconds remote). bell: boolean Use the specified boolean value to affect the ringing of the system bell when mail is received (default: False). led: number Use the specified number to light-up the LED specified if mail exists (default: 1). font: fontname Use the specified fontname as the application's font. The 'fn' resource is also recognized. geometry: geometry Use the specified X window geometry. shape: boolean Use the specified boolean value to affect shaped window creation (default: False). spool: filename Use the specified filename as the mail spool or maildir directory. mailcommand: command Use the specified command to execute on new mail arrival. The 'mailcmd' resource is also recognized. If you have a %d in the com- mand, it will get replaced with the number of new messages. Remember to put quotes around the command if it's longer than one word. If you want the command to run the background, put a '&' at the end. clickcommand: command Use the specified command to execute when application is clicked on. The 'clickcmd' resource is also recognized (default: CHECK_MAILBOX). pop3: server Use the specified pop3 server rather than local mail spool. apop3: server Use the specified pop3 server rather than local mail spool but while using a different access method. This option is useful when -pop3 doesn't find the correct number. imap: server Use the specified imap server rather than local mail spool. username: name Use the specified login name for pop3/imap server access when different from local username. password: password Use the specified login password for pop3/imap server access. offline: boolean Use the specified boolean value to affect whether access is continued in the case a remote server is unreachable (default: False). wmaker: boolean Use the specified boolean value to affect the ability to get swallowed into a WindowMaker dock (default: False). kde: boolean Use the specified boolean value to affect the ability to get swallowed into a KDE dock (default: False). nokde: boolean Use the specified boolean value to affect the inability to get swallowed into a KDE dock (default: False). nowmaker: boolean Use the specified boolean value to affect the inability to get swallowed into a WindowMaker dock (default: False). AUTHOR
Original XLassie by Trent Piepho <xyzzy@speakeasy.org>. Modified by - Barak A. Pearlmutter <barak@cs.may.ie> - Nadim Shaikli <nadim@arabeyes.org>. COPYRIGHT
Copyright (c) 1998-2001, Trent Piepho. Copyright of modifications held by their respective authors. Licensed under the GNU General Public License v2 (GPL). xlassie 1.8 October 2011 XLASSIE(1x)
All times are GMT -4. The time now is 09:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy