LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-20-2004, 09:37 PM   #1
htm
Member
 
Registered: Mar 2004
Posts: 162

Rep: Reputation: 30
mailman/sendmail problem


Folks,

How to judge my mailman is actually working?

Here is my configuration, I use my LAN's server instead of my remote
server, both server uses the same doman name, and different IP
addresses, it works well; now when I set up mailman at my LAN's
server, configue everything, and it web front functions properly,
now after I send a test email to my newly created list, I did not
see any pending mail in the admin menu, why?

I created a user name the same as my list name, if I do not do that,
it says user unknown, does that mean my mailman list does not work?

THx,
HTM
 
Old 04-21-2004, 12:48 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
As I suggested to you before when you were using qmail - did you create the alias to the mailman program or simply create a user?
 
Old 04-21-2004, 09:20 PM   #3
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
not qmail

I am using sendmail, and I did add lines at /etc/alias
 
Old 04-22-2004, 05:42 AM   #4
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
qrunner stops

My mailman still does not work, I changed /etc/aliases as
mailman: mailman
mailman-owner: my_user_name

(my list name is mailman, and I do set up a mailman account)

I send e test email to mailman@mydomain.com, suppose I expect
a pending message in the pending list, nothing I got in the list

I went to /var/www/html/mailman/logs, in qrunner, I gor the following info:

Apr 22 15:36:24 2004 (3056) OutgoingRunner qrunner caught SIGTERM. Stopping.
Apr 22 15:36:24 2004 (3057) VirginRunner qrunner caught SIGTERM. Stopping.
Apr 22 15:36:24 2004 (3064) RetryRunner qrunner caught SIGTERM. Stopping.

Both smtp and smtp-failure are clear

Thx,
HTM
~
~
 
Old 04-22-2004, 09:22 AM   #5
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
I retried it, and I still have the no mail pending in the pending list problem, here are log info
I got from ~/mailmain/logs:

mydomain is also my list name, and in my /etc/passwd I do have a user named
mydomain

qrunner log:
Apr 22 22:20:56 2004 (9731) post to mydomain from mydomain-request@mydomain.com, size=1701, message-id=<mailman.10.1082231387.21812.mydomain@mydomain.com>, 1 failures

smtp log:

Apr 22 22:20:56 2004 (9731) <mailman.10.1082231387.21812.mydomain@mydomain.com>
smtp for 1 recips, completed in 189.191 seconds

smtp-failure log:

Apr 22 22:20:56 2004 (9731) Low level smtp error: (110, 'Connection timed out'), msgid: <mailman.10.1082231387.21812.mydomain@mydomain.com>
Apr 22 22:20:56 2004 (9731) delivery to info@test_domain.com failed with code -1: (110, 'Connection timed out')

What is the problem here?

Thx,HTM
 
Old 04-22-2004, 09:45 AM   #6
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
I have a user name the same as my maling list alias name, will that be a problem?
If I delete the user name, and send a test email to list alias, I got a user unkown error.

Thx,
HTM

> As I suggested to you before when you were using qmail - did you create the alias to the mailman program or simply create a user?
 
Old 04-22-2004, 12:57 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
You are not needing to create a user - you need to create an alias that points to the mailamn script. I'm sure this is all covered in the readme files. It shouldn't matter if you have a user with the same name as mail to it will be delivered to the alias and not the local mailbox.
 
Old 04-22-2004, 08:17 PM   #8
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
How to? Is the floowing correct (from my revised /etc/aliases)

mailman: myclients
mailman-owner: my_email_addr

and after I ran newalises, send a test email to myclients@my_domain.com, it says
myclients user unkonwn, why?


> You need to create an alias that points to the mailamn script
 
Old 04-23-2004, 11:28 AM   #9
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
how to make mailman work?

Since my swiching my server from web hosting to my own place, I've made
almost everything work except mailmand and remote checking email through imap server,
may thx to many people in this forum.

Still the same question, why I create a list in mailman, set the alias, but Mozialla
says user unknown when I send out a test mail to mailing list?

Here is my log files under ~/mailman/logs:

Apr 24 00:33:17 2004 (24273) post to my_clients from my_clients-request@my_domain.com, size=1712, message-id=<mailman.1.1082693050.24370.my_clients@my_domain.com>, 1 failures

Apr 23 00:17:17 2004 (24273) delivery to farfromcrowded@yahoo.com failed with
code -1: (110, 'Connection timed out')
Apr 23 00:20:26 2004 (24273) Low level smtp error: (110, 'Connection timed out'), msgid: <mailman.0.1082692167.24190.mailman@my_domain.com>

