Hi list,
OK, I have resolved almost all problems, now mailman seems to be OK,
postfix compiles "out-of-the-makefile" without any extra steps (but
you will need libdb-devel package installed on your host), it sends
the mails but still doesn't receive (therefore I can't test mailman
fully yet).
Here is what I see in the system log when I try to receive a message:
Dec 23 17:53:39 shulyaka mail.warn postfix/smtpd[1615]: warning:
209.85.214.180: hostname mail-iw0-f180.google.r.arpa verification
failed: Name or service not known
Dec 23 17:53:39 shulyaka mail.info postfix/smtpd[1615]: connect from
unknown[209.85.214.180]
Dec 23 17:53:40 shulyaka mail.crit postfix/smtpd[1615]: fatal: statfs
.: No such device
Dec 23 17:53:41 shulyaka mail.warn postfix/master[1324]: warning:
process /usr/libexec/postfix/smtpd pid 1615 exit status 1
Dec 23 17:53:41 shulyaka mail.warn postfix/master[1324]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
I'm still investigating it.
The makefiles are still not perfect, but it's almost my first attempt
at packaging, and postfix and mailman are not so trivial.
When I'm done I will perform any kind of stress tests,
CPU/memory/overheating measurements, etc.
2010/12/22 Denis Shulyaka :
> Hi,
>
> I've solved the postaliases problem, for some reason it doesn't want
> to work with 'hash' database types, but 'btree' types does work.
>
> 2010/12/21 Denis Shulyaka :
>> Hi!
>>
>> I want my router to run mailing lists and receive the email, but it
>> appears I have too little experience to make it myself alone.
>> Therefore I'm looking for community help.
>>
>> I have managed to prepare Makefiles and build packages for both
>> mailman and postfix but both still have some issues.
>> If anyone else is interested, below are the problems I have faced.
>> Note that you will need to have your rootfs on external storage device
>> as explained in the wiki because the size of packages is too big.
>> You can download my current makefiles for Trunk and ipk packages for
>> D-Link DIR-825 from http://shulyaka.org.ru/devel/ (the link now points
>> to the router BTW).
>>
>> Postfix:
>>
>> To compile postfix you need to compile it natively first for the host
>> you are building on, because it executes postconf binary while
>> installing. You need to modify Makefile and set correct path instead
>> of /home/denis/postfix/src/utils/postconf. I still have to figure it
>> out how to do it the right way.
>> The package builds and installs fine, I even was able to send a
>> message to one of my addresses, but however if I try to send it to
>> gmail, it rejects it:
>>
>> Dec 21 19:44:30 shulyaka mail.info postfix/smtp[6411]: 248C476C:
>> to=,
>> relay=gmail-smtp-in.l.google.com[74.125.77.27]:25, delay=5.7,
>> delays=4.2/0.04/0.47/0.96, dsn=5.7.1, status=bounced (host
>> gmail-smtp-in.l.google.com[74.125.77.27] said: 550-5.7.1 [1
>>
>> The bigger problem is that I cannot set mail aliases. newaliases
>> complains that there is no /etc/aliases, and if I create one, it
>> segfaults. Could you give me any hints?
>>
>> Mailman:
>>
>> To set up uhttpd server for mailman I have moved luci to another port
>> and added the following lines to /etc/config/uhttpd:
>>
>> config uhttpd mailman
>> list listen_http 0.0.0.0:80
>> option home /usr/local/mailman/web
>> option cgi_prefix /mailman
>> no_symlinks 0
>> The web interface now works good (check
>> http://shulyaka.org.ru/mailman/listinfo), but mailman doesn't seem to
>> send emails, there is nothing in the system log.
>>
>> BTW, is it safe enough to run mailman as root?
>>
>> Dear community, I need your help!
>>
>> Best regards,
>> Denis Shulyaka
>>
>
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel