Re: [courier-users] Courier Fails to Queue Messages

2016-09-18 Thread Sam Varshavchik

Joseph C. Lininger writes:


« HTML content follows »
Sam,
First thank you for your help.

I figured out part of the problem. courierd wasn't starting. There was a  
single file the script wanted that I didn't have. I put it in place and  
courierd at least started.


Now I'm having a problem with "no such file or directory", and the logs  
report "abnormal program termination". The program restarts every minute, but  
I'm sure you guessed as much. I figured out via searching (one of your posts  
actually) that this indicates corruption. I uninstalled, removed the local  
state directory, then reinstalled. It works fine, right up to the point that  
I try to send the first message. Then it starts doing that again. I'm at a  
loss. Currently I'm trying building from source rather than using the  
package, but if you have more insight into why it might be doing that it  
would help. At least then I could submit a fixed package for other users.


Sounds like a bad package.

Unfortunately, the number of ways to screw up any software install is not  
bounded.




pgpSffxPPOzea.pgp
Description: PGP signature
--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier Fails to Queue Messages

2016-09-18 Thread Joseph C. Lininger

Sam,
First thank you for your help.

I figured out part of the problem. courierd wasn't starting. There was a 
single file the script wanted that I didn't have. I put it in place and 
courierd at least started.


Now I'm having a problem with "no such file or directory", and the logs 
report "abnormal program termination". The program restarts every 
minute, but I'm sure you guessed as much. I figured out via searching 
(one of your posts actually) that this indicates corruption. I 
uninstalled, removed the local state directory, then reinstalled. It 
works fine, right up to the point that I try to send the first message. 
Then it starts doing that again. I'm at a loss. Currently I'm trying 
building from source rather than using the package, but if you have more 
insight into why it might be doing that it would help. At least then I 
could submit a fixed package for other users.

Joe
On 9/18/2016 14:52, Sam Varshavchik wrote:

Joseph C. Lininger writes:


I installed Courier on Arch Linux  via the aur package. Everything works
fine for the most part. Courier can successfully authenticate against an
SQL database, it can access mailboxes to check mail, etc. One problem,
and it's a big one. When courier receives a message, it doesn't queue it
and deliver it to a mailbox. There's no entry in the logs or anything;
the message just disappears. I also tried sending mail to a remote
location manually by telnetting to the smtp server after temporarily
authorizing localhost to relay. The same thing happens. smtp server
indicates success, but the message is silently dropped. Finally, I've
tried using /usr/bin/sendmail to send a local message. That too doesn't
work. Can anyone shed light on this? I have *never* seen this in over 10
years of using Courier MTA.


The low hanging fruit: has Courier been started? "courier start".

When the server is not running, mail will still be accepted, but not 
queued up until the server starts.




--


___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] OAuth 2

2016-09-18 Thread Sam Varshavchik

m...@lechevalier.se writes:

Google has since a while started to block normal IMAP/SMTP access to gmail  
unless users specifically activate "Enable less secure apps" in their  
account settings. 


As alternative Google now require the use of OAuth 2.0 for authentication.  
The idea is to avoid showing the real user/password to each app that wants  
to connect to the account:  



Microsoft is also using OAuth2 with outlook.com  



OAuth website: 



Many clients are also moving towards this, like Outlook and Thunderbird.
Are there any plans support OAuth 2.0 with Courier?


At this time I have no immediate plans, at the moment; but patches are  
welcome.




pgpPZY3iNla6b.pgp
Description: PGP signature
--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier Fails to Queue Messages

2016-09-18 Thread Sam Varshavchik

Joseph C. Lininger writes:


I installed Courier on Arch Linux  via the aur package. Everything works
fine for the most part. Courier can successfully authenticate against an
SQL database, it can access mailboxes to check mail, etc. One problem,
and it's a big one. When courier receives a message, it doesn't queue it
and deliver it to a mailbox. There's no entry in the logs or anything;
the message just disappears. I also tried sending mail to a remote
location manually by telnetting to the smtp server after temporarily
authorizing localhost to relay. The same thing happens. smtp server
indicates success, but the message is silently dropped. Finally, I've
tried using /usr/bin/sendmail to send a local message. That too doesn't
work. Can anyone shed light on this? I have *never* seen this in over 10
years of using Courier MTA.


The low hanging fruit: has Courier been started? "courier start".

When the server is not running, mail will still be accepted, but not queued  
up until the server starts.




pgpUt8zM2wfzQ.pgp
Description: PGP signature
--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] OAuth 2

2016-09-18 Thread mail
Google has since a while started to block normal IMAP/SMTP access to gmail 
unless users specifically activate "Enable less secure apps" in their account 
settings. 

As alternative Google now require the use of OAuth 2.0 for authentication. The 
idea is to avoid showing the real user/password to each app that wants to 
connect to the account: 

Microsoft is also using OAuth2 with outlook.com 


OAuth website: 



Many clients are also moving towards this, like Outlook and Thunderbird.
Are there any plans support OAuth 2.0 with Courier?


-A
--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Courier Fails to Queue Messages

2016-09-18 Thread Joseph C. Lininger
Greetings,
I am having a very odd problem which I'm hoping someone here can shed 
light on.

I installed Courier on Arch Linux  via the aur package. Everything works 
fine for the most part. Courier can successfully authenticate against an 
SQL database, it can access mailboxes to check mail, etc. One problem, 
and it's a big one. When courier receives a message, it doesn't queue it 
and deliver it to a mailbox. There's no entry in the logs or anything; 
the message just disappears. I also tried sending mail to a remote 
location manually by telnetting to the smtp server after temporarily 
authorizing localhost to relay. The same thing happens. smtp server 
indicates success, but the message is silently dropped. Finally, I've 
tried using /usr/bin/sendmail to send a local message. That too doesn't 
work. Can anyone shed light on this? I have *never* seen this in over 10 
years of using Courier MTA.
Joe

--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users