Using Postfix As An SMTP Gateway
Nov 14, 2007
I have been trying to determine if I should use Postfix or Exim for our new SMTP gateway. My biggest obstacle is in trying to determine if Postfix can handle the processing as efficiently as Exim.
Basically we have hundreds of domains that will have email going through the gateway. I need to know if Postfix can be configured to perform different actions based on the recipient domain (i.e. block receipt of message or add a header and deliver). It looks like this functionality is handled by using a 3rd party tool like "amavisd".
The problem is that it looks like I have to wait for the DATA to be received before I can send the mail to the filtering tool rather than just waiting until the last RCPT command. It is also unclear as to whether the message will be denied during delivery with a 550 error being returned or whether the message is accepted and a postmaster message is sent. Obviously I would prefer the 550 error.
View 1 Replies
ADVERTISEMENT
Apr 2, 2009
I've been trying to set up Postfix to send email for the past few days. I've managed to get it to ask for a username and password, in order to try and send mail to an external domain
I can receive email fine on the server, but I can't send email out
Here is my main.cf file
Code:
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
unknown_local_recipient_reject_code = 550
mynetworks = 127.0.0.0/8 192.168.3.0/24
smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces permit_sasl_authenticated reject_unauth_destination
mynetworks_style = class
smtpd_sasl_auth_enable = yes
allow_untrusted_routing = yes
relay_domains =
smtpd_client_restrictions = permit_mynetworks permit_inet_interfaces
smtpd_sasl_application_name = smtpd
smtpd_sasl_local_domain = $mydomain
smtp_sasl_mechanism_filter = !plain, static:rest
broken_sasl_auth_clients = yes
smtp_sasl_mechanism_filter = login
myorigin = literatifoundation.org
mydomain = literatifoundation.org
myhostname = literatifoundation.org
mydestination = $myhostname, localhost.$mydomain, $mydomain
When I try to login to send the email, it doesn't accept the password.
View 0 Replies
View Related
Jun 17, 2014
I've a problem with a server with Postfix. Emails (smtp) are refused by an operator because there is too many mail sent in a few moment.
With Qmail, we make this config :
1) we create file concurrencyremote
# vi /var/qmail/control/concurrencyremote
with the value 3
2) we restart Qmail and it's ok
With Postfix, we make that :
1) we modify the file /etc/postfix/main.cf
default_destination_concurrency_limit = 3
2) In /etc/postfix/transport :
wanadoo.com slow ;
wanadoo.fr slow ;
orange.fr slow ;
orange.com slow ;
laposte.net slow ;
.wanadoo.com slow ;
.wanadoo.fr slow ;
.orange.fr slow ;
.orange.com slow ;
3) After :
#postmap /etc/postfix/transport
4) In /etc/postfix/master.cf :
slow unix - - n - 5 smtp -o syslog_name=postfix-slow -o smtp_destination_concurrency_limit=3 -o slow_destination_rate_delay=1
5) In /etc/postfix/main.cf :
slow_destination_recipient_limit = 20
slow_destination_concurrency_limit = 3
And we modify :
transport_maps = hash:/var/spool/postfix/plesk/transport, hash:/etc/postfix/transport
6) At the end :
# /etc/init.d/postfix reload
But it doesn't work. Operator "Orange" refused emails.
In maillog, we have :
dsn=4.3.0, status=deferred (mail transport unavailable)
View 3 Replies
View Related
Apr 21, 2008
Can i use Qmail or Sendmail or Postfix with WHM other than exim mail SMTP.
View 1 Replies
View Related
Nov 27, 2014
Plesk 11.5 Lunix
Centos 5.6
I am having problem sending email. Email from others came in but when sent from the server it does not arrived.
SMTP Server (Postfix) keep stopping...
View 11 Replies
View Related
Mar 7, 2015
The problem is, can not send mail via SMTP using popular scripts Opencart, SMF, Osclass. The problem was lapping Plesk 11.5 via 587 port. That was timeout connection or authorization error with the correct settings. Mail may be sent, sometimes not. No longer working than working. At the same time when working with e-mail clients(example, The Bat) work fine. In Plesk 12 same problem. Port 465 - e-mail clients(example, The Bat) work fine. But can not send mail via SMTP using popular scripts Opencart, SMF, Osclass. When using Cpanel with Exim - all work perfect. But the Plesk e-mail with Postfix - constant problems.
View 4 Replies
View Related
Jan 24, 2013
I have a new Plesk 11.0.9. #34 server with Centos 6.3 64bit.
I made a few changes in order to be PCI Compliant.
I created a domain and try to send email with no luck.
----------Maillog------------
Jan 24 16:01:28 server7 pop3d-ssl: Connection, ip=[::ffff:X.X.X.X]
Jan 24 16:01:34 server7 pop3d-ssl: IMAP connect from @ [::ffff:X.X.X.X]ERR: LOGIN FAILED, ip=[::ffff:X.X.X.X]
Jan 24 16:01:34 server7 pop3d-ssl: Unexpected SSL connection shutdown.
Jan 24 16:01:48 server7 pop3d-ssl: Connection, ip=[::ffff:X.X.X.X]
[Code] ....
As you can see from the logs, the pop/imap connection is successful. I login to webmail with the username/password successfully. I can't send from Outlook/thunderbird etc.
Tried to rebuild emails with /usr/local/psa/admin/sbin/mchk --with-spam but no luck.
View 15 Replies
View Related
Jul 10, 2015
After setting up a new server on Plesk12, I successfully ran some test mail outs using phpmailer using the SMTP server on this machine
However, there was an issue in creating new local mail accounts in plesk with an error message each time.
Investigating this issue led me to a solution that I should run mail_restore from the Plesk scripts
This cured the problem of setting up new local accounts but outgoing SMTP mail is always failing with 'relay access denied'.
View 1 Replies
View Related
Jul 2, 2014
My issue started ince a couple of months seemed to increase with update to Plesk 12.0 (though I can't guarantee it).I am using Centos 6.5, all updated. What happens is that postfix usage starts to increase without any apparent reason (during week-ends for example). Then postfix is not responding anymore.
Code:
top - 13:27:13 up 3 days, 18:44, 0 users, load average: 0.73, 0.33, 0.32
Tasks: 238 total, 2 running, 236 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.6%sy, 0.1%ni, 98.7%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 32917292k total, 8982212k used, 23935080k free, 1899416k buffers
Swap: 1046520k total, 0k used, 1046520k free, 4905884k cached
[code]....
View 1 Replies
View Related
Feb 21, 2007
setting up something that would run via php and then send SMS when its called to do so.
I would need a mobile line attached to the server and then I am a little lost.
Currently what I do is that I have my own monitoring script, then when somethings goes wrong, it emails to one of my email accounts and then it SMS me of the contents. But their service is not always reliable so was wanting to setup something on my own end.
View 10 Replies
View Related
Jul 21, 2008
My server in the datacenter has to migrate to new IPs. Is it feasible to add new ip and gateway and have that operating on eth0 -- doing it remotely?
The dc said I can have both IPs concurrently working for the next 10 days or so.
But, I'm still unsure if I can safely set the new ip and gateway on the server remotely.
Any help would be appreciated. Of course, I have logged a ticket to see if they will set my new primary ip from the console and all the virtual interfaces ...
But, would like to know for my own information if this process is doable remotely.
View 2 Replies
View Related
May 18, 2008
Some visitor of our hosted sited have "Getway Error"
Im attach this error,
View 4 Replies
View Related
May 12, 2007
I have signed up a new rack and the provider give me the following information:
Service IP address assigned:
Default Gateway: 10.0.0.193
Assigned WAN IP: 10.0.0.192/30
LAN IP Block: 172.16.0.192/27
*first three digits of IPs are changed.
In Windows 2003, I can use the LAN IP with Default Gateway and I can browse the net without problem (with warning though). But, when I configure the Cisco switch (2950), it didn't allow me to use gateway that is in different subnet. I have checked the LAN IP Block and it seems that all IPs in that subnet can be used. Could you teach me how to config the switch and the other servers?
View 5 Replies
View Related
Oct 1, 2007
im trying to setup a vps server on one of my dedicateds, (for personal use) ive got the vps running and os installed etc but i cannot for the life of me setup networking. i have 2 ips from my datacenter but they havent given me a default gateway ip and dont seem to know what one is so does anyone know how to get the default gateways ip for a ip (the ip i have is in the 66.79.185.xxx group )
View 10 Replies
View Related
Apr 10, 2009
What type of free email scanner gateway that you are using? I am using SA, Clam and Qmail. It's a little old and w/o the GUI for client to manage the settings.
I'm thinking to switch to something with GUI. Perhaps the combination of Exim, SA, Clam, MAilScanner and a GUI.
View 0 Replies
View Related
May 12, 2008
I'm doing a project for my school ( a small technical college) and we're trying to come up with some sort of wireless authentication gateway. This doesn't need to be locked down and super secure, this is a state run school with an open wifi network. Basically we want all wireless users to be forced to view a splash page/AUP and agree to it before being able to access the web.
couple issues:
-Super low budget, so enterprise solutions are pretty much out of the question
-must be as transparent as possible to the use: no MAC registering with the IT dept. no added software, no RADIUS certs etc.
-we have limited access to the actual router and all administration but be done by the upstream provider(including inter-vlan routing)
I've looked at NoCAT and really like it but because of the existing network topology its going to be hard to force all traffic through a central box for filtering/auth
What I'm wondering is if there is a way to do selective DNS poisoning to redirect all lookups to a web authentication server(similar to nocat's system). After a host is authenticated their DNS would resolve correctly. I know someone could just go out by IP or potentially use different DNS servers but we really aren't that concerned about it, all they have to do is click 'accept' anyway.
View 2 Replies
View Related
Dec 10, 2007
Does anyone have an expierence with remote access servers/gateways for providing VoIP and dial services? What would you recommend?
View 2 Replies
View Related
Jun 15, 2009
I've been battling with this issue for days now, and I'm sure the solution is simple, so hopefully someone can guide me.
Basically this is my server setup:
1) Tech Server
2) Server 1
3) Server 2
The tech server hosts the main company website, billing, etc. It is also used as the SSH gateway to get into the other servers. Server 1 and 2 host end user websites.
The tech server has an "id_dsa" key on it for the root user.
Server 1 and Server 2 have the public key in authorized_keys
I am able to access Server 1 and Server 2 from the tech server when logged in as "root". However - when signed in as a standard user (i.e. "nick") I am unable to use the id_dsa key to login to the remote servers.
I've tried setting the HostKey variable in the sshd_config file but that wasn't it. I also tried adding the "-i" command to my ssh command.
The only solution I found was to put the id_dsa file under each standard user account (i.e. copying it to /home/nick/.ssh) - however - that's not very secure.
In a nutshell - how do I get standard SSH users to be able to use the root id_dsa key without being able to view it
View 14 Replies
View Related
Dec 11, 2006
Several companies like Fast servers and the planet provide spam filtering mail gateways (Spirus/ Barracuda etc).
Are there any reliable affordable 3rd party services out there as well?
View 14 Replies
View Related
Apr 24, 2007
I have a Linux Server (CentOS 4.4) running, it has two network cards.
1. Onboard 100MBit (eth0), uses DHCP to obtain IP, this card is the only one that is able to connect to the internet.
IP: 192.168.1.13
Subnet: 255.255.255.0
Gateway: 192.168.1.1
Bcast: 192.168.1.255
2. PCI Gigabit card (eth1), uses static IP, and is connected to my Windows machines via a CROSSOVER cable.
IP: 192.168.2.2
Subnet: 255.255.255.0
Gateway: NONE
Bcast: 192.168.2.255
Before I installed the gigabit card all internet was working fine. However now i cannot even ping? here is some more info:
PHP Code:
[root@node home]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr
inet addr:192.168.1.13 Bcast:192.168.1.225 Mask:255.255.255.0
inet6 addr: fe80::213:20ff:fee9:69de/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:473 errors:0 dropped:0 overruns:0 frame:0
TX packets:462 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:60513 (59.0 KiB) TX bytes:497973 (486.3 KiB)
[root@node home]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::20c:76ff:fe7d:46/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15996232 errors:0 dropped:0 overruns:0 frame:0
TX packets:7250441 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1137563077 (1.0 GiB) TX bytes:437192485 (416.9 MiB)
Interrupt:177 Base address:0x2f00
[root@node home]# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.39.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
172.16.123.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
[root@node home]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.39.0 * 255.255.255.0 U 0 0 0 vmnet1
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
172.16.123.0 * 255.255.255.0 U 0 0 0 vmnet8
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
[root@node home]#
Im sure its just a few lines I need to change somewhere, just not sure where?
View 2 Replies
View Related
May 22, 2007
I'm getting a Gateway Server Appliance 5420.
512 MB RAM
2.0 GHz Celeron
40 GB HD
6 Ethernet Ports
LCD Front Display
and it's an appliance like the Cobalts but for security, however I was wondering if anyone knew of a way to just use it as a regular either windows headless server or linux server. Also does anyone know if it's possible to upgrade the processor? Maybe even a Xeon as I know all the other models come with Xeon Processors or do they actually use a seperate motherboard?
View 4 Replies
View Related
Oct 30, 2014
Today at 12.50 pm my (ubuntu 14.04.1 LTS) server running plesk 12.0.18 suddenly stopped serving websites. Any attempts to access a webpage on any vhost returned the 502 bad gateway using Nginx error messsage.When I looked at the nginx logs, I found messages like:
2014/10/30 14:48:00 [error] 3099#0: *101 connect() failed (111:
Connection refused) while connecting to upstream, client: m.m.m.m, server: , request: "GET /server-status HTTP/1.0", upstream: URL....
Restarting apache & nginx (/etc/init.d/apache2 restart & /etc/init.d/nginx restart) made no difference and I had to reboot to restore http access.
Strangely if I browsed with port 7080 specified (i.e. http://n.n.n.n:7080), this worked fine for all vhosts, so apache (which I believe is listening on this port while nginx listens on port 80) is working fine - nginx is just not able to pass stuff to it?
View 15 Replies
View Related
Jun 17, 2015
this is a fresh Plesk 12 installation on a Dedicated Server, on Debian 6. I haven't installed a License key yet.When i tried to run MIgration Manager, the loading was taking forever. Also, when i try to enter Webserver Configurations Troubleshooter, i get 502 Bad Gateway nginx error.In the /var/log/sw-cp-server/error_log i get this error:
Code:
2015/06/17 11:42:47 [error] 3918#0: *52 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: A.B.C.D, server: , request: "GET /modules/configurations-troubleshooter/index.php/index/list HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "X.X.X.X:8443", referrer: "https://X.X.X.X:8443/admin/module/list?context=modules"
When i try to insert a Plesk License, i also get this error:
Code:
2015/06/17 10:29:17 [error] 5643#0: *81 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: A.B.C.D., server: , request: "POST /server/
key_upload.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "X.X.X.X:8443", referrer: "https://X.X.X.X:8443/server/key_upload.php"
I followed this KB article 118757 but no luck. Also, the server resources are at the lowest usage and there is >2 TB disk space available.
View 2 Replies
View Related
Jun 23, 2015
We have a problem with a magento website. Often (perhaps when we use administration), we have the message "502 Bad Gateway nginx".
We have added server instructions in Plesk Nginx:
proxy_buffers 16 16k;
proxy_buffer_size 32k;
fastcgi_buffer_size 32k;
fastcgi_buffers 16 12k;
But we have still the problem.
We have tried :
[URL] ....
And
[URL] ....
Without results...
The log file say:
[client x.x.x.x] client denied by server configuration: /var/www/vhosts/domain.com/httpdocs/app/etc/local.xml
x.x.x.x is the website IP.
View 4 Replies
View Related
Oct 5, 2009
We are having some problems with a Foundry Bigiron 4000.
The hardware config is as following:
- Bigiron 4000 chassis
- 2x B8GMR3-A management (active + standby)
- 2x B24E
Once every couple of days now, we get the following error in syslog:
Code:
2009-10-05 20:40:00User.Warning8x.xx.50.1Oct 5 20:39:59 gateway IP: IP: Duplicate IP address 8x.xx.38.1 detected sent from MAC address 0004.d3ea.e200 interface 3/13, 1 packets, first packet received at time 1 days 20 hours 41 minutes 37 seconds since bootup!............
View 4 Replies
View Related
Jun 1, 2009
we have two servers; webserver and database server connected directly to each other via a standard cat6 cross-over cable. I am setting up their static IP's and have a few questions.
Both are running windows 2003. I went and setup the static ip's as follows:
[webserver]
IP: 192.168.200.1
SUBNET MASK: 255.255.255.0
GATEWAY: {blank}
DNS1: {blank}
DNS2: {blank}
[database server]
IP: 192.168.200.2
SUBNET MASK: 255.255.255.0
GATEWAY: {blank}
DNS1: {blank}
DNS2: {blank}
So DNS being blank is fine since there is no need for DNS, all communication is local (no internet). But should the gateway address be blank?
View 6 Replies
View Related
Dec 4, 2008
Does anybody know of any open source Anti Spam gateway for mail servers? I have used MailCleaner and know how it works. Is there any other available?
View 3 Replies
View Related
Jul 2, 2014
When i open the page i get the error: "502 Bad Gateway"with strace i get the following error:
Code:
connect(14, {sa_family=AF_FILE, path="/var/run/mysqld/mysqld.sock"}, 110) = 0
setsockopt(14, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation not supported)
setsockopt(14, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
System: Debian 7.5
Mysql: 5.6.19
Plesk: 12.0.18
View 6 Replies
View Related
Aug 18, 2014
I have upgraded from 10 to 12 and now I have "502 Bad Gateway nginx" error. I have atached logas..
View 1 Replies
View Related