Hey all,
I fixed the problem with being able to access the FQDN of the mail host via telnet from the command line by editing mynetworks to contain the name of the mail host:
mynetworks = 127.0.0.0/8 mail.exmaple.com
But it appears that mail IS making its way to the mail server, but being...
I've just built a postfix server in amazon EC2 with an elastic IP. And I found that while I can connect to and send emails to my mail server when I telnet to localhost when I telnet to the external FQDN I get relay denied.
I'll first demonstrate success, then failure.
root@mail:~# telnet...
Hello,
I have setup a new postfix sertver and when I send mail to the domain (crispycode.com) the mail will bounce. If I send to the mail host name (mail.crispycode.com) the mail is shown as delivered in the logs. However if you inspect the cur directory on the command line in the user's...
Hey NoWay!
Yes thank you again for all the effort you put into getting me past these hurdles and it paid off beautifully! I am very happy/satisfied with my mail server and enjoy using it.
And yes, JiffyCloud points to the zimbra server only. It's only a hobby project for my zimbra / postfix...
NoWay.. thank you for ALL of your incredible help!
Here is the happy result of all of OUR work!!!
http://jiffycloud.com/
Everything works great.. I can even send to and receive from yahoo, gmail even MS live. TLS/SSL Certs are working and I've never build a better mail serve!
Thanks again...
Sorry , my user add syntax was wrong.. I can't believe I didn't catch this earlier
my previous add syntax that I used as my mysql insert was:
INSERT INTO users (id,name,maildir,clear) VALUES
('bluethundr@newdom.com','Tim','bluethundr/',encrypt('myUserPass'));
The insert code now looks like...
Hi NoWay..
Sorry to ask this but I am truly stumped. I really need to figure out what is telling the database to cypt the clear field of the maildb when I add new entries to it. Whenever I add entries to the database it is apparent that the clear field is being crypted. The crypt field is...
Very useful info. Thank you!
Well I did a SELECT on the user table of the maildb and got a very interesting result...
mysql> SELECT id, name, clear, crypt FROM users;
+---------------------------+-----------------+---------------+---------------+
| id | name |...
Hello again!
And THANKS for getting me to this point and encouraging me to continue...
Well the good news is that I have a MAJOR success to report!
I was using an old flavor of Ubuntu to get this going in the hopes that I could more easily install a Zimbra interface as Zimbra is lagging...
ok I had another go at this today.
I noticed in my /usr/local/lib/courier-authlib/ that my libauthmysql.so and libauthmysql.so.0 files were missing with all the other module's support files present and accounted for.
So I went over to another machine that had these files and scp'd them over...
I noticed a couple of things..
It seems that my attempt to reinstall the authdaemon library rendered my authmysqlrc file blank. I refilled it out and restarted the relavant daemons. I next found that postfix was NOT finding libauthmysql.so
So I looked and lo and behold courier-auth-mysql was...
I ran a new telnet test this morning. SO CLOSE!!! :-)
[root@cloud1:~ ] #:telnet cloud1 143
Trying 127.0.0.1...
Connected to cloud1.newdom.com.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION]...
Hey again, NoWay!
Thanks for sticking with this process.
Well things are starting to look up for my little mail server!
Your mentioning that the amavis script was perl was an epiphany. I set a '$' in front of the scalar variable $cal_domains_acl. Good news bad news.
Bad news first...
Oh and one final update for this evening..
I implemented your amavis suggestions and am still getting some kind of parse error in 50-user:
[root@cloud1:/etc/amavis/conf.d ] #:/etc/init.d/amavis restart
Stopping amavisd: (not running).
Starting amavisd: Error in config file...
Thanks, NoWay! The project continues and I am looking forward to implementing your amavis suggestion.
Currently I am focusing on trying to get courier imap to authenticate. Would you mind having a look at this problem as well? You are a truly tremendous resource sir, and I thank you for your...
Amavis is apparently doing it's job however. I tried to send the system the eicar.com attachment and (thankfully) got this response...
msmtp: the server did not accept the mail
msmtp: server message...
Thanks for the tips!
I took your advice and tried moving amavis to a higher number.
I moved amavis from S19amavis to S75amavis in my current runlevel which is runlevel 4.
Before:
root@cloud1:/etc/rc4.d# ls
README S19postgrey S20courier-authdaemon S20getsshkey S20saslauthd S70pppd-dns...
Hi again, folks
I have decided to have a fresh start using Ubuntu Server 9.10 created by RightScale on the AWS cloud.
I have gotten farther than I did under CentOS due to the dearth of Red Hat-based packages for the components I need. Prior to my attempt to integrate Amavis with Postfix I...
Ah sorry for not taking a closer look at the logs before posting..
genuinely stupid of me...
I seem to have goofed in forgetting to start postfix before courier... now the courier daemon has been started and is listening on 25 and binding to 0.0.0.0
[root@cloud1 ~]# tail -f /var/log/maillog...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.