Many thx,
HTM
 
Old 04-23-2004, 12:29 PM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
I'm still not sure what you mean by "myclients" - you need to pipe the messages into the mailman script - ie:
listname: "|/path/to/mailman post listname"

This is all covered in the documentation with Mailman. Don't forget to run "newaliases" after changing /etc/aliases
 
Old 04-24-2004, 07:40 AM   #11
htic22
LQ Newbie
 
Registered: Apr 2004
Posts: 29

Rep: Reputation: 15
myclients is my mailing list's alias name

How to pipe the messages into the mailman script?

Thx,
HTM

>I'm still not sure what you mean by "myclients" - you need to pipe the >messages into the mailman script - ie:
>listname: "|/path/to/mailman post listname"
 
Old 04-24-2004, 11:29 AM   #12
htic22
LQ Newbie
 
Registered: Apr 2004
Posts: 29

Rep: Reputation: 15
mailman remaining problem, no email received

I followed your suggestions, and made significant progress, now
I have pending emails, however, no subscriber can receive my test email.

here is a change in the aliases file, and I did do a newaliases;

# mailman aliases
#mailman: postmaster
#mailman-owner: mailman

clients: "| /var/www/html/mailman/mail/mailman post clients"
clients-admin: "| /var/www/html/mailman/mail/mailman admin clients"
clients-bounces: "| /var/www/html/mailman/mail/mailman bounces clients"
clients-confirm: "| /var/www/html/mailman/mail/mailman confirm clients"
clients-join: "| /var/www/html/mailman/mail/mailman join clients"
clients-leave: "| /var/www/html/mailman/mail/mailman leave clients"
clients-owner: "| /var/www/html/mailman/mail/mailman owner clients"
clients-request: "| /var/www/html/mailman/mail/mailman request clients"
clients-subscribe: "| /var/www/html/mailman/mail/mailman subscribe clients"
clients-unsubscribe: "| /var/www/html/mailman/mail/mailman unsubscribe clients"

send a test email from my_account@my_domain (as list_owner's email addr) to
clients@my_domain.com, I did see my email pending, after approving it, I did not
receive any message from any of my test accounts in the subscription list, why?

I check all log files, no error info, why?

Thx,
HTM
 
Old 04-24-2004, 02:30 PM   #13
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Does the message show up in the archives? You may need to enable them first.

Can you use that server to send to the clients addresses without using mailman? ie just standard e-mail.
 
Old 04-24-2004, 09:37 PM   #14
htic22
LQ Newbie
 
Registered: Apr 2004
Posts: 29

Rep: Reputation: 15
my mailman situation - close to up

Yes, I saw them in the archive, and I did enable them in the
pending list

I can send email through my mozilla's email client, but could
not send email at command line (both at my LAN's server),
my LAN's server has 2 cards, one hooks with the Internet, the
other is 192.168.0.1, currently I set SMTP server as
192.168.0.1, with 25 port open.

Why I cannot send email through command line? I remember I can do it
before. maybe if ifxing that, mailman should be up and run

Thx,
HTM

Last edited by htic22; 04-24-2004 at 10:01 PM.
 
Old 04-24-2004, 10:00 PM   #15
htic22
LQ Newbie
 
Registered: Apr 2004
Posts: 29

Rep: Reputation: 15
I tried to switch my SMTP server from 192.168.0.1 to
my real_IP, but find its 25 port is unable to reach

I am sure my remote serer's IP is a true Internnet IP (from 1 ISP),
however I am not sure another IP (from another ISP)
I use at my local LAN is not
a true Internet IP, since looks like I cannot control most of
aspects, like open and close specific ports? Mybe what they gave me is
not a true IP, but share with orthers? At my local LAN, I am using
VDSL for internet access, and I am using squid for internet sharing
inside my LAN

Thx,
HTM
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mailman and sendmail aliases integration cybershawngates Linux - Software 0 09-25-2004 01:39 PM
my sendmail/mailman headache htm Linux - Networking 4 05-13-2004 07:23 AM
mailman/sendmail pefroemance problem htic22 Linux - Software 2 04-27-2004 08:23 AM
Sendmail SMTP Auth and Mailman zippytwb Linux - Software 0 03-16-2004 10:11 PM
DNS & Bind, sendmail, Mailman, and Apache, is it all possible w/o a static IP? elmcitizen Linux - Newbie 1 02-29-2004 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration