Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Mailman with smtp #123

Open
vigneshinfoavc opened this issue Apr 17, 2015 · 3 comments
Open

Mailman with smtp #123

vigneshinfoavc opened this issue Apr 17, 2015 · 3 comments

Comments

@vigneshinfoavc
Copy link

Hi,
currently I am using mailman for getting email from pop3 account, it's working well. But now, I want to configure mailman with smtp. How can I connect? Can you help me on this?

@Mic92
Copy link
Contributor

Mic92 commented Apr 17, 2015

mailman does not currently no support SMTP directly.
However as it is possible to read messages from stdin, you could use postfix mailbox_command to receive emails: http://www.postfix.org/postconf.5.html#mailbox_command

Note this might not scale well for high volume traffic as it start one mailman process per message. if mailman would support the interface provided by postfix pipe(8), which separates multiple messages by a delimiter, it would scale much better.

@vigneshinfoavc
Copy link
Author

Hi,

Thanks for your help.

I have one more doubt, now I am trying to access through pop3. But this
time, I am getting new issues. Can you help me on this?

error:
I, [2015-04-17T16:56:52.542509 #12299] INFO -- : Mailman v0.7.2 started
I, [2015-04-17T16:56:52.542787 #12299] INFO -- : POP3 receiver enabled
(anil@roc.com@webmail.roc.com).
I, [2015-04-17T16:56:52.548712 #12299] INFO -- : Polling disabled.
Checking for messages once.
rake aborted!
IOError: POP session not yet started
/home/demo/.rvm/gems/ruby-2.1.2/gems/mailman-0.7.2/lib/mailman/receiver/pop3.rb:36:in
disconnect' /home/demo/.rvm/gems/ruby-2.1.2/gems/mailman-0.7.2/lib/mailman/application.rb:143:in ensure in block in polling_loop'
/home/demo/.rvm/gems/ruby-2.1.2/gems/mailman-0.7.2/lib/mailman/application.rb:143:in
block in polling_loop' /home/demo/.rvm/gems/ruby-2.1.2/gems/mailman-0.7.2/lib/mailman/application.rb:136:in loop'
/home/demo/.rvm/gems/ruby-2.1.2/gems/mailman-0.7.2/lib/mailman/application.rb:136:in
polling_loop' /home/demo/.rvm/gems/ruby-2.1.2/gems/mailman-0.7.2/lib/mailman/application.rb:87:in run'
/home/demo/.rvm/gems/ruby-2.1.2/gems/mailman-0.7.2/lib/mailman/application.rb:15:in
run' /home/demo/Downloads/Samplemail/lib/tasks/mail.rake:23:inblock (2 levels)
in <top (required)>'
/home/demo/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in eval' /home/demo/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in

'
SocketError: getaddrinfo: Name or service not known

Thanks&Regards,
Vignesh.T

On Fri, Apr 17, 2015 at 2:09 PM, Jörg Thalheim notifications@github.com
wrote:

mailman does not currently no support SMTP directly.
However as it is possible to read messages from stdin, you could use
postfix mailbox_command to receive emails:
http://www.postfix.org/postconf.5.html#mailbox_command

Note this might not scale well for high volume traffic as it start one
mailman process per message. if mailman would support the interface
provided by postfix pipe(8), which separates multiple messages by a
delimiter, it would scale much better.


Reply to this email directly or view it on GitHub
#123 (comment).

@vigneshinfoavc
Copy link
Author

Hi,

Please ignore my previous email. Because I resolved the issue. I have

one problem now. The mailman gem only reading first unread mail, but it's
not reading other unread mails. Is there any option to read all the unread
emails in inbox. Can you help me on this?

Thanks &Regards,
Vignesh.T

On Fri, Apr 17, 2015 at 4:58 PM, Vignesh Thangarasu <
vigneshinfoavc@gmail.com> wrote:

Hi,

Thanks for your help.

I have one more doubt, now I am trying to access through pop3. But this
time, I am getting new issues. Can you help me on this?

error:
I, [2015-04-17T16:56:52.542509 #12299] INFO -- : Mailman v0.7.2 started
I, [2015-04-17T16:56:52.542787 #12299] INFO -- : POP3 receiver enabled
(anil@roc.com@webmail.roc.com).
I, [2015-04-17T16:56:52.548712 #12299] INFO -- : Polling disabled.
Checking for messages once.
rake aborted!
IOError: POP session not yet started
/home/demo/.rvm/gems/ruby-2.1.2/gems/mailman-0.7.2/lib/mailman/receiver/pop3.rb:36:in
disconnect' /home/demo/.rvm/gems/ruby-2.1.2/gems/mailman-0.7.2/lib/mailman/application.rb:143:in ensure in block in polling_loop'
/home/demo/.rvm/gems/ruby-2.1.2/gems/mailman-0.7.2/lib/mailman/application.rb:143:in
block in polling_loop' /home/demo/.rvm/gems/ruby-2.1.2/gems/mailman-0.7.2/lib/mailman/application.rb:136:in loop'
/home/demo/.rvm/gems/ruby-2.1.2/gems/mailman-0.7.2/lib/mailman/application.rb:136:in
polling_loop' /home/demo/.rvm/gems/ruby-2.1.2/gems/mailman-0.7.2/lib/mailman/application.rb:87:in run'
/home/demo/.rvm/gems/ruby-2.1.2/gems/mailman-0.7.2/lib/mailman/application.rb:15:in
run' /home/demo/Downloads/Samplemail/lib/tasks/mail.rake:23:inblock (2
levels) in <top (required)>'
/home/demo/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in eval' /home/demo/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in

'
SocketError: getaddrinfo: Name or service not known

Thanks&Regards,
Vignesh.T

On Fri, Apr 17, 2015 at 2:09 PM, Jörg Thalheim notifications@github.com
wrote:

mailman does not currently no support SMTP directly.
However as it is possible to read messages from stdin, you could use
postfix mailbox_command to receive emails:
http://www.postfix.org/postconf.5.html#mailbox_command

Note this might not scale well for high volume traffic as it start one
mailman process per message. if mailman would support the interface
provided by postfix pipe(8), which separates multiple messages by a
delimiter, it would scale much better.


Reply to this email directly or view it on GitHub
#123 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants