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...
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...
...against courier imap using a telnet session. It is abundantly clear that postfix and courier are simply not on speaking terms as of now.
*****************************************************
[root@cloud1:/etc/init.d ] #:telnet cloud1 143
Trying 127.0.0.1...
Connected to cloud1.newdom.com...
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...
...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 was sending *AND* receiving e-mail with impunity!
However, f I do a telnet test with Amavis enabled...
root@cloud1:~# telnet cloud1 25
Trying 127.0.0.1...
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.