![]() |
|
|
|||||||
| For more information about the ads and why they're here, please see the FAQ |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#21
|
|||
|
|||
|
I seem to be having a similar problem but im wondering if it is because i use multiple domains?
When in main.inc.php it says: // SMTP port (default is 25; 465 for SSL) $rcmail_config['smtp_port'] = 25; // SMTP username (if required) if you use %u as the username RoundCube // will use the current username for login $rcmail_config['smtp_user'] = '%u'; // SMTP password (if required) if you use %p as the password RoundCube // will use the current user's password for login $rcmail_config['smtp_pass'] = '%p'; and you have multiple domains setup by: // Automatically add this domain to user names for login // Only for IMAP servers that require full e-mail addresses for login // Specify an array with 'host' => 'domain' values to support multiple hosts $rcmail_config['username_domain'] = array('mail.domain1.net' => 'domain1.net','mail.domain2.com' => 'domain2.com'); // This domain will be used to form e-mail addresses of new users // Specify an array with 'host' => 'domain' values to support multiple hosts $rcmail_config['mail_domain'] = $rcmail_config['username_domain']; // Path to a virtuser table file to resolve user names and e-mail addresses $rcmail_config['virtuser_file'] = ''; // Query to resolve user names and e-mail addresses from the database // %u will be replaced with the current username for login. // The query should select the user's e-mail address as first col $rcmail_config['virtuser_query'] = ''; // use this host for sending mails. // to use SSL connection, set ssl://smtp.host.com // if left blank, the PHP mail() function is used $rcmail_config['smtp_server'] = 'mail.domain1.net'; Does the %u vaule have the domain you logged in with appened to it, i ask cos i think it might be causing my send to fail, reading mail is fine as is logging in. Any thoughts? Midnyte |
|
#22
|
|||
|
|||
|
if you found a problem like this, maybe you can this..
This behavior is coming from the following iptables which deny outgoing connections to port 25, to keep abused scripts and such from being able to send spam : ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:25 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 OWNER GID match 12 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 OWNER GID match 41 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 OWNER UID match 0 REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 reject-with icmp-port-unreachable and if you using WHM/cPanel You should be able to disable this, if desired, in WHM -> Tweak Security -> SMTP Tweak and disabling it. Cheers, Syao |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
| For more information about the ads and why they're here, please see the FAQ |